Search results for

A Summary of the WWDC25 Group Lab

10,367 results found

Post

Replies

Boosts

Views

Activity

Shared App Groups cache not writable
I'm trying to share cached data between a tvOS app and a TVService extension. I crated an app group and get a directory based on the identifier. All works fine in the simulator. On the tvOS dev kit however the app does not have write permission the app group directory.I realize the restrictions on tvOS but shared cache data in app groups should be possible according the FAQ:For temporary local storage, apps may access the NSTemporaryDirectory and NSCachesDirectory in their own container, or NSCachesDirectory in a shared container.So how do I get access to the caches in the app group container? has anybody here got this working?
2
0
4.9k
Oct ’15
Match can't find groups if it is case insensitive
The shortcut app seems to have a bug regarding text match grouping when trying to match a lowercase string to a capital case one. The match happens, but the regular expression groups are not properly displayed. To replicate, create a shortcut with the following actions: Match d-(george) in 2-George check case-insensitive on Show Matches (this will show 2-George) Get Group At Index 1 in Matches Show Text This will not print anything
0
0
547
May ’23
Reply to Sandboxed app extensions connecting to not sandboxed XPC service
It is not going to be sandboxed but rather notarized, so I'm using hardened runtime. Just FYI, I recommend that you use enable the hardened runtime in all your code. While the only place it’s required right now is for notarisation, it’s a good security practice in all situations. My application bundle has now the following structure: That’s a really helpful summary. Thanks! I presume that your login item is actually a Service Management login item, that is, you install it using SMLoginItemSetEnabled. If so, standard practice is to prefix your XPC service name with your Team ID. That will be accessible to your app and your app extensions. If any of the client code is sandboxed, sign it with an app group entitlement that’s a prefix of the XPC service name. For example, if your service name is SKMME9E2Y8.com.example.test703702.service, add an app group ``SKMME9E2Y8.com.example.test703702`. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
How to handle multiple users purchasing a subscription from a single Apple ID, or group them based on subscription group?
We are implementing auto-renewable subscriptions on iOS. We face a problem where users can purchase multiple subscriptions on a single Apple ID linked to the device. We are having 3 subscription plans as Regular (Monthly), Regular (Yearly), and Special (Yearly). Now, we have decided that Regular plans will be configured in a separate subscription group and special plan on the other since we don't want the Regular users to know that there is a special plan that is less costly than theirs. (Through Manage Subscription of the device Settings) Scenario 1: If User A subscribes to the Special plan on his Apple Id, his subscription gets active. Now, if on the same Apple ID, user B logs in to the app and is a Regular user then he can purchase any of the Regular plans. But the issue is User A's receipt and User B's receipt cause problems sometime later since their receipts are created on the same Apple ID. We are not able to restrict User B to purchase from User A's device in this case, since the original_tra
0
0
757
Apr ’21
Group iMessage Apps are problematic
I get the distinct feeling, based on the WWDC presentations, that group iMessage apps are either incomplete or not really thought out. Add to this that there are no group conversations possible in the simulator. The group message part of the demo was just a couple of slides and he used the phrase we are recommending for the moment which leads me to believe that Apple probably has unfinished business here. I think that the idea of making MSSession the carrier of data and make each subsequent message create a stack of unprocessed responses so that when the user clicks on the bubble it sees each response and can process them one by one. What I'm wondering is, in the same section, they talk about privacy. So each device will get different identifiers for each user. If you are using the cloud, I don't see how you can then aggregate responses correctly. Take this scenario:I send an iMessage App (IMA) to two of my friends and it asks them to pick what they want for lunch.Friend A responds
5
0
1k
Jul ’16
Transaction groups with different currencies - Financial Reports
Hi everyone, I just started to get income on the App Store and I'm trying to figure out how the financial reports section works. One thing I can't understand is why do I have 2 sets (groups) of transactions when I browse the report for June 2020. The 1st group says I have income of about 50 CAD (with a set of countries in it if I unfold the group) and 37 sales. The 2nd group right below the first one says I have 4 USD income and 3 sales. Why the currency is different if I chose my account currency as CAD and why the transactions have been split in those groups? Moreover, the 1st group has the following countries : Australia, Canada, China, Europe, Japan, Russia, North And South America. And all those transactions are converted to CAD as I expect. The second group has only Great Britain and Poland and their transactions are converted into USD, why's that?
0
0
302
Jul ’20
Group Activities Entitlements on MacCatalyst
I am adding Group Activities integration with a MacCatalyst app. I have added the Group Activities entitlement in Xcode. I also checked the entitlements with : codesign --display --entitlements :- I can see the entitlement : com.apple.developer.group-session The feature work fine on iPadOS but when I run it on MacOS, the GroupActivitySharingController is not loading properly. I get the following error messages: Cannot run query EXQuery: extension point com.apple.groupactivities platforms: 6 with error: (null) Failed to lookup extension with query EXQuery: extension point com.apple.groupactivities platforms: 6 on <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980> Failed to fetch config for hostViewController <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980> Failed to build remote hostViewController for <_GroupActivities_UIKit.GroupActivitySharingController: 0x1417f1250> Failed to fetch extensionViewController Calling -viewDidAppear: directly on a v
0
0
737
Mar ’24
QuickLook Extension and App Groups on macOS
Hello, I am trying to use app groups to share preferences between an app and its QuickLook extension (both sandboxed), but I can't understand why it's not working. For testing, I created an empty macOS app project and added a QuickLook Extension, then on both the targets' entitlement files I added the app group domain in the form teamid.test. Last but not least, in the Info.plist file of the QL extension i added some UTIs to have the QL extension called when previewing. In the QL extension's PreviewViewController.swift file I try to save a value like this: func preparePreviewOfFile(at url: URL, completionHandler handler: @escaping (Error?) -> Void) { let defaults=UserDefaults(suiteName: teamid.***) defaults?.set(1, forKey: test) handler(nil) } If I try to run the app and preview a file though, I get this message in the Console: Couldn't write values for keys ( test ) in CFPrefsPlistSource<0x7fb63681cce0> (Domain: teamid.***, User: kCFPreferencesCurrentUser, ByHost: No, Container: (n
0
0
776
Nov ’21
Reply to P3 Display to XYZ Color Space Conversion
Thanks for your detailed anwswer. It's claried all the issues for me.Also, I was having a problem with OpenGL ES shader code that converted Display P3 colors to/from the Lab and IPT color spaces. In particular, my results did not match the ColorSync Utility when converting Display P3 to/from Lab. Your mention of D50 caused me to use that reference rather than D65 and now my results match. Switching to D50 also corrected the IPT results.Thanks again!
Topic: Media Technologies SubTopic: General Tags:
Feb ’17