You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If (Test path name:C476($target)=Is a document:K24:1)
98
+
DELETE DOCUMENT:C159($target)// just to be sure that zip works and we can fetch errors
99
+
End if
100
+
$cmd:="/usr/bin/ditto -c -k --keepParent "+Char:C90(34)+Convert path system to POSIX:C1106($source)+Char:C90(34)+" "+Char:C90(34)+Convert path system to POSIX:C1106($target)+Char:C90(34)
in case you have several xcode, select the 'good' one with
11
+
###########
12
+
sudo xcode-select -s /path/to/Xcode10.app
13
+
Tested with XCode 12
14
+
Run XCode at least once manual to make sure it is correctly installed and license is accepted.
15
+
After an XCode/System update another manual run might be necesssary to accept modified license.
16
+
17
+
###########
18
+
expects that you have installed your password in keychain named "altool" with:
19
+
security add-generic-password -a "<apple_id>" -w "<password>" -s "altool"
20
+
Sign in to your Apple ID account page. In the Security section, click the “Generate Password” option below the “App-Specific Passwords” option, enter a password label as requested and click the “Create” button.
21
+
If unclear, read blog!
22
+
23
+
########### NOTES
24
+
you might need to start Xcode once manually after every macOS update to accept Xcode changes
25
+
you might need to start Xcode to accept Apple contract changes or update expired certificates (visit developer.apple.com)
26
+
*/
27
+
28
+
$appleUserID:="Thomas.Maul"+Char:C90(64)+"4D.com"// I don't like my email on github in clear text
29
+
$bundleID:="FileTransfer.de.4D.com"
30
+
31
+
var$builder : cs:C1710._Build
32
+
33
+
$builder:=cs:C1710._Build.new()
34
+
35
+
$progress:=Progress New
36
+
Progress SET MESSAGE($progress; "Compile...")
37
+
38
+
$error:=$builder.Compile()
39
+
If ($error.success=True:C214)
40
+
Progress SET MESSAGE($progress; "Build...")
41
+
$error:=$builder.Build()
42
+
End if
43
+
44
+
If ($error.success=True:C214)
45
+
Progress SET MESSAGE($progress; "Zip...")
46
+
$error:=$builder.Zip()
47
+
End if
48
+
49
+
If ($error.success=True:C214)
50
+
$target:=$error.target
51
+
Progress SET MESSAGE($progress; "Notarize...")
52
+
$error:=$builder.Notarize($target; $appleUserID; $bundleID)// returned by zip
0 commit comments