From 8d30aba4d7d2ffb1175b139dde94490a53b95020 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Mon, 25 Mar 2013 12:29:46 -0400 Subject: [PATCH] give the ability to disable codesigning so this build stack can hopefully be helpful to jailbreak distroing too --- ios/script/build_app | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ios/script/build_app b/ios/script/build_app index e0348337fa..f403f0586c 100755 --- a/ios/script/build_app +++ b/ios/script/build_app @@ -9,7 +9,9 @@ rm -rf build xcodebuild -verbose -sdk iphoneos -configuration Release -codesign -fs "$CODE_SIGN_IDENTITY" "$BUILD_PATH/RetroArch.app/modules/snes9x_next_libretro.dylib" -codesign -fs "$CODE_SIGN_IDENTITY" "$BUILD_PATH/RetroArch.app/modules/nestopia_libretro.dylib" +if ! $nocodesign ; then + codesign -fs "$CODE_SIGN_IDENTITY" "$BUILD_PATH/RetroArch.app/modules/snes9x_next_libretro.dylib" + codesign -fs "$CODE_SIGN_IDENTITY" "$BUILD_PATH/RetroArch.app/modules/nestopia_libretro.dylib" -xcrun -sdk iphoneos PackageApplication "$BUILD_PATH/RetroArch.app" -o "$BUILD_PATH/RetroArch.ipa" --sign "$CODE_SIGN_IDENTITY" --embed "$PROVISIONING" + xcrun -sdk iphoneos PackageApplication "$BUILD_PATH/RetroArch.app" -o "$BUILD_PATH/RetroArch.ipa" --sign "$CODE_SIGN_IDENTITY" --embed "$PROVISIONING" +fi