From 59c7da7d672561ebdc76d1d2ea2d9cc1c1f2e20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 11 Oct 2026 16:25:22 +0200 Subject: [PATCH] iOS: Take the sideload app from the archive in b-ios.sh Now that sideload builds share the App Store install settings (SKIP_INSTALL NO), archiving moves the app into the xcarchive and leaves nothing in Release-iphoneos. Co-Authored-By: Claude Opus 5.5 --- b-ios.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/b-ios.sh b/b-ios.sh index afe8abdecc..6da0201df6 100755 --- a/b-ios.sh +++ b/b-ios.sh @@ -40,8 +40,11 @@ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/ios.cmake -GXcode .. xcodebuild -project PPSSPP.xcodeproj -scheme PPSSPP -sdk iphoneos -configuration Release -quiet clean build archive -archivePath ./build/PPSSPP.xcarchive CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO #CODE_SIGN_IDENTITY="iPhone Distribution: Your NAME / Company (TeamID)" #PROVISIONING_PROFILE="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # Export IPA file from xcarchive (probably only works with signed build) #xcodebuild -exportArchive -archivePath ./build/PPSSPP.xcarchive -exportPath ./build -exportOptionsPlist exportOptions.plist -# This folder only exist when building with xcodebuild -if [ -e Release-iphoneos ]; then +# Archiving installs the app into the archive (SKIP_INSTALL is NO), leaving no app in Release-iphoneos. +if [ -e build/PPSSPP.xcarchive/Products/Applications/PPSSPP.app ]; then + mkdir -p PPSSPP.app + cp -Rfa build/PPSSPP.xcarchive/Products/Applications/PPSSPP.app/. PPSSPP.app/ +elif [ -e Release-iphoneos ]; then # It seems there is an existing (from ccache?) PPSSPP.app symlink, so we copy & overwrites the content instead of the symlink, to the same location with what make use. mkdir -p PPSSPP.app cp -Rfa Release-iphoneos/PPSSPP.app/. PPSSPP.app/