Post

Replies

Boosts

Views

Activity

Reply to Simulator device returned an error for the requested operation
Hi, many thanks for the info. The situation is this: both iOS and watchOS app have the following two items in info tab Bundle version: $(CURRENT_PROJECT_VERSION) Bundle version string (short): $(MARKETING_VERSION) in the Build setting, both iOS and watchOS app have the following two items: Current Project Version: 1 Marketing Version: 1.0.1 Generate info.plist File: Yes Therefore in the info.plist file in the watch app (manually created), i have added: CFBundleVersion: 1.0.1 CFBundleVersionShort: 1 The error is still there, and the details are: Simulator device returned an error for the requested operation. Domain: NSPOSIXErrorDomain Code: 22 Failure Reason: The application's Info.plist does not contain a valid CFBundleVersion. Recovery Suggestion: Ensure your bundle contains a valid CFBundleVersion. I have noticed that in the DerivedData folder, there is an info.plist file, but the content is totally different from the one in the watchOS app... is that a problem? Many thanks!
Oct ’23