Search results for

“A Summary of the WWDC25 Group Lab”

11,534 results found

Post

Replies

Boosts

Views

Activity

Not able to access the summary day values for Active Energy from Apple HealthKit
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data. I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit. Below is my code for getting Active Energy from HealthKit. func getActiveEnergy(startDate : Date) { ttvar startingDate = startDate tt ttHealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in ttttif isSuccess { ttttttprint(Active Energy Fetch) tttt} tttt ttttstartingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date() tttt ttttif startingDate <= Date() { ttttttself.getActiveEnergy(startDate: startingDate) tttt} else { ttttttself.getSickNumber(startDate : self.globalDate) tttt} tt}) } HealthKitSetupManager.swift class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) { tt
0
0
750
Sep ’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
775
Feb ’24
Behaviour of dispatch group tasks with completions?
Hi, I have pseudo code for a repeating task of work: api_call(/status) { tif response.statusCode == 418 { ttapi_call(/rotate-credentials) { ... } t} telse { ttdoSomeWork() t} tsleep(60) tapi_call(/status) } I want to make a call to /status roughly every 60 seconds, but if the response is a 418 then I want to complete a call to /rotate-credentials before continuing with the next status request. There are other api calls going on as well, triggered by user interaction. These other api calls should wait until the /status call is completed in full (including if a credential rotation is triggered). This implies a serial queue? But that won't wait for the completions to finish, so I should be looking at a dispatch group enter(), leave() and wait() right? I can't find/understand from the docs where completion handlers go, in terms of execution, relative to dispatch queues. So where is the completion handler execution of the subsequent call to /rotate-credentials ? If I wrap the status call in a dispatch group
2
0
930
Jun ’20
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
886
Jan ’16
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
983
Apr ’17
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
320
Oct ’20
Outlook 16.42 and Groups missing and issues with O365
Overall love this version, but am seeing 2 issues with this new version: 1) Groups I've created in Contacts are no longer visible, and the option to create Groups also is not available. When I switch back to the old Outlook (it's a toggle at the top of the screen), Groups are back and usable 2). I have multiple O365 accounts (3) that I use in Outlook, one of the accounts does not seem to function properly when I switch to the new version. Would welcome input on both
0
0
694
Oct ’20
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
5.8k
Feb ’25
Sequoia Group Container for Mac Catalyst Apps
Prior to Sequoia, Mac Catalyst Apps worked fine when using group folders that started with group. They now get an alert that the Mac Catalyst app is trying to access data from other applications. This may also impact some SwiftUI developers. According to this the documentation for the App Group Entitlements entitlement, on macOS we should begin use the Team Identifier instead of group. Should Mac Catalyst follow the macOS or iOS rules for com.apple.security.application-groups? If they should need to follow the macOS rules now, that creates several issues for developers. We would now need separate build targets to pick up the different Entitlements files. More distressing is that we would need to do some kind of migration process to get our files to the new location. There wouldn't be a transparent way to do so where the user wasn't warned about the application accessing files that don't belong to it. Any clarification on what Mac Catalyst developers should be doing
18
0
3.4k
Jun ’24
Allow group chats to be available to all authenticated users
I am developing a chatting app which has groups sections where it shows all groups in firebase firestore.here is my data collection:and inside Group i have:can anyone guide me how to get all Group from firestore? in realtime database i did that but could not get along in firestore:DataService.instance.REF_GROUPS.observe(.value) { (snapshot) in DataService.instance.getAllMessagesFor(desiredGroup: self.group!, handler: { (returnedGroupMessages) in self.groupMessages = returnedGroupMessages self.tableView.reloadData() if self.groupMessages.count > 0 { self.tableView.scrollToRow(at: IndexPath(row: self.groupMessages.count - 1, section: 0), at: .none, animated: true) } }) }
1
0
572
Oct ’19
tensorflow-metal plugin problem with grouped convolutions
Running grouped convolutions on an M2 with the metal plugin I get an error. Example code: Using TF2.11 and no metal plugin I get import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays On TF2.14 with the plugin I received import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays ... NotFoundError: Exception encountered when calling layer 'conv1d_3' (type Conv1D). could not find registered platform with id: 0x104d8f6f0 [Op:__inference__jit_compiled_convolution_op_78] Call arguments received by layer 'conv1d_3' (type Conv1D): • inputs=tf.Tensor(shape=(1, 1, 5), dtype=float32) could not find registered platform with id
1
0
775
Jan ’24
UIMenuElementAttributesKeepsMenuPresented not working when Glass Grouping changes
I'm working on a UIBarButtonItem that is supposed to be a filter button - it shows a menu in which the user can (un)check menu items. Using the UIMenuElementAttributesKeepsMenuPresented attribute on the UIActions prevents the menu to hide after the user clicks an item. The button is put alongside another button as the leftBarButtonItems of my navigation item. In iOS 26 they are grouped into a single glass container automatically. Now when the user starts filtering, I want to highlight the UIBarButton item to signal to the user that the filter is active (similar to what Apple does in the Mail app). I do that by setting the UIBarButtonItemStyle to prominent. Now that works too, but it causes the automatic glass grouping to break up and the menu to hide. I'm fine with the grouping to break up, but the menu shouldn't hide. Is this a bug or can this be prevented somehow?
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
209
Oct ’25
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
519
Sep ’17
Not able to access the summary day values for Active Energy from Apple HealthKit
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data. I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit. Below is my code for getting Active Energy from HealthKit. func getActiveEnergy(startDate : Date) { ttvar startingDate = startDate tt ttHealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in ttttif isSuccess { ttttttprint(Active Energy Fetch) tttt} tttt ttttstartingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date() tttt ttttif startingDate <= Date() { ttttttself.getActiveEnergy(startDate: startingDate) tttt} else { ttttttself.getSickNumber(startDate : self.globalDate) tttt} tt}) } HealthKitSetupManager.swift class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) { tt
Replies
0
Boosts
0
Views
750
Activity
Sep ’20
Reply to Access to gyroscope?
There is no gyroscope in the watch - at least that's what i was told in the lab. If you want to use a gyroscope, you'll have to access the phone. A bummer for sure.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’15
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/.
Replies
4
Boosts
0
Views
775
Activity
Feb ’24
Behaviour of dispatch group tasks with completions?
Hi, I have pseudo code for a repeating task of work: api_call(/status) { tif response.statusCode == 418 { ttapi_call(/rotate-credentials) { ... } t} telse { ttdoSomeWork() t} tsleep(60) tapi_call(/status) } I want to make a call to /status roughly every 60 seconds, but if the response is a 418 then I want to complete a call to /rotate-credentials before continuing with the next status request. There are other api calls going on as well, triggered by user interaction. These other api calls should wait until the /status call is completed in full (including if a credential rotation is triggered). This implies a serial queue? But that won't wait for the completions to finish, so I should be looking at a dispatch group enter(), leave() and wait() right? I can't find/understand from the docs where completion handlers go, in terms of execution, relative to dispatch queues. So where is the completion handler execution of the subsequent call to /rotate-credentials ? If I wrap the status call in a dispatch group
Replies
2
Boosts
0
Views
930
Activity
Jun ’20
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?
Replies
0
Boosts
0
Views
886
Activity
Jan ’16
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?
Replies
1
Boosts
0
Views
983
Activity
Apr ’17
Watch OS 2 and App Groups.
Do App Groups still work on Watch OS 2 as a mechanism for sharing files between the watch and iPhone?(Since WatchKit extension will now reside on the watch instead of the iPhone)What changes to we need to make to the existing codebase?
Replies
16
Boosts
0
Views
16k
Activity
Jun ’15
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.
Replies
0
Boosts
0
Views
320
Activity
Oct ’20
Outlook 16.42 and Groups missing and issues with O365
Overall love this version, but am seeing 2 issues with this new version: 1) Groups I've created in Contacts are no longer visible, and the option to create Groups also is not available. When I switch back to the old Outlook (it's a toggle at the top of the screen), Groups are back and usable 2). I have multiple O365 accounts (3) that I use in Outlook, one of the accounts does not seem to function properly when I switch to the new version. Would welcome input on both
Replies
0
Boosts
0
Views
694
Activity
Oct ’20
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).
Replies
48
Boosts
0
Views
5.8k
Activity
Feb ’25
Sequoia Group Container for Mac Catalyst Apps
Prior to Sequoia, Mac Catalyst Apps worked fine when using group folders that started with group. They now get an alert that the Mac Catalyst app is trying to access data from other applications. This may also impact some SwiftUI developers. According to this the documentation for the App Group Entitlements entitlement, on macOS we should begin use the Team Identifier instead of group. Should Mac Catalyst follow the macOS or iOS rules for com.apple.security.application-groups? If they should need to follow the macOS rules now, that creates several issues for developers. We would now need separate build targets to pick up the different Entitlements files. More distressing is that we would need to do some kind of migration process to get our files to the new location. There wouldn't be a transparent way to do so where the user wasn't warned about the application accessing files that don't belong to it. Any clarification on what Mac Catalyst developers should be doing
Replies
18
Boosts
0
Views
3.4k
Activity
Jun ’24
Allow group chats to be available to all authenticated users
I am developing a chatting app which has groups sections where it shows all groups in firebase firestore.here is my data collection:and inside Group i have:can anyone guide me how to get all Group from firestore? in realtime database i did that but could not get along in firestore:DataService.instance.REF_GROUPS.observe(.value) { (snapshot) in DataService.instance.getAllMessagesFor(desiredGroup: self.group!, handler: { (returnedGroupMessages) in self.groupMessages = returnedGroupMessages self.tableView.reloadData() if self.groupMessages.count > 0 { self.tableView.scrollToRow(at: IndexPath(row: self.groupMessages.count - 1, section: 0), at: .none, animated: true) } }) }
Replies
1
Boosts
0
Views
572
Activity
Oct ’19
tensorflow-metal plugin problem with grouped convolutions
Running grouped convolutions on an M2 with the metal plugin I get an error. Example code: Using TF2.11 and no metal plugin I get import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays On TF2.14 with the plugin I received import tensorflow as tf tf.keras.layers.Conv1D(5,1,padding=same, kernel_initializer=ones, groups=5)(tf.ones((1,1,5))) # displays ... NotFoundError: Exception encountered when calling layer 'conv1d_3' (type Conv1D). could not find registered platform with id: 0x104d8f6f0 [Op:__inference__jit_compiled_convolution_op_78] Call arguments received by layer 'conv1d_3' (type Conv1D): • inputs=tf.Tensor(shape=(1, 1, 5), dtype=float32) could not find registered platform with id
Replies
1
Boosts
0
Views
775
Activity
Jan ’24
UIMenuElementAttributesKeepsMenuPresented not working when Glass Grouping changes
I'm working on a UIBarButtonItem that is supposed to be a filter button - it shows a menu in which the user can (un)check menu items. Using the UIMenuElementAttributesKeepsMenuPresented attribute on the UIActions prevents the menu to hide after the user clicks an item. The button is put alongside another button as the leftBarButtonItems of my navigation item. In iOS 26 they are grouped into a single glass container automatically. Now when the user starts filtering, I want to highlight the UIBarButton item to signal to the user that the filter is active (similar to what Apple does in the Mail app). I do that by setting the UIBarButtonItemStyle to prominent. Now that works too, but it causes the automatic glass grouping to break up and the menu to hide. I'm fine with the grouping to break up, but the menu shouldn't hide. Is this a bug or can this be prevented somehow?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
209
Activity
Oct ’25
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.
Replies
0
Boosts
0
Views
519
Activity
Sep ’17