Search results for

A Summary of the WWDC25 Group Lab

10,368 results found

Post

Replies

Boosts

Views

Activity

iTunes subscription group user charged twice
Recently I have added new purchases in subscription group, now many users are complaining of getting charged for multiple subscription in the same group. Can somebody please help me in understanding in terms of consumer, how it will proceed?. As per documentation user should have been charged only with the newly chosen subscription and should have received partial refund for the older one.
0
0
503
Sep ’17
Find the name of a CNContact's group (CNGroupName)
So I only recently uncovered the Contacts Framework through this video: https://youtu.be/sHKir2ZMk5Q. As such I'm not yet accustomed to the API. Basically my main problem is that I can't seem to find a way to access the name of the group a CNContact is in. The only support I can find is in Apple's own documentation, which isn't very helpful. if someone could point me in the right direction towards how to print the group name, I would be very grateful. My code is below, Cheers // ModelData.swift // B-Day import Foundation import Contacts import SwiftUI struct Contact: Identifiable { let id = UUID() let category: String let firstName: String let lastName: String let birthday: DateComponents? } func fetchAllContacts() async -> [Contact] { var contacts = [Contact]() let store = CNContactStore() let keys = [CNContactGivenNameKey, CNContactFamilyNameKey, CNContactBirthdayKey, CNContactIdentifierKey, CNGroupNameKey] as [CNKeyDescriptor] let fetchRequest = CNContactFetchRequest (keysToFetch: keys
1
0
1k
Aug ’23
Apple Pay - errors in AuthorizationViewController, Questions on payment Summary
If I only have one product item in Apple Pay, how would I detect a total? My app is a donation platform, so I don't need to actually ship anything, but would like contact info. I have a number of errors that I have tried to figure out to debug to no avail. Any help is appreciated.Also I keep getting this error (this was the same as the sample code given from WWDC).This is in my BuyTicketViewController.swift file. if PKPaymentAuthorizationViewController.canMakePaymentsUsingNetworks(BuyTicketViewController.paymentNetworks) { let button = PKPaymentButton(type: .Buy, style,: .Black) button.addTarget(self, action: applePayButtonPressed, forControlEvents: .TouchUpInside) button.center = applePayView.center button.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMarin] applePayView.addSubview(button) } }The error says 'expected declaration.'The sample says to use else (for traditional checkout). When I put that it, it breaks the rest of my code and I get lots of errors.line 8 - eror on MerchantIDline 9 - error
0
0
1.1k
Sep ’15
Reply to SwiftData changes made in widget via AppIntent are not reflected in main app until full relaunch
In SwiftData, there are local changes and remote changes. Local changes are made from the same model container (ModelContainer); remote changes are made from a different model container. This is covered in the WWDC25 session: SwiftData: Dive into inheritance and schema migration (starting at 13:54). Your main app and its widget use different model containers (because they run in a different process). For your main app, a change made from your widget is remote, and isn't observable. If a view in your main app observes a SwiftData model, or a result set that you fetch from a SwiftData store, it won't get updated for any remote change. If you use @Query, however, the query controller under the hood observes the remote changes, and so a query-back SwiftUI view is supposed to get updated for a remote change. This is clearly described in the mentioned WWDC25 session. If you see otherwise, I’d suggest that you file a feedback report with a reproducible case, and share your report ID here. Best, ——
Jul ’25
What is the downside of using wildcard keychain-access-group
<key>Entitlements</key> <dict> <key>application-identifier</key> <string>A1B2C3D4E5.com.example.myapp</string> <key>aps-environment</key> <string>production</string> <key>get-task-allow</key> </false> <key>keychain-access-groups</key> <array> <string>A1B2C3D4E5.*</string> </array> </dict>Would using a wildcard keychain in two shared Apps from the same publisher mean that each app can access every keychain item of the other?ie. if A1B2C3D4E5.com.example.myapp and A1B2C3D4E5.com.example.myOtherApp had the keychain groups as defined above, then would each of them be able to access ALL of the keychain items of the other? even the ones stored under the group A1B2C3D4E5.com.example.myapp or A1B2C3D4E5.com.example.myOtherApp?
0
0
877
Jan ’16
How do I find out which groups a unified contact belongs to?
Hi, would someone help me get started on a problem in iOS using Swift? How do I get all the groups that a unified contact belongs to? Or how would I check to see if a contact is within a group? That would allow me to find out all the groups that a contact belongs to. I suspect what I need to learn is how to create the predicate to set the predicate property of a CNContactFetchRequest that I need to use.Any help will be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
393
May ’18
AppleScript App entitlement when access-group identifier="*"
I am developing a Mac app that makes use of App Scripting. The is Sandboxed and thus needs the proper entitlements in order to get permissions to send AppleScript events to other apps. I have gotten this working properly for apps (like Mail and spotify) which specify access-group identifiers like this:<access-group identifier=com.apple.mail.compose access=rw/> <access-group identifier=com.spotify.playback/>However, a few other of the Apple made apps (like Xcode) specify their identifiers like this:<access-group identifier=*/>I have tried to configure my entitlement file like this:<key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.dt.Xcode</key> <array> <string>*</string> </array> </dict>, but when doing this it does not work and I get this error message in the console:AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event xcod/buld from process '
1
0
1.4k
Mar ’17
Invalid code signing entitlements with app group on macOS
I'm getting this error when uploading a build of my macOS app to App Store Connect. It has always worked before, and nothing changed about my use of app groups, and the iOS build uploaded without any problems. Cleaning the build folder and derived data folder doesn't help. I'm using automatically managed signing in Xcode. Invalid code signing entitlements. Your application bundle’s signature contains code signing entitlements that aren’t supported on macOS. Specifically, the “[group.]” value for the com.apple.security.application-groups key in “.pkg/Payload/.app/Contents/MacOS/” isn’t supported. This value should be a string or an array of strings, where each string is the “group” value or your Team ID, followed by a dot (“.”), followed by the group name. If you're using the “group” prefix, verify that the provisioning profile used to sign the app contains the com.apple.security.application-groups entitlement and its associated value(s).
48
0
4.6k
Feb ’25
How to get in-app subscription group informations
Hi everyone, I am successfully using App Store Connect API to get diverse informations about my apps. But I don't find any endpoint in documentation that can give me the in-app purchases subscription group informations of my auto-renewable product. Can someone tell me if such a endpoint exists ? And if not, it is possible to claim an update of the API including this feature to Apple ? Thanks in advance.
0
0
299
Oct ’20
Get Application Scripts directory for app group
For the current app, I can get the Application Scripts directory with FileManager.url(for: .applicationScriptsDirectory, in: .userDomainMask, appropriateFor: nil, create: true), but I cannot find a similar API for application groups. Does one exist, or do I have to construct the URL manually? That would probably be ~/Library/Application Scripts/[app group id], but there doesn't seem to be a FileManager API to access ~ either, as FileManager.default.homeDirectoryForCurrentUser returns /Users/username/Library/Containers/[app id]/Data/.
4
0
734
Feb ’24
If I delete the App Group Does it affects live uses?
I recently changed my developer account from account A to account B. I have successfully transferred my applications. With transfer of applications my app group was not migrated. Question - Can I deleted the app group from account A and recreate it in account B with the exact same identifier. If means does it affects the live users. Which means does the live user can able to use our application without any data loss(Logout)
1
0
1k
Sep ’21
External testers apparently put in a group on my behalf but the group is no where to be seen and I can no longer add external testers.
Under testers & groups, I only have all testers and iTunes connect users. There is no + for adding testers in all testers and the + in iTunes connect users is only for adding internal testers. I don't have any groups shown nor do I have the option to add a group.I had external testers before (and they still appear in all testers) but I did not create any groups.Maybe the problem is that I have not uploaded any builds yet?
1
0
969
Apr ’17