Hello,
App review team rejected my app update under guideline 2.1 - Information needed.
Asking me :
"
To help us proceed with the review of your app, please provide detailed information to the following questions. The more information you can provide upfront, the sooner we can complete your review.
– Does your app include any Siri Shortcuts features?
– If so, where can we locate Siri Shortcuts in your app?
"
Ive replied letting them where to find the Siri shortcut in my app.
Has anyone else been asked this question?
Sometimes it feel like they reject my app for the weirdest reasons.
It would be nice if they had a yellow icon for an Enquiry, Getting the RED REJECTED letter in the email makes my heart stop.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,
Im using a coredata to populate a list.
When I add a new object the list dissent update until close the app and open it again. But this only started happening after I started using a predicate in the fetch request,
Taking the Predicate out makes it work again. I tried everything else. This is the only thing that is causing it. Has anyone else experienced this?
@FetchRequest(
sortDescriptors: [NSSortDescriptor(key: "sobrietyDate_month", ascending: true),NSSortDescriptor(key: "sobrietyDate_day", ascending: true),NSSortDescriptor(key: "first_name", ascending: true)],
predicate: NSPredicate(format: "isVisible == %@", "1")
) var allContacts: FetchedResults<User>
if I take the predicate out it starts updating again. I tried this with Apple standard out of the box CoreData project, by adding a new object to core data as a bool then
@FetchRequest(
sortDescriptors: [NSSortDescriptor(keyPath: \Item.timestamp, ascending: true)],
predicate: NSPredicate(format: "isVisible == %@", "1"),
animation: .default)
private var items: FetchedResults<Item>
Same thing happens, Won't update live until the app is closed.
Any ideas
Thanks
Hi everyone,
I’m testing my Catalyst SwiftUI project on iOS 26 / iPadOS 26 / macOS 26. I started with a NavigationSplitView (triple-column) inside a WindowGroup. On iPad it looks great: the toolbar items merge into the navigation bar, with the three traffic lights.
But on Mac Catalyst, the app always reserves a blank safe area below the traffic lights, and places the toolbar on a separate line beneath the title bar. That leaves wasted vertical space I don’t want.
What I expect (based on Apple’s WWDC session “Elevate the design of your iPad app”):
The toolbar should merge into the title bar with the traffic lights, no separate row.
Content should extend into the full height of the window.
What I get on Mac Catalyst:
Title bar + traffic lights at the top.
Then a completely separate toolbar row below it.
Safe area inset prevents my content from reaching the top of the window.
What I’ve tried:
.toolbarRole(.automatic), .editor, .browser → no effect.
Hiding the title bar via titlebar?.titleVisibility = .hidden → removes the text but not the toolbar gap.
Clearing titlebar?.toolbar → no difference.
So far, I can’t find any way to get Catalyst to integrate toolbars into the window chrome the way native SwiftUI on macOS does.
Is this a known limitation of Mac Catalyst, or is there a supported way to achieve the same “inline toolbar with window controls” layout? Switching to a Mac app vs. Catalyst fixes the issue, but I would have a lot more work to do to get the app ready for release, not ideal since it works near perfect on iPad.
Thanks!
Hello,
Ive been getting an error trying to store this type of array in my core data [CNLabeledValueCNPhoneNumber] [general] 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
There are lost of posts on this error but I can't get mine to work with an array of phone numbers stored in core data. Please help if you can.
I copied this Apple Project nearly exactly https://developer.apple.com/documentation/coredata/handling_different_data_types_in_core_data
except where they have tintColor as the transformable attribute in their .xcdatamodel file, I have put phoneNumbers and the type transformable, the same as the Apple project and the transformer ColorToDataTransformer I made a copy of theirs but changed the occurrences of UIColor to [CNLabeledValueCNPhoneNumber]
It didn't work.
Here is the PhoneNumbersToDataTransformer I made }
I tried changing allowedTopLevelClasses to }
and a few other iterations of the same code. Ive been changing things for age trying to get it to work.
The error is always something like this:
[/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Contacts.framework]\"\n)}'.\"
UserInfo={NSDebugDescription=value for key '_value' was of unexpected
class 'CNPhoneNumber (0x1ca088050)
[/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Contacts.framework]'.
Allowed classes are '{(\n \"NSArray (0x1c9d1ab28)
[/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework]\",\n
\"CNLabeledValue (0x1ca082010)
[/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Contacts.framework]\"\n)}'.}";
} FETCH error
[1]: https://developer.apple.com/documentation/coredata/handling_different_data_types_in_core_data
I am having a lot of trouble with this.
My idea was going to be to put a switch in the setting page of my app so user can choose if they want sensitive information redacted or not.
Some people may want to hide their appointment on the Lock Screen, others may not.
.redacted(reason: .placeholder)
works fine when I add it to an element. but the .privacy reason docent seam to work. If I add the capability to the target 'Data Protection' every thing on the widget gets redacted, unless I mark elements with .unredacted() But to have to do that for everything is too difficult.
My thinking around how it worked was to add the modifier, redacted(reason: .privacy) to an element like a Text view or an image and if the device is locked that will be redacted.
I must not have the same thinking as Apple on this process.
Hello,
Could someone please point me in the right direction?
Using SwiftUI how do I tick a button above a list under the navigation bar on watchOS like the mail app on watch.
So when you pull down the list, the button appears from under the navigation bar ? Thanks
Im having trouble requesting access to save a new contact as of today with updating to Ventura 13.0 (22A380).
Im requesting access to contacts using
@IBAction func requestConactsAccess() {
CNContactStore().requestAccess(for: .contacts) { granted, error in
if granted {
// Yes
print("Granted")
self.authStatusLabel.text = "Granted"
} else {
// No
print("Denied")
self.authStatusLabel.text = "denied"
}
}
}
But it is just being automatically denied.
I can't save a contact either with an app that previously had permission.
I created a small app to test this from scratch using the documentation "Working with the user’s contacts" https://developer.apple.com/documentation/contacts?language=objc
I have been doing this since the first version of the app, Ive never had an issue Has something changed with regards to Requesting access to contacts in latest OS?
https://developer.apple.com/documentation/contacts/requesting_authorization_to_access_contacts
Thank you.
Hello,
Im trying to save a custom object into coredata and it works fine on iOS but when trying to run the same code on the Mac Catalyst version of my app I get an error
Ambiguous use of 'encode(_:forKey:)'
I created a class for the object.
I made it type NSObject & NSSecureCoding.
I tried to make it encode and decode and save to CoreData with a transformer.
Works on iOS version of my app but not macOS.
Why is that?
Ty
I like to keep my apps watch face complication up to date when the user completes an activity but calling WidgetCenter.shared.reloadAllTimelines() is not working as well as the old complication update now I want to go back to complications. I used to call CLKComplicationServer.sharedInstance().reloadTimeline(for: <#T##CLKComplication#>) which would update my complication instantly.
The simulator seams to up date widgets immediately but now my app has been released pn the App Store it is not updating.
Any one else experiencing this.
Hi,
When creating a new contact on MacOS Im getting this new error causing my app to crash, on my app only after updating my machine to Ventura 13.0.
The last error before (lldb) is
"An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x6000039b51a0 ab>. Please remember to assign contacts to containers to avoid recurring container lookup and contact re-validation costs."
When saving a new contact I’m using
saveRequest.add(contact, toContainerWithIdentifier: nil)
do {
try contactsStore.execute(saveRequest)
**
I guess it does not like the nil.
Am I supposed to add to a particular container, like iCloud?
Documentation says to set it to nil - https://developer.apple.com/documentation/contacts/cnsaverequest/1403036-add
Even with the most basic example from https://developer.apple.com/documentation/contacts the save request falis.