I've been trying to run npm run tauri ios dev --force-ip-prompt as mentioned in the documentation. However, I keep getting this error:
2025-02-04 21:46:32.321 xcodebuild[15442:293843] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 268. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2025-02-04 21:46:32.322 xcodebuild[15442:293843] Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0., NSJSONSerializationErrorIndex=0}
2025-02-04 21:46:32.322 xcodebuild[15442:293843] Writing error result bundle to /var/folders/w6/bd07dfn140zbfyj_3ykfvhfc0000gn/T/ResultBundle_2025-04-02_21-46-0032.xcresult
xcodebuild: error: Unable to load workspace '/Users/<USER>/repos/<APP_NAME>/src-tauri/gen/apple/<APP_NAME>.xcodeproj/project.xcworkspace/'.
Reason: The project ‘<APP_NAME>’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.
Is there anything that I can do to resolve this? Just as a heads up, I did the following in order to make it this far:
- Follow advice to update where xcode points
- Follow advice for adding a certificate for local iOS development
I'm hoping/assuming those actions didn't break anything. For additional context, here's line 268 of project.pbxproj:
DEVELOPMENT_TEAM = **** ****;
I tried surrounding **** **** with quotation marks ("), but Tauri automatically removes them whenever I run npm run tauri ios dev. Not sure if that's the fix anyway.