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!
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’23
Reply to Getting Raw Gyroscope Events not working in WatchOS 9.1
Hi Ramesh, did you get a response? Or did you manage to solve the issue? In a similar situation, I question all sensor's availability, and Gyroscope and Magnetometer reports are false. However, using the app "Sensor-App" from the app store, clearly, the gyro information is available. Looking forward to hearing from you.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to I cannot get gyroscope data from apple watch series 7
Hi, did you solve the issue? I am is same situation. the watch gives gyroscope not available. Thanks.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
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!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Simulator device returned an error for the requested operation
Solved. after several attempts, I restarted and did not add the info.plist manually.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Unable to install "SwingMonitor"
Solved after several attempts and re-building from scratch.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Get device height with centimeter precision
Hi, have you solve it? I am using similar data for different applicable, but I notice the drift caused by the noise in the sensing data. How did you solve that issue?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Oct ’23