mirror of
https://github.com/libretro/RetroArch
synced 2025-02-23 06:41:04 +00:00
update iOS build script
1. Provides for better support of passing in the NOCODESIGN env var to NOT codesign the build 2. Will once again codesign all of the dylibs in the modules directory (wildcard paths passed to codesign broke in some update to Xcode)
This commit is contained in:
parent
013a2cdb8d
commit
8519015250
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
@ -9,11 +9,17 @@ rm -rf build
|
||||
|
||||
xcodebuild -verbose -sdk iphoneos -configuration Release
|
||||
|
||||
if ! $nocodesign ; then
|
||||
codesign -fs "$CODE_SIGN_IDENTITY" "$BUILD_PATH/RetroArch.app/modules/*.dylib"
|
||||
if [ -z "$NOCODESIGN" ] ; then
|
||||
echo "CODESIGNING DYNAMIC LIBRARIES AND BUILDING IPA"
|
||||
|
||||
for file in $(find "$BUILD_PATH/RetroArch.app/modules/" -name "*.dylib") ; do
|
||||
codesign -fs "$CODE_SIGN_IDENTITY" "$file"
|
||||
done
|
||||
|
||||
xcrun -sdk iphoneos PackageApplication "$BUILD_PATH/RetroArch.app" -o "$BUILD_PATH/RetroArch.ipa" --sign "$CODE_SIGN_IDENTITY" --embed "$PROVISIONING"
|
||||
else
|
||||
echo "Building for Jailbroken system"
|
||||
fi
|
||||
|
||||
|
||||
echo "######### RetroArch build Complete!! #########"
|
||||
echo "You can find the resulting app in the $BUILD_PATH directory.\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user