From 56c1a5e0f1cebf39b2392c1495e19ef9ed434553 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Mon, 25 Mar 2013 11:44:00 -0400 Subject: [PATCH] build the ios app * import the build config * clean the build * build the app * codesign the emulator core dynamic libraries * package the app into an IPA with the preferenced mobile provisioning --- ios/script/build_app | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 ios/script/build_app diff --git a/ios/script/build_app b/ios/script/build_app new file mode 100755 index 0000000000..e0348337fa --- /dev/null +++ b/ios/script/build_app @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +. script/build.config + +xcodebuild clean +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" + +xcrun -sdk iphoneos PackageApplication "$BUILD_PATH/RetroArch.app" -o "$BUILD_PATH/RetroArch.ipa" --sign "$CODE_SIGN_IDENTITY" --embed "$PROVISIONING"