Post

Replies

Boosts

Views

Activity

XCode12 freezes on 'Update to recommended settings'
Hi, I upated to XCode 12 today. When I open my project, I see a warning message to 'Validate Project Settings' -> 'Update to recommended settings'. I click the 'Perform Changes' button and XCode freezes. I let it sit for 20 minutes and it hasn't come back. Has anyone else experienced this? Were you able to resolve it? The project is a standalone Apple Watch App. Thank you.
1
1
2.3k
Sep ’20
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
977
Nov ’20
XCode 12.5 and watchOS6.3
Hi, I am having trouble using watchOS6.3 with XCode 12.5. I have three questions: I would like to test my app on a Series 2 watch that has watchOS6.3 installed. I have the watch setup as a device in XCode. I have been able to use it in the past. However, now when I try to launch the app from XCode I get an "Unable to install" error. I don't know why I'm getting an error about wireless sync, as I have connect the phone to my computer via cable. Any help would be appreciated. Unable to install "My App" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653057- Device doesn’t support wireless sync. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653057 User Info: { DVTRadarComponentKey = 261622; MobileDeviceErrorCode = "(0xE800007F)"; "com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x00000001225f03b8 DTDKCreateNSErrorFromAMDErrorCode + 220 1 DTDeviceKitBase 0x000000012262eae1 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155 2 DVTFoundation 0x000000010ae9eb7c DVTInvokeWithStrongOwnership + 71 3 DTDeviceKitBase 0x000000012262e822 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440 4 IDEiOSSupportCore 0x00000001224e7999 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 3534 5 DVTFoundation 0x000000010afd1931 __DVT_CALLING_CLIENT_BLOCK__ + 7 6 DVTFoundation 0x000000010afd355b __DVTDispatchAsync_block_invoke + 1191 7 libdispatch.dylib 0x00007fff201ef603 _dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007fff201f07e6 _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff201f65ca _dispatch_lane_serial_drain + 606 10 libdispatch.dylib 0x00007fff201f708d _dispatch_lane_invoke + 366 11 libdispatch.dylib 0x00007fff20200bed _dispatch_workloop_worker_thread + 811 12 libsystem_pthread.dylib 0x00007fff203974c0 _pthread_wqthread + 314 13 libsystem_pthread.dylib 0x00007fff20396493 start_wqthread + 15 ); }- System Information macOS Version 11.3.1 (Build 20E241) Xcode 12.5 (18205) (Build 12E262) Timestamp: 2021-05-12T10:38:37-07:00 2. I want to use the simulator to test my app. However, when I go to Preferences - Components, the latest watchOS6 version I see is watchOS6.2.1. Is there a way to get watchOS6.3 for the simulator? 3. If I use the watchOS6.2.1 simulator I get the errors below. I've resolved these by going into "Edit Scheme" - Options and unchecking 'Enable backtrace recording' and "Edit Scheme" - Diagnostics and unchecking "Main Thread Checker". Is anyone else having this problem? dyld: could not load inserted library '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib' because no suitable image found. Did find: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib: no matching architecture in universal wrapper dyld: could not load inserted library '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib' because no suitable image found. Did find: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib: no matching architecture in universal wrapper Thank you.
1
0
1.1k
May ’21
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
540
Feb ’23
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
278
Apr ’23