Post

Replies

Boosts

Views

Activity

Apple Health vs Siri AI
I have an app which allows users to track metrics not tracked by HealthKit. Where HealthKit is available we do sync there. I haven't had much time to play with it yet so I'm still trying to figure out the scope of what I might do, but I'm interested in adding Siri AI features to the app. I was wondering if there is any general guidance around either submitting non-HealthKit data to Siri AI. Both technical and non-technical. For example, is there any rule against submitting health data to Siri AI? And is there a recommended way to associate data with HealthKit. For example in the app body water percentage can be associated with a Body Mass entry in HealthKit.
1
0
145
1w
When you set inputAccessoryView AND inputView you get unexpected system UI in between the two custom views
When you set inputAccessoryView AND inputView you get unexpected system UI in between the two custom views If anyone has a workaround for this I'd love to hear it. See also: https://stackoverflow.com/questions/79818015/uitextfield-custom-inputaccessoryview-with-custom-inputview-in-ios-26 Red == inputAccessoryView Blue == inputView Glassy bit in between == bug? // // ViewController.swift // Custom Keyboard // // Created by Lewis Smith on 19/02/2026. // import UIKit class ViewController: UIViewController { let textField = { let textField = UITextField() textField.translatesAutoresizingMaskIntoConstraints = false textField.backgroundColor = .yellow let inputAccessoryView = UIView(frame: CGRect(x: 0, y: 0, width: .zero, height: 70)) inputAccessoryView.backgroundColor = .red let inputView = UIView(frame: CGRect(x: 0, y: 0, width: .zero, height: 70)) inputView.backgroundColor = .blue // When you set inputAccessoryView AND inputView you get unexpected UI inbetweeen the two custom views textField.inputAccessoryView = inputAccessoryView textField.inputView = inputView textField.becomeFirstResponder() return textField }() override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = .purple self.view.addSubview(textField) NSLayoutConstraint.activate([ textField.centerXAnchor.constraint(equalTo: view.centerXAnchor), textField.centerYAnchor.constraint(equalTo: view.centerYAnchor), textField.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: 20), textField.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -20), ]) } }
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
227
Feb ’26
Can't load widget with a particular bundle id on Catalyst
Please note that the widgets sub forum is a 404: https://developer.apple.com/forums/post/question?community=1394020 I have a widget that works on iOS but doesn't work on Catalyst. The widget does not appear in the list of available widgets to install. It's related to the Bundle ID for the widget. If I use a fresh bundle ID the widget loads, but if I use the one I'm currently using for iOS it doesn't appear as available to install. To confirm it's related to the bundle ID I created a fresh project in xcode and recreated the behaviour. Any help greatly appreciated.
4
0
353
May ’25
security policy does not allow @ path expansion
I’ve been working on a Catalyst version of my iOS apps. Finally everything is working apart from the custom intents the user user to configure the widgets. The config UI loads: And changing settings at this level works. But it can’t load the options for the other settings: “No options were provided for this parameter” I see this crash in the intent: Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @rpath/CocoaLumberjack.framework/Versions/A/CocoaLumberjack Referenced from: <E1BF4CC5-4181-3272-828C-86B1CD1A66BF> /Applications/my.app/Contents/PlugIns/Intents.appex/Contents/MacOS/Intents Reason: , (security policy does not allow @ path expansion) (terminated at launch; ignore backtrace) I have added the Hardened Runtime Capability to the Main App Target, the Widget Target and the Intents Target. I also allowed “Disable Library Validation” just in case. What am I missing?
5
0
400
Mar ’25
App will not archive a Catalyst Version
I have an iOS app which I'm trying to ship to the Mac App Store. The app was created for iOS 7, but has been kept up to date. I mention it because it has an old project file. I'm able to build and run the app on my Silicon Mac fine. However, when I archive with target "My Mac (Designed for iPad)", I get an archive of type "iOS App Archive". Here's what I've checked: Target is set to “My Mac (Designed for iPad)” “SUPPORTS_MACCATALYST” is set to “YES” on the main target and the extensions “MACOSX_DEPLOYMENT_TARGET” set to “14.6” on the main target and the extensions “Supported Platforms” is set to “iOS” except for Watch targets and targets which also run on watchOS. If I filter the build logs for "Catalyst" there are no results. If I filter them for "Mac" there are no relevant results. Clean build folder Delete derived data Restart Xcode Xcode Version 16.2 (16C5032a) macOS Version 15.2 Other notes: The app has a widget extension and an intents extension and two custom frameworks When I try and archive for Mac using Xcode Cloud, it runs for 90 minutes and then fails. I suspect it’s related to this issue but I’m not sure. I’ve had issues like this solved with DTS before, but that isn’t allowed any more. Any help would be greatly appreciated.
3
0
572
Jan ’25
Unable to deploy apps from Xcode to watch
I'm not able to build and run on watchOS. I see this error: The device “Apple Watch” is not available because there was an error downloading its symbols. Please see the underlying error message for more information. I believe this is the "underlying error" Apple Watch via iPhone: Failed with HTTP status 403: forbidden Domain: DVTACSURLSessionDelegate Code: 1 User Info: {     DVTDeviceErrorIsProxied = 1;     DVTErrorCreationDateKey = "2022-10-17 13:02:51 +0000"; } -- System Information macOS Version 12.6 (Build 21G115) Xcode 14.1 (21527.1) (Build 14B5033e) Timestamp: 2022-10-17T14:02:51+01:00 ✅ dev mode enabled on watch ✅ dev mode enabled on phone ✅ watch rebooted ✅ phone rebooted ✅ Mac rebooted ✅ FB filed: FB11697786 ❌ Able to progress Apple Watch app
5
0
2.5k
Oct ’22
HKLiveWorkoutBuilder, HKWorkoutRouteBuilder and Workout Distance
I am using `HKLiveWorkoutBuilder` &amp; `HKWorkoutRouteBuilder` to track a workout on Apple Watch.when calling:[workoutBuilder finishWorkoutWithCompletion:^(HKWorkout * _Nullable workout, NSError * _Nullable error) { }];The returned workout object does not include the distance that the user travelled:(lldb) po workout.totalDistance nilHowever the route is saved correctly.Given that `.totalDistance` is read only, how should I set the distance of the workout in watchOS 5?https://www.dropbox.com/s/yml1npdlh0jcow8/9LgSA.jpg?dl=0https://www.dropbox.com/s/r7t03xqswkwqj6z/xnTG0.jpg?dl=0
1
0
1.4k
Sep ’22
PayPal iTunes Bug?
In the past few months I get about one person a week who contacts me and tells me that they made an IAP and the money was taken, but they didn't get the functionality. When they do retore it says there is no record of purchase.They send me a screenshot of their recipt. Of course they could fake this, but I am inclined to give the benefit of the doubt.One thing I have noticed is that it is always a PayPal reciept that is sent.Has anyone else noticed anything like this?
3
0
1.7k
Dec ’21
Detect/Receive CloudKit CoreData Errors
In development I've switched to NSPersistentCloudKitContainer and have begun the terrifying process of trying to test as many scenarios as possible to make sure nobody loses any data. During some testing I saw an error like this: <CKError 0x28033a310: "Partial Failure" (2/1011); "Failed to modify some records"; uuid = B6015357-50E0-40B3-949F-1557F59A23DB; container ID = "iCloud.com.xxxx.yyyyyy"; partial errors: { F023EFDF-B9DE-4C17-872B-01C34C0DF129:(com.apple.coredata.cloudkit.zone:defaultOwner) = &lt;CKError 0x280266fa0: "Invalid Arguments" (12/2006); server message = "Cannot create or modify field 'CDsomeField' in record 'CDsomeRecord' in production schema"; uuid = B6015357-50E0-40B3-949F-1557F59A23DB&gt; ... 399 "Batch Request Failed" CKError's omited ... }> I was able to fix this, but it was only affecting some scenarios and if this had happened to a real user they (and I) would never have known about the problem, and their data would not have synced to CloudKit. If the store fails to load you get an error, but if it loads but doesn't sync you don't. So my question is: is there a way to receive these kind of errors in code? I have looked for notifications and delegate methods and I can't find any.
1
0
1.2k
Aug ’21
Tips for resource management during timeline generation
If the user has a lot of widgets the timeline generator can wind up getting killed. Is there any recommendations on how to deal with this? Is there for example any equivalent of applicationDidReceiveMemoryWarning() ?
Replies
1
Boosts
0
Views
66
Activity
6d
Can't load widget with a particular bundle id on Catalyst
From post https://developer.apple.com/forums/thread/778914 I am wondering if there is any news on https://feedbackassistant.apple.com/feedback/17148295
Replies
1
Boosts
0
Views
50
Activity
6d
Apple Health vs Siri AI
I have an app which allows users to track metrics not tracked by HealthKit. Where HealthKit is available we do sync there. I haven't had much time to play with it yet so I'm still trying to figure out the scope of what I might do, but I'm interested in adding Siri AI features to the app. I was wondering if there is any general guidance around either submitting non-HealthKit data to Siri AI. Both technical and non-technical. For example, is there any rule against submitting health data to Siri AI? And is there a recommended way to associate data with HealthKit. For example in the app body water percentage can be associated with a Body Mass entry in HealthKit.
Replies
1
Boosts
0
Views
145
Activity
1w
When you set inputAccessoryView AND inputView you get unexpected system UI in between the two custom views
When you set inputAccessoryView AND inputView you get unexpected system UI in between the two custom views If anyone has a workaround for this I'd love to hear it. See also: https://stackoverflow.com/questions/79818015/uitextfield-custom-inputaccessoryview-with-custom-inputview-in-ios-26 Red == inputAccessoryView Blue == inputView Glassy bit in between == bug? // // ViewController.swift // Custom Keyboard // // Created by Lewis Smith on 19/02/2026. // import UIKit class ViewController: UIViewController { let textField = { let textField = UITextField() textField.translatesAutoresizingMaskIntoConstraints = false textField.backgroundColor = .yellow let inputAccessoryView = UIView(frame: CGRect(x: 0, y: 0, width: .zero, height: 70)) inputAccessoryView.backgroundColor = .red let inputView = UIView(frame: CGRect(x: 0, y: 0, width: .zero, height: 70)) inputView.backgroundColor = .blue // When you set inputAccessoryView AND inputView you get unexpected UI inbetweeen the two custom views textField.inputAccessoryView = inputAccessoryView textField.inputView = inputView textField.becomeFirstResponder() return textField }() override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = .purple self.view.addSubview(textField) NSLayoutConstraint.activate([ textField.centerXAnchor.constraint(equalTo: view.centerXAnchor), textField.centerYAnchor.constraint(equalTo: view.centerYAnchor), textField.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: 20), textField.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -20), ]) } }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
227
Activity
Feb ’26
Can't load widget with a particular bundle id on Catalyst
Please note that the widgets sub forum is a 404: https://developer.apple.com/forums/post/question?community=1394020 I have a widget that works on iOS but doesn't work on Catalyst. The widget does not appear in the list of available widgets to install. It's related to the Bundle ID for the widget. If I use a fresh bundle ID the widget loads, but if I use the one I'm currently using for iOS it doesn't appear as available to install. To confirm it's related to the bundle ID I created a fresh project in xcode and recreated the behaviour. Any help greatly appreciated.
Replies
4
Boosts
0
Views
353
Activity
May ’25
security policy does not allow @ path expansion
I’ve been working on a Catalyst version of my iOS apps. Finally everything is working apart from the custom intents the user user to configure the widgets. The config UI loads: And changing settings at this level works. But it can’t load the options for the other settings: “No options were provided for this parameter” I see this crash in the intent: Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @rpath/CocoaLumberjack.framework/Versions/A/CocoaLumberjack Referenced from: <E1BF4CC5-4181-3272-828C-86B1CD1A66BF> /Applications/my.app/Contents/PlugIns/Intents.appex/Contents/MacOS/Intents Reason: , (security policy does not allow @ path expansion) (terminated at launch; ignore backtrace) I have added the Hardened Runtime Capability to the Main App Target, the Widget Target and the Intents Target. I also allowed “Disable Library Validation” just in case. What am I missing?
Replies
5
Boosts
0
Views
400
Activity
Mar ’25
App will not archive a Catalyst Version
I have an iOS app which I'm trying to ship to the Mac App Store. The app was created for iOS 7, but has been kept up to date. I mention it because it has an old project file. I'm able to build and run the app on my Silicon Mac fine. However, when I archive with target "My Mac (Designed for iPad)", I get an archive of type "iOS App Archive". Here's what I've checked: Target is set to “My Mac (Designed for iPad)” “SUPPORTS_MACCATALYST” is set to “YES” on the main target and the extensions “MACOSX_DEPLOYMENT_TARGET” set to “14.6” on the main target and the extensions “Supported Platforms” is set to “iOS” except for Watch targets and targets which also run on watchOS. If I filter the build logs for "Catalyst" there are no results. If I filter them for "Mac" there are no relevant results. Clean build folder Delete derived data Restart Xcode Xcode Version 16.2 (16C5032a) macOS Version 15.2 Other notes: The app has a widget extension and an intents extension and two custom frameworks When I try and archive for Mac using Xcode Cloud, it runs for 90 minutes and then fails. I suspect it’s related to this issue but I’m not sure. I’ve had issues like this solved with DTS before, but that isn’t allowed any more. Any help would be greatly appreciated.
Replies
3
Boosts
0
Views
572
Activity
Jan ’25
Unable to deploy apps from Xcode to watch
I'm not able to build and run on watchOS. I see this error: The device “Apple Watch” is not available because there was an error downloading its symbols. Please see the underlying error message for more information. I believe this is the "underlying error" Apple Watch via iPhone: Failed with HTTP status 403: forbidden Domain: DVTACSURLSessionDelegate Code: 1 User Info: {     DVTDeviceErrorIsProxied = 1;     DVTErrorCreationDateKey = "2022-10-17 13:02:51 +0000"; } -- System Information macOS Version 12.6 (Build 21G115) Xcode 14.1 (21527.1) (Build 14B5033e) Timestamp: 2022-10-17T14:02:51+01:00 ✅ dev mode enabled on watch ✅ dev mode enabled on phone ✅ watch rebooted ✅ phone rebooted ✅ Mac rebooted ✅ FB filed: FB11697786 ❌ Able to progress Apple Watch app
Replies
5
Boosts
0
Views
2.5k
Activity
Oct ’22
HKLiveWorkoutBuilder, HKWorkoutRouteBuilder and Workout Distance
I am using `HKLiveWorkoutBuilder` &amp; `HKWorkoutRouteBuilder` to track a workout on Apple Watch.when calling:[workoutBuilder finishWorkoutWithCompletion:^(HKWorkout * _Nullable workout, NSError * _Nullable error) { }];The returned workout object does not include the distance that the user travelled:(lldb) po workout.totalDistance nilHowever the route is saved correctly.Given that `.totalDistance` is read only, how should I set the distance of the workout in watchOS 5?https://www.dropbox.com/s/yml1npdlh0jcow8/9LgSA.jpg?dl=0https://www.dropbox.com/s/r7t03xqswkwqj6z/xnTG0.jpg?dl=0
Replies
1
Boosts
0
Views
1.4k
Activity
Sep ’22
PayPal iTunes Bug?
In the past few months I get about one person a week who contacts me and tells me that they made an IAP and the money was taken, but they didn't get the functionality. When they do retore it says there is no record of purchase.They send me a screenshot of their recipt. Of course they could fake this, but I am inclined to give the benefit of the doubt.One thing I have noticed is that it is always a PayPal reciept that is sent.Has anyone else noticed anything like this?
Replies
3
Boosts
0
Views
1.7k
Activity
Dec ’21
Detect/Receive CloudKit CoreData Errors
In development I've switched to NSPersistentCloudKitContainer and have begun the terrifying process of trying to test as many scenarios as possible to make sure nobody loses any data. During some testing I saw an error like this: <CKError 0x28033a310: "Partial Failure" (2/1011); "Failed to modify some records"; uuid = B6015357-50E0-40B3-949F-1557F59A23DB; container ID = "iCloud.com.xxxx.yyyyyy"; partial errors: { F023EFDF-B9DE-4C17-872B-01C34C0DF129:(com.apple.coredata.cloudkit.zone:defaultOwner) = &lt;CKError 0x280266fa0: "Invalid Arguments" (12/2006); server message = "Cannot create or modify field 'CDsomeField' in record 'CDsomeRecord' in production schema"; uuid = B6015357-50E0-40B3-949F-1557F59A23DB&gt; ... 399 "Batch Request Failed" CKError's omited ... }> I was able to fix this, but it was only affecting some scenarios and if this had happened to a real user they (and I) would never have known about the problem, and their data would not have synced to CloudKit. If the store fails to load you get an error, but if it loads but doesn't sync you don't. So my question is: is there a way to receive these kind of errors in code? I have looked for notifications and delegate methods and I can't find any.
Replies
1
Boosts
0
Views
1.2k
Activity
Aug ’21