Posts

Post not yet marked as solved
1 Replies
Just wanted to add : the WWDC22 presentation "What's New with In-App Purchase" mentions that "StoreKit takes care of automatically updating the App Transaction when necessary", so I assumed this wouldn't trigger the user login prompt, and I guess I'm only seeing this because my app is running from the 'build' folder, and so it doesn't have the receipt downloaded automatically. That's my guess anyways, please feel free to add more information.
Post not yet marked as solved
3 Replies
I might have found a solution... previously I wasn't using the "Contact Notes" entitlements in the macOS app, only on iOS. But with macOS13, I've been getting warnings in Xcode about it, soon "Certificates, Identifiers & Profiles" from the developer portal, I added the "Contact Notes" entitlements to the app identifier and created a manual provisioning profile, then in Xcode I added the "com.apple.developer.contacts.notes" entitlement to the entitlements file, and set the new profile as the developer profile in Xcode. And now it works. Am still testing some more to confirm the fix, but it might just be that the "container assignment" error is just a misdirection.
Post not yet marked as solved
5 Replies
I also have the same exact issue, and the app crashes for many of my users when they add new contacts (and are running macOS13). My app is an AppKit app, so this isn't just a Catalyst issue. I filed FB11724222 for this.
Post not yet marked as solved
3 Replies
I am having the same issue. Even passing in the CNContactStore's defaultContainerIdentifier doesn't help, and I get the same the app crashes. I filed FB11724222 ... hopefully someone from Apple can look into it ASAP.
Post not yet marked as solved
4 Replies
I found it by right-clicking on an item in the build results, and select "View in Timeline".
Post not yet marked as solved
4 Replies
Did you ever resolve this issue? If so, how? I also see other apps that have the same exact name on iOS and Mac App Stores, even though they are separate purchases. But when I try to rename my iOS app to match the macOS version, I get the error: Name did not save because the app name you entered is already being used for another app in your account. If you would like to use the name for this app you will need to submit an update to your other app to change the name, or remove it from App Store Connect. Thanks.
Post marked as solved
10 Replies
I created a bug report: FB10035567 Even for a developer tool, I wouldn't expect it to crash an app just because it detected a duplicate column name. The framework already throws all sorts of parsing errors, for e.g. if you specify a 'date' column and it can't parse the input in the cell, it'll throw a failedToParse error. You can see CSVReadingError for more details.
Post marked as solved
10 Replies
Thanks! Yes, I was able to replicate the issue with a CSV file with duplicate column names, as well as with a CSV file with some extra empty columns. I guess the next question is how to best handle this situation, since this happen when I just load the CSV file into the TabularData framework and it just crashes the app. I'm not sure how to 'prepare' the file before loading it, to check for duplicate columns or extra columns etc. Because that would, y'know, require a CSV parsing framework like TabularData! I would actually assume that theTabularData framework would be able to handle these situations, and return an error instead of crashing completely. Is there any other error handling I can do to avoid the crash?
Post marked as solved
10 Replies
I found a crash report for the same issue through Xcode's Organizer. Would that help? It seems to have more detailed symbols for the TabularData framework. Attaching it here. 2022-05-20_23-41-45.6298_-0400-92c46331ffce6efc87ab9eed1aa3082179e49628.crash
Post marked as solved
10 Replies
Hi, Adding the full crash report. Let me know if there's anything there that helps narrow down the issue. crashreport.txt
Post marked as solved
1 Replies
Soon after typing this out, I found the culprit! The Mac app was using the Dropbox v2 SDK, which requires the app to register for Apple 'events', using this: [[NSAppleEventManager sharedAppleEventManager] setEventHandler:self                                                        andSelector:@selector(handleAppleEvent:withReplyEvent:)                                                      forEventClass:kInternetEventClass                                                         andEventID:kAEGetURL]; With this handler in place, the actual NSApplication "application openURLs" method doesn't get called. Removing this 'event handler' gets it working again (or can handler the event in this 'handleAppleEvent' method, like this: - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent {     NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; } Just putting it out there in case someone is stuck on this in the future.
Post not yet marked as solved
1 Replies
I created a new Feedback with a sample project: FB9716011
Post not yet marked as solved
3 Replies
So far, I've downloaded the SoupChef example and it works fine ... though it's a Catalyst app, so different than what I'm doing. And now I tried to create an Intents Extension to try that out, and I can't get past provisioning profile issues. Even set to "automatic provisioning" (like the main app target is), it complains with this error: Provisioning profile "Mac Team Provisioning Profile: com.test.MacSiriExtension" doesn't include the aps-environment and com.apple.developer.siri entitlements. When I look in the Xcode target "Signing & Capabilities" tab, it doesn't really list any option for adding "Siri" like it does in the iOS app target. This is using Xcode 13.1, running on macOS Monterey RC. I've checked both the app target and the extension target. I've also gone to the developer portal, and in the app's Identifier, manually added "SiriKit" to the target (though the popup says "Platform Support: tvOS, iOS, watchOS") and doesn't list macOS here. Could it be that manually adding SiriKit to a Mac app isn't possible right now?
Post not yet marked as solved
3 Replies
I tried creating a new intents definition file, and added a basic "get" intent with no input parameters. Now I can "donate" the new intent successfully through the app, but it still won't show up in the Shortcuts app. I have also added this new intent to the "Intents eligible for in-app handling" item in my Info.plist file. Still confused.
Post marked as solved
3 Replies
Hi Doug, Wondering if you can follow up here ... does the same apply for Mac apps? Can they use SF fonts directly, for a (paid) Mac app? Thanks.