Use xcode 11.2 and attempt to notarize the .app

This commit is contained in:
Jean-André Santoni 2019-11-05 08:45:39 +07:00
parent e49d505254
commit 2a7b76249c
No known key found for this signature in database
GPG Key ID: 9D694E373914CC36

View File

@ -63,7 +63,7 @@ matrix:
script:
- xcodebuild -target RetroArch -configuration Release -project pkg/apple/RetroArch.xcodeproj
- os: osx
osx_image: xcode10.1
osx_image: xcode11.2
script:
- brew update-reset
- brew install --force-bottle qt5
@ -75,6 +75,13 @@ matrix:
- rm dev.p12
- security set-key-partition-list -S "apple-tool:,apple:,codesign:" -s -k travis build.keychain
- xcodebuild -target RetroArchQt -configuration Release -project pkg/apple/RetroArch_Metal.xcodeproj
- codesign --force --verbose --timestamp --sign "7069CC8A4AE9AFF0493CC539BBA4FA345F0A668B" pkg/apple/build/Release/RetroArch.app/Contents/MacOS/RetroArch
- codesign --force --verbose --timestamp --sign "7069CC8A4AE9AFF0493CC539BBA4FA345F0A668B" pkg/apple/build/Release/RetroArch.app
- REQUESTUUID=$(xcrun altool --notarize-app -t osx -f pkg/apple/build/Release/RetroArch.app --primary-bundle-id libretro.RetroArch -u $APPLE_ID -p $APPLE_ID_PASS -itc_provider ZE9XE938Z2 | awk '/RequestUUID/ { print $NF; }')
- sleep 100
- xcrun altool --notarization-info $REQUESTUUID -u $APPLE_ID -p $APPLE_ID_PASS -ascprovider ZE9XE938Z2
- xcrun stapler staple pkg/apple/build/Release/RetroArch.app
- xcrun stapler validate pkg/apple/build/Release/RetroArch.app
deploy:
skip_cleanup: true
provider: script