Post

Replies

Boosts

Views

Activity

Comment on Build warning after migrating watchOS project to single target in Xcode 14
After a bit more testing, the build only succeeds if I FIRST build for watchOS, and SECOND for iOS. Otherwise, iOS build returns the error: .../Xcode/DerivedData/AppName-dgsfediuxlxwolgiudftjdxvvemi/Build/Products/Debug-watchos/AppNameWatch.app: No such file or directory. I suspect this is related to how the iOS and watchOS targets are related to each other. Building for a physical iOS device fails every time.
Sep ’22
Comment on Build warning after migrating watchOS project to single target in Xcode 14
Thank you for the tip. The Info.plist did indeed contain a reference to NSExtension. However, having deleted it, I now get the following build error: Couldn't load Info dictionary for DVTFilePath:0x6000000b42a0:'/Users/userName/Library/Developer/Xcode/DerivedData/appName-dgsfediuxlxwolgiudftjdxvvemi/Build/Products/Debug-iphonesimulator/appName.app/Watch/appName.app' Deleting derived data did not fix this error.
Sep ’22