mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
* 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
16 lines
476 B
Bash
Executable File
16 lines
476 B
Bash
Executable File
#!/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"
|