Post

Replies

Boosts

Views

Activity

Xcode 14.3 Reports Developer Mode Disabled, but it is enabled
I'm trying to run my app on my Apple Watch. But Xcode reports that Developer Mode on my iPhone is disabled. However, it is not. I've tried toggling Developer Mode, restarting my devices, restarting Xcode, restarting my computer and unpairing my phone from Xcode and repairing it. Nothing seems to work. It just always reports Developer Mode is disabled. Is there anyway to get Xcode to see that the developer mode is not disabled.
0
0
368
Apr ’23
Need help adding a complication to an existing watchOS app
I have an existing watchOS app. It's deployment target is 6.1. I added a new widget extension by going to File -> New -> Target -> Widget Extension. I did NOT check the "Include Configuration Intent". In the "Embed in" drop down I chose the WatchKit Extension (it was the only one available). I did not change any of the generated code, other than to add @available(watchOS 9.0, *) to the structs. I attempted to preview the widget in the "preview canvas" but I got the following error: The app extension "MyProject ComplicationExtension.appex" needs to be embedded in an app in order to use previews I then checked the "MyProject WatchKit Extension" under the Target Membership in the File Inspector. The Preview Canvas then crashed with the following error: Couldn't retrieve XPCService dictionary from service bundle. ---------------------------------------- CrashReportError: MyProject WatchKit Extension crashed MyProject WatchKit Extension crashed. Check ~/Library/Logs/DiagnosticReports for crash logs from your application. Process: MyProject WatchKit Extension[7194] Date/Time: 2023-02-25 01:10:25 +0000 Log File: <none> Application Specific Information:     libxpc.dylib [         Configuration error: Couldn't retrieve XPCService dictionary from service bundle.     ]     libsystem_sim_platform.dylib [ CoreSimulator 857.14 - Device: Apple Watch Series 8 (45mm) (9D9982CB-5C86-4A90-913E-44C50CD846B1) - Runtime: watchOS 9.0 (20R362) - DeviceType: Apple Watch Series 8 (45mm) ] <snipped rest of crash report> I don't know what to try from here. Any ideas appreciated. Thank you!
0
0
682
Feb ’23
Autoscaling PDF Images on watchOS
Hi, Do I need to check the "Preserve Vector Data" option on an image set when providing a PDF image for a standalone watchOS app? The Autoscaling PDF Images - https://developer.apple.com/design/human-interface-guidelines/watchos/visual/image-optimization/#autoscaling-pdf-images does not discuss it. lt sounds like it scales it automatically. Is the preserve vector data only for iOS and not watchOS? What I've done so far in the attributes inspector: checked 'Apple Watch' option under the Devices section (it's the only one checked) set scales to 'Single Scale' set auto scaling to 'Automatic' under the 'Apple Watch' section. Are there any other settings I need to set? Thank you
1
1
1.1k
Sep ’22
Xcode 14.3 Reports Developer Mode Disabled, but it is enabled
I'm trying to run my app on my Apple Watch. But Xcode reports that Developer Mode on my iPhone is disabled. However, it is not. I've tried toggling Developer Mode, restarting my devices, restarting Xcode, restarting my computer and unpairing my phone from Xcode and repairing it. Nothing seems to work. It just always reports Developer Mode is disabled. Is there anyway to get Xcode to see that the developer mode is not disabled.
Replies
0
Boosts
0
Views
368
Activity
Apr ’23
Need help adding a complication to an existing watchOS app
I have an existing watchOS app. It's deployment target is 6.1. I added a new widget extension by going to File -> New -> Target -> Widget Extension. I did NOT check the "Include Configuration Intent". In the "Embed in" drop down I chose the WatchKit Extension (it was the only one available). I did not change any of the generated code, other than to add @available(watchOS 9.0, *) to the structs. I attempted to preview the widget in the "preview canvas" but I got the following error: The app extension "MyProject ComplicationExtension.appex" needs to be embedded in an app in order to use previews I then checked the "MyProject WatchKit Extension" under the Target Membership in the File Inspector. The Preview Canvas then crashed with the following error: Couldn't retrieve XPCService dictionary from service bundle. ---------------------------------------- CrashReportError: MyProject WatchKit Extension crashed MyProject WatchKit Extension crashed. Check ~/Library/Logs/DiagnosticReports for crash logs from your application. Process: MyProject WatchKit Extension[7194] Date/Time: 2023-02-25 01:10:25 +0000 Log File: <none> Application Specific Information:     libxpc.dylib [         Configuration error: Couldn't retrieve XPCService dictionary from service bundle.     ]     libsystem_sim_platform.dylib [ CoreSimulator 857.14 - Device: Apple Watch Series 8 (45mm) (9D9982CB-5C86-4A90-913E-44C50CD846B1) - Runtime: watchOS 9.0 (20R362) - DeviceType: Apple Watch Series 8 (45mm) ] <snipped rest of crash report> I don't know what to try from here. Any ideas appreciated. Thank you!
Replies
0
Boosts
0
Views
682
Activity
Feb ’23
Difference between AppUITestsLaunchTests and AppUITests
Hi, In a new project, when I check the option to include tests, two default UI test files are created: ProjectName_AppUITests ProjectName_AppUITestsLaunchTests What is the AppUITestsLaunchTests for? What type of tests belong in the AppUITests and what tests belong in the AppUITestsLaunchTests? Thanks!
Replies
1
Boosts
0
Views
917
Activity
Nov ’22
Autoscaling PDF Images on watchOS
Hi, Do I need to check the "Preserve Vector Data" option on an image set when providing a PDF image for a standalone watchOS app? The Autoscaling PDF Images - https://developer.apple.com/design/human-interface-guidelines/watchos/visual/image-optimization/#autoscaling-pdf-images does not discuss it. lt sounds like it scales it automatically. Is the preserve vector data only for iOS and not watchOS? What I've done so far in the attributes inspector: checked 'Apple Watch' option under the Devices section (it's the only one checked) set scales to 'Single Scale' set auto scaling to 'Automatic' under the 'Apple Watch' section. Are there any other settings I need to set? Thank you
Replies
1
Boosts
1
Views
1.1k
Activity
Sep ’22