Search results for

“A Summary of the WWDC25 Group Lab”

11,534 results found

Post

Replies

Boosts

Views

Activity

Reply to Foundation Models Adapter Training Toolkit v0.2.0 LoRA Adapter Incompatible with macOS 26 Beta 4 Base Model
Thank you for responding! metadata.json from the .fmadapter package: { adapterIdentifier: fmadapter-foundation-lab-9799725, author: Foundation Lab, baseModelSignature: 9799725ff8e851184037110b422d891ad3b92ec1, creatorDefined: {}, description: Tool adapter., license: , loraRank: 32, speculativeDecodingDraftTokenCount: 5 } Code used to load the adapter: // From test-adapter-minimal.swift:39 let adapter = try SystemLanguageModel.Adapter(fileURL: adapterURL) // Also tried the name-based initializer: adapter = try await SystemLanguageModel.Adapter(name: adapterName) Please help make progress here. Thank you!
Jul ’25
How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
5
0
5.5k
Aug ’17
twos settings with app group issue
I have a tvos application and a topshelf extension that share NSUserDefault settings via an App group.I instantiated the user defaults in the following manner let userDefaults = NSUserDefaults(suiteName: group.xxx.xxx.xxx)!Everything works as expected; settings are shared between the app and the top shelf extension.However I have not been able to get the Settings App to work with the app group.I have created a key in the Root.plist of my settings bundle called ApplicationGroupContainerIdentifier with the app group name, but that does not make work.The Settings App does not see values entered by the application or vice versa.I tested using the standard way of instantiating the userdefaults: userDefaults = NSUserDefaults.standardUserDefaults()That works but of course then the topshelf extension does not share any settings with the app.I would appreciate any help.Maybe the Settings App in tvOS doen not support app groups yet, I don't know.Thanks for any help
0
0
423
Nov ’15
FamilyActivityPicker is not picking the right group of apps.
I am passing a group of apps that the user did not select to the ManagedSettingsStore. I write it like this I then block the user from using this group of apps. ManagedSettingsStore().shield.applicationCategories = ShieldSettings.ActivityCategoryPolicy.all(except:familyActivitySelection.applicationTokens) This problem occurs when you select three or more categories in the FamilyActivityPicker. For example, if you select only the Education category, only the apps in the Education category will be available, but if you add the Productivity/Lifestyle category to the selected categories, all apps in the iPhone will be available. This problem occurs whether the number of categories to select is four or five. Perhaps IOS is not generating the exact set of apps when it generates the set.
0
0
882
May ’23
How to Enable Group Navigation Behavior for Custom Views in VoiceOver?
In VoiceOver, when using Group Navigation style, the cursor first focuses on the semantic group. To navigate inside the group, a two-finger swipe (left or right) can be used. This behavior works for default containers like the Navigation Bar, Tab Bar, and Tool Bar. How can I achieve the same behavior for a custom view? I tried setting accessibilityContainerType = .semanticGroup, but it only works for Mac Catalyst. Is there an equivalent approach for iOS?
0
0
549
Mar ’25
RCS working 1on1; not working with Group Messages
I upgraded my kids iPhone 13 minis with iOS18 beta (public beta). RCS is used when we message each other individually which is great. I subsequently setup a group chat with my daugthers as the existing group chat would send messages with SMS only; once I setup that new chat between the three of us, both receive my messages as RCS. In this group chat, one daughter is sending messages with RCS and those messages are being received in the new RCS chat. However, the other daughter can send messages in the group chat only with SMS; those messages are being received in my original thread only. I checked and the messages app settings are the same for both. RCS is activated under settings --> apps --> messages and RCS works both ways with both of my daughters. Any ideas how I can get my daughter to send messages with RCS instead of SMS in the group chat?
1
0
1.6k
Aug ’24
Reply to Is it possible to call openWindow() in a navigationDestination in a NavigationStack?
After doing more research it appears that this is not possible. So I converted the navigation stack to a series of buttons. It works. Below is an example button and my App struct. Button { openWindow(id: summary) } label: { Text(Summary) .font(Font.custom(Arial, size: 14.0)) .foregroundColor(Color.blue) .background(Color.clear) .padding(.leading, 35) } .focusable(false) .buttonStyle(.link) @main struct WindowGroupsApp: App { var body: some Scene { WindowGroup (Home) { ContentView() .hostingWindowPosition(window: Home) } Window(Summary, id: summary) { SummaryView() .hostingWindowPosition(window: Summary) } WindowGroup (Table, id: table, for: String.self) { $fundName in NavigationDestinationView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Table) } WindowGroup (Chart, id: chart1, for: String.self) { $fundName in CustomChartView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Chart) } WindowGroup (Chart, id: chart5, for: String.sel
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’23
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
5
0
2.5k
May ’20
Error -34018 calling SecItemCopyMatching (no group)
Hi, I'm getting the error code -34018 in the VisionOS simulator when calling SecItemCopyMatching with this query: let getquery: [String: Any] = [kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: name, kSecReturnData as String: kCFBooleanTrue!, kSecMatchLimit as String : kSecMatchLimitOne ] The console says: copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither application-identifier nor keychain-access-groups entitlements UserInfo={numberOfErrorsDeep=0, NSDescription=Client has neither application-identifier nor keychain-access-groups entitlements} I'm NOT using groups. I've tried changing the bundle id. Xcode version 15.0 beta 2 (15A5161b) Anyone have any ideas? Anyone using the keychain in their visionOS app? :-)
2
0
1.6k
Jul ’23
Group leaderboards show "No Data Available"
After migrating my iOS leaderboard to a group and adding to this group my macOS game, I can't get to display my leaderboards anywhere.After testing in real devices, I don't get errors when reporting scores to the leaderbords with the grp prefix, but when trying to display the gamecenter leaderbords I only get the No Data Availble, also when trying to force load the scores on my leaderboards using the GKLeaderboard() .loadscores I get the following error: The requested operation could not be completed due to an error communicating with the server.
0
0
663
Jun ’17
Catalyst: Cannot submit/validate app with App Groups
I'm testing the submission/validation process for my Catalyst app, and I keep getting an App Store Connect error saying I have invalid code signing entitlements because my App Group does not start with my team ID. Mac apps are supposed to prefix their App Groups with the team ID, but iOS apps are prefixed with just the word group. And there's no way to manually change an iOS app group to start with a team ID (at least not that I can find). Has anyone found a workaround for this? Or am I just not able to use App Groups in a Catalyst app?(Note that I am using manual code signing because I need to submit the app for an existing app ID, so perhaps this isn't an issue for automatic signing.)
0
0
998
Aug ’19
Reply to Foundation Models Adapter Training Toolkit v0.2.0 LoRA Adapter Incompatible with macOS 26 Beta 4 Base Model
Thank you for responding! metadata.json from the .fmadapter package: { adapterIdentifier: fmadapter-foundation-lab-9799725, author: Foundation Lab, baseModelSignature: 9799725ff8e851184037110b422d891ad3b92ec1, creatorDefined: {}, description: Tool adapter., license: , loraRank: 32, speculativeDecodingDraftTokenCount: 5 } Code used to load the adapter: // From test-adapter-minimal.swift:39 let adapter = try SystemLanguageModel.Adapter(fileURL: adapterURL) // Also tried the name-based initializer: adapter = try await SystemLanguageModel.Adapter(name: adapterName) Please help make progress here. Thank you!
Replies
Boosts
Views
Activity
Jul ’25
Is there an upper limit on the number of subscription groups an app can offer?
I didn’t see any mention on whether there’s an upper limit on the number of subscription groups an app can offer. Is there an upper limit? To be compliant with 3.1.1 and 3.1.3(b), I would need tens of thousands of subscriptions groups.
Replies
2
Boosts
0
Views
1.3k
Activity
Jun ’24
Reply to Can Apple Foundation Models with PCC be used in a Developer ID distributed macOS app?
Thanks. This is useful information. I built PCC support into LocalLM Lab (and SDK) and it currently reports an error. I'll add the guidance into the SDK documents.
Replies
Boosts
Views
Activity
2w
How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
Replies
5
Boosts
0
Views
5.5k
Activity
Aug ’17
twos settings with app group issue
I have a tvos application and a topshelf extension that share NSUserDefault settings via an App group.I instantiated the user defaults in the following manner let userDefaults = NSUserDefaults(suiteName: group.xxx.xxx.xxx)!Everything works as expected; settings are shared between the app and the top shelf extension.However I have not been able to get the Settings App to work with the app group.I have created a key in the Root.plist of my settings bundle called ApplicationGroupContainerIdentifier with the app group name, but that does not make work.The Settings App does not see values entered by the application or vice versa.I tested using the standard way of instantiating the userdefaults: userDefaults = NSUserDefaults.standardUserDefaults()That works but of course then the topshelf extension does not share any settings with the app.I would appreciate any help.Maybe the Settings App in tvOS doen not support app groups yet, I don't know.Thanks for any help
Replies
0
Boosts
0
Views
423
Activity
Nov ’15
FamilyActivityPicker is not picking the right group of apps.
I am passing a group of apps that the user did not select to the ManagedSettingsStore. I write it like this I then block the user from using this group of apps. ManagedSettingsStore().shield.applicationCategories = ShieldSettings.ActivityCategoryPolicy.all(except:familyActivitySelection.applicationTokens) This problem occurs when you select three or more categories in the FamilyActivityPicker. For example, if you select only the Education category, only the apps in the Education category will be available, but if you add the Productivity/Lifestyle category to the selected categories, all apps in the iPhone will be available. This problem occurs whether the number of categories to select is four or five. Perhaps IOS is not generating the exact set of apps when it generates the set.
Replies
0
Boosts
0
Views
882
Activity
May ’23
How to Enable Group Navigation Behavior for Custom Views in VoiceOver?
In VoiceOver, when using Group Navigation style, the cursor first focuses on the semantic group. To navigate inside the group, a two-finger swipe (left or right) can be used. This behavior works for default containers like the Navigation Bar, Tab Bar, and Tool Bar. How can I achieve the same behavior for a custom view? I tried setting accessibilityContainerType = .semanticGroup, but it only works for Mac Catalyst. Is there an equivalent approach for iOS?
Replies
0
Boosts
0
Views
549
Activity
Mar ’25
RCS working 1on1; not working with Group Messages
I upgraded my kids iPhone 13 minis with iOS18 beta (public beta). RCS is used when we message each other individually which is great. I subsequently setup a group chat with my daugthers as the existing group chat would send messages with SMS only; once I setup that new chat between the three of us, both receive my messages as RCS. In this group chat, one daughter is sending messages with RCS and those messages are being received in the new RCS chat. However, the other daughter can send messages in the group chat only with SMS; those messages are being received in my original thread only. I checked and the messages app settings are the same for both. RCS is activated under settings --> apps --> messages and RCS works both ways with both of my daughters. Any ideas how I can get my daughter to send messages with RCS instead of SMS in the group chat?
Replies
1
Boosts
0
Views
1.6k
Activity
Aug ’24
Reply to Troubleshouting AVCam build for iOS and run on MacBook with macos14 (Sonoma)
Set the build destination to Mac Catalyst, and the build will run properly. I filed a feedback (FB13904284) and shared this with Apple engineers during a WWDC24 lab session.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Is it possible to call openWindow() in a navigationDestination in a NavigationStack?
After doing more research it appears that this is not possible. So I converted the navigation stack to a series of buttons. It works. Below is an example button and my App struct. Button { openWindow(id: summary) } label: { Text(Summary) .font(Font.custom(Arial, size: 14.0)) .foregroundColor(Color.blue) .background(Color.clear) .padding(.leading, 35) } .focusable(false) .buttonStyle(.link) @main struct WindowGroupsApp: App { var body: some Scene { WindowGroup (Home) { ContentView() .hostingWindowPosition(window: Home) } Window(Summary, id: summary) { SummaryView() .hostingWindowPosition(window: Summary) } WindowGroup (Table, id: table, for: String.self) { $fundName in NavigationDestinationView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Table) } WindowGroup (Chart, id: chart1, for: String.self) { $fundName in CustomChartView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Chart) } WindowGroup (Chart, id: chart5, for: String.sel
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
Replies
5
Boosts
0
Views
2.5k
Activity
May ’20
Did Apple just take away "Subscription summary" in the AppStoreConnect?
Just yesterday I was able to see how many active Apple subscribers who finished their trial (i.e. paying subscribers) are there and now the whole Subscriptions section in Sales and Trends is gone!Anyone knows how to calculate number of paying subscribers now?
Replies
0
Boosts
0
Views
372
Activity
May ’20
Error -34018 calling SecItemCopyMatching (no group)
Hi, I'm getting the error code -34018 in the VisionOS simulator when calling SecItemCopyMatching with this query: let getquery: [String: Any] = [kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: name, kSecReturnData as String: kCFBooleanTrue!, kSecMatchLimit as String : kSecMatchLimitOne ] The console says: copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither application-identifier nor keychain-access-groups entitlements UserInfo={numberOfErrorsDeep=0, NSDescription=Client has neither application-identifier nor keychain-access-groups entitlements} I'm NOT using groups. I've tried changing the bundle id. Xcode version 15.0 beta 2 (15A5161b) Anyone have any ideas? Anyone using the keychain in their visionOS app? :-)
Replies
2
Boosts
0
Views
1.6k
Activity
Jul ’23
Group leaderboards show "No Data Available"
After migrating my iOS leaderboard to a group and adding to this group my macOS game, I can't get to display my leaderboards anywhere.After testing in real devices, I don't get errors when reporting scores to the leaderbords with the grp prefix, but when trying to display the gamecenter leaderbords I only get the No Data Availble, also when trying to force load the scores on my leaderboards using the GKLeaderboard() .loadscores I get the following error: The requested operation could not be completed due to an error communicating with the server.
Replies
0
Boosts
0
Views
663
Activity
Jun ’17
Catalyst: Cannot submit/validate app with App Groups
I'm testing the submission/validation process for my Catalyst app, and I keep getting an App Store Connect error saying I have invalid code signing entitlements because my App Group does not start with my team ID. Mac apps are supposed to prefix their App Groups with the team ID, but iOS apps are prefixed with just the word group. And there's no way to manually change an iOS app group to start with a team ID (at least not that I can find). Has anyone found a workaround for this? Or am I just not able to use App Groups in a Catalyst app?(Note that I am using manual code signing because I need to submit the app for an existing app ID, so perhaps this isn't an issue for automatic signing.)
Replies
0
Boosts
0
Views
998
Activity
Aug ’19