Followed the instructions found here: https://developer.apple.com/documentation/watchos-apps/creating-independent-watchos-apps#Convert-a-dependent-watchOS-app-to-an-independent-watchOS-app
Background:
- We've created our project as a watchOS app with a companion iOS app. Since then, our requirements have changed and the watch app is functionally independent.
- We now wish to release just the watchOS app to the app store as the iOS app is not really needed.
- We would like to add back the iOS app separately later on, but for now we just want to figure out whats going on with the watch app itself.
Problem:
- We keep running into this particular error:
The WatchKit app's Info.plist must have a WKCompanionAppBundleIdentifier key set to the bundle identifier of the companion app.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402652971
Sanity Checks:
- We have checked the
runs without iOS appoption - We have removed the iOS app folder and removed it from the list of targets
- We have also removed the
wkcompanionappbundleidentifierkey from the watch app'sinfo.plist
Stack:
- SwiftUI
- Swift 5
- Xcode 14.2
Any help on this would be amazing, thank you!