#Trouble with cyhanging deployment target to iOS 18

17 messages · Page 1 of 1 (latest)

main bear
#

Hi everyone,

I opened my Tauri generated iOS project on Xcode to change the deployment target to iOS 18, but Tauri isn't too happy about it.

This is the file I opened: app/src-tauri/gen/apple/travelapp.xcodeproj/project.pbxproj

After I did this, I ran tauri ios dev --force-ip-prompt iPhone15 and got the following error:

** BUILD FAILED **


The following build commands failed:
        Building workspace travelapp with scheme travelapp_iOS and configuration debug
(1 failure)
command ["xcodebuild"] exited with code 65
    Error command ["xcodebuild"] exited with code 65
error: script "dev:sim" exited with code 1

Xcode suggests updating some configurations when changing the deployment target, but the error remains the same in both cases.

I also ran tauri ios init to generate a new project file, and then change the deployment target, but that didn't work either.

What's the proper way to change the deployment target and have the iOS app work properly. Thanks

celest sage
#

probably doesn't help but worth a try

main bear
#

That didn't make a difference at all

celest sage
#

do you see any more error messages or really just the part you posted (which doesn't really say anything)

main bear
main bear
#

@celest sage would appreciate your help here. This is issue is blocking me from making builds altogether, even without trying to change the deployment target version

celest sage
#

i'm not too familiar with the ios toolchain so i'm not sure i can be of that much help atm

#

does this also happen with a fresh create-tauri-app project?

#

i hate the suggestion but maybe also try re-installing xcode?

main bear
#

@celest sage this appears to be an Xcode problem that's now affecting Tauri ios apps as well. Flutter has some workarounds, but I'm not sure how they translate to Tauri ios apps https://github.com/flutter/flutter/issues/166367

GitHub

Steps to reproduce flutter build ipa any app which builds / runs without any problem on iOS. Upload the .ipa-file to App Store Connect with the Transporter-App on Mac. The build will get declined a...

main bear
#

@celest sage i'm also new to ios development, so apologies for my simple question. Does Tauri generate an .ipa file that it sends to apple? The current workaround is to target this ipa file to change something in it before throwing it to apple for validation. Does Tauri's cli tools allow for accessing this ipa file?

celest sage
#

(except for notarization but that doesn't seem to be involved here)

main bear
#

where is this ipa file generated? The docs on tauri ios build are a kinda small and tauri ios help doesn't say much @celest sage