Update apple/script/build

This commit is contained in:
twinaphex 2014-10-01 20:50:18 +02:00
parent 43c9948087
commit a0497ac50e

View File

@ -4,7 +4,7 @@ set -e
. script/build.config
PROJECT_NAME="RetroArch_iOS.xcodeproj"
PROJECT_NAME="ios/RetroArch_iOS.xcodeproj"
xcodebuild clean -project $PROJECT_NAME
rm -rf build
@ -19,7 +19,7 @@ if [ -z "$NOCODESIGN" ] ; then
xcodebuild -verbose -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="${CODE_SIGN_IDENTITY}" PROVISIONING_PROFILE="$PROVISION_UUID" -project $PROJECT_NAME
echo "CODESIGNING DYNAMIC LIBRARIES AND BUILDING IPA"
codesign -fs "$CODE_SIGN_IDENTITY" $BUILD_PATH/RetroArch.app/iOS/modules/*.dylib
codesign -fs "$CODE_SIGN_IDENTITY" $BUILD_PATH/RetroArch.app/modules/*.dylib
xcrun -sdk iphoneos PackageApplication "$BUILD_PATH/RetroArch.app" -o "$BUILD_PATH/RetroArch.ipa" --sign "$CODE_SIGN_IDENTITY" --embed "$BUILD_PATH/RetroArch.app/embedded.mobileprovision"
else