Search results for

“A Summary of the WWDC26 Group Lab”

10,960 results found

Post

Replies

Boosts

Views

Activity

Save an Identity into app group Keychain
Hello everyone, I am trying to save an identity into a group keychain. I am doing it this way, following the documentation: let queryAdd: [String: AnyObject] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: kSecImportItemIdentity as AnyObject, kSecValueData as String: identity as SecIdentity, kSecAttrAccessible as String: kSecAttrAccessibleWhenUnlocked, kSecAttrAccessGroup as String: accessGroup as AnyObject ] let resultCode = SecItemAdd(queryAdd as CFDictionary, nil) if resultCode != noErr { print(Error saving to Keychain: (resultCode)) } I am getting error (or resultCode) -50, which means password has not been save successfully. As a no-team programmer, my accessGroup it's just the group Bundle identifier, registered in Signing & Capabilities -> Keychain Sharing. I don't know if maybe the reason of this code is because the group is not alright or something else it's happening, although it looks I am using the identity the right way.
2
0
1.1k
Aug ’20
Migrating to Game Center Groups
Hey,I have an existing iOS App with Game Center Leaderboards and Achievements that I now want to transfer to a Game Center Group for multi-platform shared leaderboards. (OS X / tvOS)1. I have an update already in the review pipeline set to the standard leaderboard id's.2. I have setup a Game Center Group for this App post this being in review.3. I want to retain all player scores / achievementsNotes: According to Diego:I migrated to my game to GC groups, then submitted my game for OS X using the grp prefix. I didn't have to make any changes to the iOS version, it just worked. Game is called Arcane Tower in case you're interestedI checked his App on iOS and OS X and the leaderboards are in sync.So it seems the old id's (original ones) seem to keep in sync with the new grp versions. However if you create a new application using these you must use the grp prefix to address them (say the OS X version or tvOS).My questions are:1. Do I need to modify the iOS leaderboard / achievement id's
0
0
642
Oct ’15
Notes from WWDC 2017 Deployment Lab Part One
These questions are community-driven. I am also not the original questioner, I'm just posting them with permission. Thank you to the anonymous folks who helped gather this information.DEP / deployment / general related:- ASR restore on AFPS: it will be a Thing of some sort. The engineer spoken to hinted that they didn't even know internally exactly how it would work yet, but they fully expect to support asr restores in the future, even with APFS.- System Image Utility: the team that writes it knows it is broken, and wants it to be fixed, and expect to have it resolved with APFS support, but maybe not until seed 3 at the earliest- APFS on the Mac in general: they know it's still kinda broken. Not a single person I talked to sounded confident about using it for anything _right now_ and that it will likely take multiple seed iterations until it's in the state they feel like it should be. NOTE: This is my interpretation of the subtext of what they were saying. No one flat out stated that.- NetBoot / NetInstall su
5
0
4.5k
Jun ’17
Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
1
0
404
Oct ’24
Group with an existing primary App ID Change
Is it possible to change the Primary App ID set in the Group with an existing primary App ID to another Primary App ID within the same group If there is a change, whether the sub values of the token will be changed upon successful login If an app corresponding to the existing Group Primary App ID is deleted from the app store, ask whether or not other apps in the same group are affected and what effect it will have If anyone knows about the above, please let me know please
0
0
159
Apr ’25
Removing subscription groups from app review
Recently my app was rejected because I have accidentally included two subscription groups that I did not intend to sell. In the current App Store Connect UI, I don't see a way to remove the subscription groups from this version, or entirely from the account. These items have never been on sale. Does anyone know how to fix this issue?
0
0
724
Jun ’22
Communication Notifications not grouping notifications by conversation
I've implemented Communication Notifications in my messaging application but am having difficulty with figuring out why notifications aren't being grouped by conversation - instead, they all collapse into a single group. I've verified that the conversationIdentifier of the INSendMessageIntent is being correctly set for my notifications, along with the speakableGroupName. Is there anything else I could be missing to achieve the desired conversation grouping behaviour?
2
0
566
Jun ’24
Why can't I create a new group in Xcode?
I need to put a file inside a group in xcode, but every time I try, it throws an error. This is what I did: I selected the file that I want -> New group from selection. When I name the group and hit enter, I get the following error: `An unknown error occurred. Domain: com.apple.dt.SourceControlErrorDomain Code: -1 Recovery Suggestion: failed to read index: '/Users/Path_to_project/.git/index' no longer exists (-1) User Info: { DVTErrorCreationDateKey = 2022-11-30 18:32:36 +0000; com.apple.dt.sourcecontrol.UnderlyingErrorString = failed to read index: '/Users/path_to_project/.git/index' no longer exists (-1); }` The file, let's call it helper.swift is in the same level as projectNameApp.swift. It was working fine until a coupe of days ago. Out of nowhere xcode started throwing a permission related error for helper.swift. The error goes like this -> The file “Helper.swift” couldn’t be opened because you don’t have permission to view it. I have both read and write permission for t
0
0
693
Nov ’22
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
7
0
6.5k
Jul ’22
why is onAppear called twice on group in ZStack?
Is this a bug or why does white get printed to console twice but black only once in the below code? If I take out the Text() call then it works like I expect (both onAppear modifiers only called once).import SwiftUIstruct ContentView: View { var body: some View { ZStack { Group { Rectangle().fill(Color.black) } .onAppear() {print(black)} Group { Rectangle().fill(Color.white) Text(black on white).foregroundColor(.black) } .onAppear() { print(white)} } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}
6
0
5.0k
Mar ’20
Group A Dictionary By Key Value
Im sure i cant be the only one to have an app needing this functionality, yet i cant come across and Library to help with it thus far.I have an Dictionary such as[[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North][order: 41499, builder: new, area: South]]Im wanting to group this data by Area in this case into a dictionary like so [[North: [[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North]]],[South: [[order: 41499, builder: new, area: South]]]]Or maybe even 2 levels down, by area and then by builder in the area. In JS i have used D3 and this process is super simple with nesting, in swift its becoming a nightmare. Even if i can just get 1 level grouping i will be happy at this point. Any help is appreciated. Thanks
4
0
220
Mar ’16
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’20
Save an Identity into app group Keychain
Hello everyone, I am trying to save an identity into a group keychain. I am doing it this way, following the documentation: let queryAdd: [String: AnyObject] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: kSecImportItemIdentity as AnyObject, kSecValueData as String: identity as SecIdentity, kSecAttrAccessible as String: kSecAttrAccessibleWhenUnlocked, kSecAttrAccessGroup as String: accessGroup as AnyObject ] let resultCode = SecItemAdd(queryAdd as CFDictionary, nil) if resultCode != noErr { print(Error saving to Keychain: (resultCode)) } I am getting error (or resultCode) -50, which means password has not been save successfully. As a no-team programmer, my accessGroup it's just the group Bundle identifier, registered in Signing & Capabilities -> Keychain Sharing. I don't know if maybe the reason of this code is because the group is not alright or something else it's happening, although it looks I am using the identity the right way.
Replies
2
Boosts
0
Views
1.1k
Activity
Aug ’20
Migrating to Game Center Groups
Hey,I have an existing iOS App with Game Center Leaderboards and Achievements that I now want to transfer to a Game Center Group for multi-platform shared leaderboards. (OS X / tvOS)1. I have an update already in the review pipeline set to the standard leaderboard id's.2. I have setup a Game Center Group for this App post this being in review.3. I want to retain all player scores / achievementsNotes: According to Diego:I migrated to my game to GC groups, then submitted my game for OS X using the grp prefix. I didn't have to make any changes to the iOS version, it just worked. Game is called Arcane Tower in case you're interestedI checked his App on iOS and OS X and the leaderboards are in sync.So it seems the old id's (original ones) seem to keep in sync with the new grp versions. However if you create a new application using these you must use the grp prefix to address them (say the OS X version or tvOS).My questions are:1. Do I need to modify the iOS leaderboard / achievement id's
Replies
0
Boosts
0
Views
642
Activity
Oct ’15
Notes from WWDC 2017 Deployment Lab Part One
These questions are community-driven. I am also not the original questioner, I'm just posting them with permission. Thank you to the anonymous folks who helped gather this information.DEP / deployment / general related:- ASR restore on AFPS: it will be a Thing of some sort. The engineer spoken to hinted that they didn't even know internally exactly how it would work yet, but they fully expect to support asr restores in the future, even with APFS.- System Image Utility: the team that writes it knows it is broken, and wants it to be fixed, and expect to have it resolved with APFS support, but maybe not until seed 3 at the earliest- APFS on the Mac in general: they know it's still kinda broken. Not a single person I talked to sounded confident about using it for anything _right now_ and that it will likely take multiple seed iterations until it's in the state they feel like it should be. NOTE: This is my interpretation of the subtext of what they were saying. No one flat out stated that.- NetBoot / NetInstall su
Replies
5
Boosts
0
Views
4.5k
Activity
Jun ’17
iOS CalKit: How many calls can be grouped with CXSetGroupCallAction
Hi,Using iOS CallkIt VoIP API on iOS 10.THe API for CXSetGroupCallAction allows specifying a call UUID and another UUID of a call to be grouped with.THis suggests only two calls are allowed in a group. Is this the case or are more calls allowed in a group ie 3+.Thanks
Replies
0
Boosts
0
Views
349
Activity
Feb ’17
Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
Replies
1
Boosts
0
Views
404
Activity
Oct ’24
Group with an existing primary App ID Change
Is it possible to change the Primary App ID set in the Group with an existing primary App ID to another Primary App ID within the same group If there is a change, whether the sub values of the token will be changed upon successful login If an app corresponding to the existing Group Primary App ID is deleted from the app store, ask whether or not other apps in the same group are affected and what effect it will have If anyone knows about the above, please let me know please
Replies
0
Boosts
0
Views
159
Activity
Apr ’25
Removing subscription groups from app review
Recently my app was rejected because I have accidentally included two subscription groups that I did not intend to sell. In the current App Store Connect UI, I don't see a way to remove the subscription groups from this version, or entirely from the account. These items have never been on sale. Does anyone know how to fix this issue?
Replies
0
Boosts
0
Views
724
Activity
Jun ’22
Communication Notifications not grouping notifications by conversation
I've implemented Communication Notifications in my messaging application but am having difficulty with figuring out why notifications aren't being grouped by conversation - instead, they all collapse into a single group. I've verified that the conversationIdentifier of the INSendMessageIntent is being correctly set for my notifications, along with the speakableGroupName. Is there anything else I could be missing to achieve the desired conversation grouping behaviour?
Replies
2
Boosts
0
Views
566
Activity
Jun ’24
Why can't I create a new group in Xcode?
I need to put a file inside a group in xcode, but every time I try, it throws an error. This is what I did: I selected the file that I want -> New group from selection. When I name the group and hit enter, I get the following error: `An unknown error occurred. Domain: com.apple.dt.SourceControlErrorDomain Code: -1 Recovery Suggestion: failed to read index: '/Users/Path_to_project/.git/index' no longer exists (-1) User Info: { DVTErrorCreationDateKey = 2022-11-30 18:32:36 +0000; com.apple.dt.sourcecontrol.UnderlyingErrorString = failed to read index: '/Users/path_to_project/.git/index' no longer exists (-1); }` The file, let's call it helper.swift is in the same level as projectNameApp.swift. It was working fine until a coupe of days ago. Out of nowhere xcode started throwing a permission related error for helper.swift. The error goes like this -> The file “Helper.swift” couldn’t be opened because you don’t have permission to view it. I have both read and write permission for t
Replies
0
Boosts
0
Views
693
Activity
Nov ’22
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
Replies
7
Boosts
0
Views
6.5k
Activity
Jul ’22
why is onAppear called twice on group in ZStack?
Is this a bug or why does white get printed to console twice but black only once in the below code? If I take out the Text() call then it works like I expect (both onAppear modifiers only called once).import SwiftUIstruct ContentView: View { var body: some View { ZStack { Group { Rectangle().fill(Color.black) } .onAppear() {print(black)} Group { Rectangle().fill(Color.white) Text(black on white).foregroundColor(.black) } .onAppear() { print(white)} } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}
Replies
6
Boosts
0
Views
5.0k
Activity
Mar ’20
Group A Dictionary By Key Value
Im sure i cant be the only one to have an app needing this functionality, yet i cant come across and Library to help with it thus far.I have an Dictionary such as[[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North][order: 41499, builder: new, area: South]]Im wanting to group this data by Area in this case into a dictionary like so [[North: [[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North]]],[South: [[order: 41499, builder: new, area: South]]]]Or maybe even 2 levels down, by area and then by builder in the area. In JS i have used D3 and this process is super simple with nesting, in swift its becoming a nightmare. Even if i can just get 1 level grouping i will be happy at this point. Any help is appreciated. Thanks
Replies
4
Boosts
0
Views
220
Activity
Mar ’16
Reply to Feedback assistant not working at all
Does not work for me either... And the funny thing at a WWDC lab I was told to use it to submit our issue as a bug :-)
Replies
Boosts
Views
Activity
Jun ’19
Reply to New Widget size for visionOS?
I got a reply to this during one of the lab times. See the response there: https://developer.apple.com/forums/thread/834345
Replies
Boosts
Views
Activity
3d
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’20