Can no longer validate App in Xcode16.3
I have built an app using Xcode that calls on a couple of packages and now includes llama.xcframework (created from a .sh script that uses cmake, xcrun and xcbuild), instead of an earlier packaged version. The app builds and runs as expected. However, when an Archive is created, neither Validate App or Distribute App will work. The following error returned is...
Failed Platform Validation "MyAppName" requires the "iPhoneOS" platform to be installed.
Things I have tried:
- Running the latest Xcode 16.3
- Checked that the iPhoneOS platform is installed under /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
- Confirmed that the project's build settings look correct for Target:
- General - Destination for iPad and Mac(designed for iPad) = iOS
- General - Min deployment iOS = 18
- Build Settings - Targeted Device Families = iPad
- Build Settings - Build Active Architecture Only and Build Active Resources Only = NO
The .sh script builds the iPhoneOS and iPhoneSimulator slices with Device Family set to 2 (iPad). It is modified from the GitHub version of llama.cpp's build-xcframework.sh
Mac mini