I’ve gone through the documentation, following the steps for installation and app creation, but every time I try to build, I get at least one error, sometimes more. I’ve noticed at least one step eft out of the docs – adding a developer team in Signing and Capabilities in Xcode. I’ve also noticed that building for ios from the terminal fails because the default configuration it tries to use is { platform:iOS Simulator, OS:latest, name:iPhone SE (3rd generation) }, and it results in the error Unable to find a device matching the provided destination specifier. However, I can fix that by specifying the destination with the –buildFlag (or building in Xcode).
The one error that keeps happening when building in terminal is this one (which I get when building with –verbose):
Command failed with exit code 65: xcodebuild -workspace App.xcworkspace -scheme App -configuration Debug -sdk iphonesimulator -destination platform=iOS Simulator,name=iPhone 17 build
Error: Command failed with exit code 65: xcodebuild -workspace App.xcworkspace -scheme App -configuration Debug -sdk iphonesimulator -destination platform=iOS Simulator,name=iPhone 17 build
at makeError (/Users/[my project path]/node_modules/cordova-ios/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/[my project path]/node_modules/cordova-ios/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Promise.all (index 0)
(I removed my path from the code above) What is causing this??
And the latest errors I’m getting when trying to build in Xcode are these:
/Users/[path to my project]/platforms/ios/App/Assets.xcassets: Failed to read file attributes for "/Users/[path to my project]/starvoyage/platforms/ios/App/Assets.xcassets"
/Users/[path to my project]/platforms/ios/App/Assets.xcassets: None of the input catalogs contained a matching stickers icon set, app icon set, or icon stack named "AppIcon".
No idea what these are either. FWIW, I’m not experienced with Xcode (or Cordova for that matter), so really not sure what I’m doing. It really seems like the Cordova docs for starting out are not complete or updated.