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 <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-11 16:25:22 +02:00
1 parent 81efd601f0
commit 59c7da7d67
1 file changed
+5 -2
+5 -2
View File
@@ -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/