Skip to content

Commit

Permalink
AdHoc codesign builds to enable running on Apple Silicon (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
agologan committed Jul 8, 2021
1 parent 49195af commit 5cb16aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ARTIFACT="WebViewScreenSaver.saver.zip"

pushd "$PRJ_DIR"
xcodebuild -project WebViewScreenSaver.xcodeproj -scheme WebViewScreenSaver -configuration Release clean archive -archivePath "$BUILD_DIR/build.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
codesign --sign - --force "$(find "$BUILD_DIR" -iname "*.saver")"

ln -s "$(find "$BUILD_DIR" -iname "*.saver")" "$PKG_DIR"
rm -f "../$ARTIFACT"
Expand Down

0 comments on commit 5cb16aa

Please sign in to comment.