Environment:
Issue:
When running the iOS app from Xcode, I get:
'swiftbuild': Invalid manifest (compiled with: [...])
unable to load standard library for target 'arm64-apple-macosx14.0'
using sysroot for 'iPhoneSimulator' but targeting 'MacOSX'
Observation:
If I first run the Gradle task manually:
./gradlew :starter:native:bindings:swiftklibSwiftBindingsIosSimulatorArm64 --info
then Xcode runs the app successfully.
This needs to be repeated after restarting Xcode — otherwise, the same error occurs.
Notes:
- Happens only when launching directly from Xcode
- Seems like a plugin/environment sync issue between Xcode and the Gradle SwiftKLib task