|
@@ -130,7 +130,6 @@ ifdef ARCH_MAC |
|
|
# This will only work if you have the private key to my certificate |
|
|
# This will only work if you have the private key to my certificate |
|
|
codesign --verbose --sign "Developer ID Application: Andrew Belt (VRF26934X5)" --options runtime --entitlements Entitlements.plist --deep dist/$(TARGET).app |
|
|
codesign --verbose --sign "Developer ID Application: Andrew Belt (VRF26934X5)" --options runtime --entitlements Entitlements.plist --deep dist/$(TARGET).app |
|
|
codesign --verify --deep --strict --verbose=2 dist/$(TARGET).app |
|
|
codesign --verify --deep --strict --verbose=2 dist/$(TARGET).app |
|
|
# spctl --assess --type execute --ignore-cache --no-cache -vv dist/$(TARGET).app |
|
|
|
|
|
# Make ZIP |
|
|
# Make ZIP |
|
|
cd dist && zip -q -9 -r Rack-$(VERSION)-$(ARCH).zip $(TARGET).app |
|
|
cd dist && zip -q -9 -r Rack-$(VERSION)-$(ARCH).zip $(TARGET).app |
|
|
endif |
|
|
endif |
|
@@ -171,6 +170,7 @@ ifdef ARCH_MAC |
|
|
xcrun altool --notarize-app -f dist/Rack-$(VERSION)-$(ARCH).zip --primary-bundle-id=com.vcvrack.rack -u "andrewpbelt@gmail.com" -p @keychain:notarize --output-format xml > dist/UploadInfo.plist |
|
|
xcrun altool --notarize-app -f dist/Rack-$(VERSION)-$(ARCH).zip --primary-bundle-id=com.vcvrack.rack -u "andrewpbelt@gmail.com" -p @keychain:notarize --output-format xml > dist/UploadInfo.plist |
|
|
# Wait for Apple's servers to approve the app |
|
|
# Wait for Apple's servers to approve the app |
|
|
while true; do \ |
|
|
while true; do \ |
|
|
|
|
|
echo "Waiting on Apple servers..." ; \ |
|
|
xcrun altool --notarization-info `/usr/libexec/PlistBuddy -c "Print :notarization-upload:RequestUUID" dist/UploadInfo.plist` -u "andrewpbelt@gmail.com" -p @keychain:notarize --output-format xml > dist/RequestInfo.plist ; \ |
|
|
xcrun altool --notarization-info `/usr/libexec/PlistBuddy -c "Print :notarization-upload:RequestUUID" dist/UploadInfo.plist` -u "andrewpbelt@gmail.com" -p @keychain:notarize --output-format xml > dist/RequestInfo.plist ; \ |
|
|
if [ "`/usr/libexec/PlistBuddy -c "Print :notarization-info:Status" dist/RequestInfo.plist`" != "in progress" ]; then \ |
|
|
if [ "`/usr/libexec/PlistBuddy -c "Print :notarization-info:Status" dist/RequestInfo.plist`" != "in progress" ]; then \ |
|
|
break ; \ |
|
|
break ; \ |
|
|