Post

Replies

Boosts

Views

Activity

Reply to Apple Watch cannot reconnect
I have the same problem. XCode complains about "Transport Error" Also the Console command xcrun devicectl device info ddiServices --device <device-id> --verbose Shows: ERROR: Transport error (com.apple.CoreDevice.ControlChannelConnectionError error 0 (0x00)) -------------------------------------------------------------------------------- ERROR: Control channel connection timed out while in state preparing (com.apple.dt.RemotePairingError error 4 (0x04)) Right now, it is not possible to debug on a real Apple Watch.
Oct ’24
Reply to XCode Error WatchOS version doesn't match deployment target, watch fully updated
I have the same problem with deployment target WatchOS 10.0, and the watch on 10.6.1 The Devices and Simulators window shows the following error for the watch. Apparently, XCode is unable to connect to the watch. The operation couldn’t be completed. (com.apple.dt.deviceprep error -25.) Domain: com.apple.dt.deviceprep Code: -25 Recovery Suggestion: The operation timed out. Try again. User Info: { DVTErrorCreationDateKey = "2024-10-15 12:53:25 +0000"; "com.apple.dt.DVTCoreDevice.operationName" = connect; } System Information macOS Version 14.6.1 (Build 23G93) Xcode 16.0 (23051) (Build 16A242d) Timestamp: 2024-10-15T14:53:25+02:00
Oct ’24
Reply to iOS 17.4 (21E217) CMAltimeter not working
Note that the following is a work-around. I urge everybody to file a bug-report with Apple, to make sure there is pressure on Apple to fix this. Others have suggested the CMSensorRecorder work-around. It turns out that the "Fitness Tracking" setting in the Settings App needs to be enabled for that to work. When the authorizationStatus is .restricted, then the user first needs to switch on Settings > "Privacy & Security" > "Motion & Fitness" > "Fitness Tracking" When the authorizationStatus is .notDetermined, then start the CMSensorRecorder. A "Motion & Fitness" privacy settings will be added to your app's settings, and the user will be asked to authorise by iOS. When the user accepts, authorizationStatus changes to .authorized and you can start the CMAltimeter. When the authorizationStatus is .denied, the user needs to switch on the "Motion & Fitness" privacy setting of your app. The following code worked for me: let status = CMAltimeter.authorizationStatus() switch status { case .notDetermined: // trigger a authorization popup let recorder = CMSensorRecorder() DispatchQueue.global().async { recorder.recordAccelerometer(forDuration: 0.1) } case .restricted: popupText = "Please switch \"Fitness Tracking\" on, in the Apple Settings app, under \"Privacy & Security\" > \"Motion & Fitness\"" showingPopup = true case .denied: popupText = "Please switch \"Motion & Fitness\" on, in the app settings" showingPopup = true default: print("authorized") } Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { timer in let status = CMAltimeter.authorizationStatus() if status == .authorized { timer.invalidate() self.altimeter.startRelativeAltitudeUpdates(to: OperationQueue.main) { (data, _error) in // handle altimeter data } } }
Mar ’24
Reply to [WC] WCSession counterpart app not installed BUT IT IS!
I had the same issue. It turned out you need to manually set "WatchKit Companion App Bundle Identifier" in the BuildSettings to the bundle identifier of the other app. So the value of that parameter in the settings for the iPhone app needs to be the bundle identifier of the Watch app and vice versa. Then restart XCode and Simulator to make it work. I hade all kinds of strange errors until I fixed that.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24
Reply to Xcode 15 - Apple Watch Companion Embed Not Working
I have the same issue, and reported it to Apple. The issue for me seems to be that the missing file is looked for in directory <some_long_path_name>/Debug-watchos, while it is located in directory <some_long_path_name>/Debug-watchsimulator As a work-around, in the Terminal, cd to the <some_long_path_name> directory, and create a symbolic link as follows: ln -s Debug-watchsimulator Debug-watchos This works until the next time you do a "Clean build folder".
Topic: App & System Services SubTopic: General Tags:
Dec ’23
Reply to Crashes "[RenderBox] RB::Animation::size(RB::Animation::TermOrArg const*, unsigned long) EXC_BAD_ACCESS" on iOS 17
A user of my app had a similar crash, but now in NSURLSession::dataTaskWithRequest, also on 17.0 (21A5291j). It has the same vm_map_enter failed Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23
Reply to Feedback Assistant, Apple Feedback wants me to install beta software
Don't bother. It is a LOT of work to test on a beta version. Apple almost never even looks at the bug reports. Them asking to test it on a beta version does not mean that they have fixed the bug or reproduced it or even looked at it.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Warning: Error creating LLDB target at path. the specified architecture 'arm64-*-*' is not compatible with 'x86_64-apple-ios13.2.0-simulator'
Same problem for me, also on M1. I have already excluded arm64 from the architectures for the simulator, to no effect.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Can't find or decode availabilityDetailedInfo warning when start editing textField
I have the same problem. It is not specific to Swift or SwiftUI, I am having the same issue in Objective-C with UITextField. I suggest everybody who has the problem, to log a bug report on https://feedbackassistant.apple.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Apple Watch cannot reconnect
I have the same problem. XCode complains about "Transport Error" Also the Console command xcrun devicectl device info ddiServices --device <device-id> --verbose Shows: ERROR: Transport error (com.apple.CoreDevice.ControlChannelConnectionError error 0 (0x00)) -------------------------------------------------------------------------------- ERROR: Control channel connection timed out while in state preparing (com.apple.dt.RemotePairingError error 4 (0x04)) Right now, it is not possible to debug on a real Apple Watch.
Replies
Boosts
Views
Activity
Oct ’24
Reply to XCode Error WatchOS version doesn't match deployment target, watch fully updated
I have the same problem with deployment target WatchOS 10.0, and the watch on 10.6.1 The Devices and Simulators window shows the following error for the watch. Apparently, XCode is unable to connect to the watch. The operation couldn’t be completed. (com.apple.dt.deviceprep error -25.) Domain: com.apple.dt.deviceprep Code: -25 Recovery Suggestion: The operation timed out. Try again. User Info: { DVTErrorCreationDateKey = "2024-10-15 12:53:25 +0000"; "com.apple.dt.DVTCoreDevice.operationName" = connect; } System Information macOS Version 14.6.1 (Build 23G93) Xcode 16.0 (23051) (Build 16A242d) Timestamp: 2024-10-15T14:53:25+02:00
Replies
Boosts
Views
Activity
Oct ’24
Reply to empty dSYM file detected - Xcode 16
I get the same message in the console with XCode 16, but it does not crash the app on startup. So maybe the crash is not related to the message. The missing dSym does seem to make it impossible to symbolicate crash logs.
Replies
Boosts
Views
Activity
Oct ’24
Reply to iOS 17.4 (21E217) CMAltimeter not working
Note that the following is a work-around. I urge everybody to file a bug-report with Apple, to make sure there is pressure on Apple to fix this. Others have suggested the CMSensorRecorder work-around. It turns out that the "Fitness Tracking" setting in the Settings App needs to be enabled for that to work. When the authorizationStatus is .restricted, then the user first needs to switch on Settings > "Privacy & Security" > "Motion & Fitness" > "Fitness Tracking" When the authorizationStatus is .notDetermined, then start the CMSensorRecorder. A "Motion & Fitness" privacy settings will be added to your app's settings, and the user will be asked to authorise by iOS. When the user accepts, authorizationStatus changes to .authorized and you can start the CMAltimeter. When the authorizationStatus is .denied, the user needs to switch on the "Motion & Fitness" privacy setting of your app. The following code worked for me: let status = CMAltimeter.authorizationStatus() switch status { case .notDetermined: // trigger a authorization popup let recorder = CMSensorRecorder() DispatchQueue.global().async { recorder.recordAccelerometer(forDuration: 0.1) } case .restricted: popupText = "Please switch \"Fitness Tracking\" on, in the Apple Settings app, under \"Privacy & Security\" > \"Motion & Fitness\"" showingPopup = true case .denied: popupText = "Please switch \"Motion & Fitness\" on, in the app settings" showingPopup = true default: print("authorized") } Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { timer in let status = CMAltimeter.authorizationStatus() if status == .authorized { timer.invalidate() self.altimeter.startRelativeAltitudeUpdates(to: OperationQueue.main) { (data, _error) in // handle altimeter data } } }
Replies
Boosts
Views
Activity
Mar ’24
Reply to iOS 17.4 (21E217) CMAltimeter not working
I suggest that everybody who has the issue, files a bug report to Apple, in order to get some priority on this.
Replies
Boosts
Views
Activity
Mar ’24
Reply to CA::Render::Encoder::grow - iOS 13 - some app crashes reported in Organizer
I am having a similar crash in my app. It looks like the rendering engine in QuartzCore is running out of memory. Did you ever find the cause of the crash?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to [WC] WCSession counterpart app not installed BUT IT IS!
I had the same issue. It turned out you need to manually set "WatchKit Companion App Bundle Identifier" in the BuildSettings to the bundle identifier of the other app. So the value of that parameter in the settings for the iPhone app needs to be the bundle identifier of the Watch app and vice versa. Then restart XCode and Simulator to make it work. I hade all kinds of strange errors until I fixed that.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Xcode 15 - Apple Watch Companion Embed Not Working
I have the same issue, and reported it to Apple. The issue for me seems to be that the missing file is looked for in directory <some_long_path_name>/Debug-watchos, while it is located in directory <some_long_path_name>/Debug-watchsimulator As a work-around, in the Terminal, cd to the <some_long_path_name> directory, and create a symbolic link as follows: ln -s Debug-watchsimulator Debug-watchos This works until the next time you do a "Clean build folder".
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Crashes "[RenderBox] RB::Animation::size(RB::Animation::TermOrArg const*, unsigned long) EXC_BAD_ACCESS" on iOS 17
A user of my app had a similar crash, but now in NSURLSession::dataTaskWithRequest, also on 17.0 (21A5291j). It has the same vm_map_enter failed Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to UITableViewCell Swipe Cell Action not working on MAC M1 Max
I have the same problem. It's a bug in the simulator. Please report it to Apple.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to UITableViewCell Swipe Cell Action not working on MAC M1 Max
I am having the same problem, and have filed a bug report with Apple. Did you find a work-around?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to iOS 15.4.0 ShareSheet _activityImage is not supported for proxies to out-of-process activities
I am seeing the same issue with a number of users of my app on iOS 15.4.1 (19E258). I suggest we all file a bug report to Apple.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22