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)
115
+
DELETE DOCUMENT:C159($target)// just to be sure that zip works and we can fetch errors
116
+
End if
117
+
$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)
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.
24
+
If unclear, read Apple docu above!
25
+
26
+
########### NOTES
27
+
you might need to start Xcode once manually after every macOS update to accept Xcode changes
28
+
you might need to start Xcode to accept Apple contract changes or update expired certificates (visit developer.apple.com)
29
+
*/
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()// $1 could be path to settings, if you have other than default ones
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 and wait for Apple's approval...")
52
+
$error:=$builder.Notarize($target)// returned by zip
53
+
End if
54
+
55
+
If ($error.success=True:C214)
56
+
$error:=$builder.Staple($target)
57
+
End if
58
+
59
+
Progress QUIT($progress)
60
+
61
+
62
+
If ($error.success=False:C215)
63
+
ALERT:C41(JSON Stringify:C1217($error; *))
64
+
SET TEXT TO PASTEBOARD:C523(JSON Stringify:C1217($error; *))
0 commit comments