Search results for

“A Summary of the WWDC25 Group Lab”

10,705 results found

Post

Replies

Boosts

Views

Activity

Contacts 100's of DUPLICATES of the same GROUP
How do I fix this?I have had this issue since we went from Me.com to iCloud.com with having 100's of duplicates of the same GROUP in my contacts via my iCloud.com account; which is my main iCloud account. I had created a secondary @me.com account that I use only for my Contacts and junk email (this was created at the same time as the iCloud.com transition).1.I have ran an Apple Script trying to delete these duplicates.2. I have spent hours on iCloud.com deleting this group. When I do this the screen will get darker and darker while I am hitting Delete then Enter to confirm the deletion. After a period of time the screen will return to normal and I will continue and the screen goes black again..3. I have tried deleting any files that I know of that are associated to my Contacts on my MacBook; is there another file or library that I can delete that might Reset this icloud account?
0
0
128
Dec ’16
[NSOutlineView / SourceList] How to prevent control-click on group items?
Let's say you have a NSOutlineView configured as a source list.The data source provides items and group items.There is a NSMenu set for the menu property of the NSOutlineView.The group items rows are not selectable.Problem:When a group item is control-clicked or right-clicked, its row gets highlighted (bold blue rounded rect) and the contextual menu is displayed.Question:Is there a simple way to prevent this from happenning? To ge the same kind of behavior you see with the Finder sidebar or Calendar sidebar.Attaching the NSMenu to the NSTableCellView does not work.Attaching the NSMenu to the NSTableRow does not work.Notes:I haven't seen so far a simple solution. I've seen non simple solutions involving subclassing NSOutlineView and filtering the mouse down events that somehow requires the NSOutlineView subclass to know about the model.
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1k
Feb ’17
Group Session active participants not working
I am using SharePlay and the Group Activities framework in my app and my usecase requires the number of participants, so I am trying to get it like this: _ = SharePlayManager.sharedInstance.groupSession?.$activeParticipants.sink(receiveValue: { participants in print(participants.count) }) But this always prints 0, am I doing something wrong? (groupSession is 100% not nil)
0
0
757
Dec ’21
Reply to UIWebview to WKWebview migration
You can search the Developer app for sessions. Doing so does not reveal any UIWebView-sessions. If you have questions on moving to WKWebView, I encourage you to try to get a lab session, or ask your specific question here on the forums.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’20
Unable to Add Internal Groups to TestFlight Builds / Cannot distribute
In App Store Connect I've uploaded a new build about 11 hours ago and but I'm unable to distribute the App to my tester groups - including internal. The internal group is grayed out. I am able to Select an External group but they actually do not receive any email notification nor do they see any update within their TestFlight App. I've attempted to upload the build a few times, including old builds which had been distributed in the past to no avail. I'm not able to distribute to any tester group, please advise.
10
0
10k
Dec ’22
macOS : Accessing UserDefaults when App Group is enabled
I am developing a macOS app, with an embedded Finder Extension - https://developer.apple.com/documentation/findersync/fifindersync and I want the app and the extension to share UserDefaults - https://developer.apple.com/documentation/foundation/userdefaults The App is Sandboxed for future distribution on the app store. I followed instructions here : https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1 Both targets are part of the same app group, as it can be seen in the Entitlements: com.apple.security.app-sandbox com.apple.security.application-groups $(TeamIdentifierPrefix)com.stormacq.mac.MyApp ttcom.apple.security.files.user-selected.read-only tt t 2. I am accessing the UserDefaults by the suiteName : t let defaults = UserDefaults.init(suiteName: TEAM_ID.com.stormacq.mac.MyApp) t //where TEAM_ID is the actual team id used to sign the app (something like 123AB45CDE) t However, when tr
6
0
4.9k
Sep ’20
How to migrate NSPersistentCloudKitContainer to App Group to access in Widget
I have shipped an app that utilizes Core Data in CloudKit viaNSPersistentCloudKitContainer. I now want to add a widget that can query for the current data to display. It's my understanding you need to migrate this to a new location available to a shared App Group. How do you do this? container = NSPersistentCloudKitContainer(name: AppName) container.loadPersistentStores { description, error in //handle error } container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy container.viewContext.automaticallyMergesChangesFromParent = true
1
0
1.5k
Jun ’21
SwiftCharts: how to manage colors and groupings
I want to draw a chart where I have two line marks (one for each child each) and behind it area marks for percentiles. If I don't add any foregroundStyle then the line marks get connected. struct GrowthChart: View { @ChartContentBuilder func oneSlice(row: PercentileRow, slice: Slice) -> some ChartContent { AreaMark( x: .value(Day, row.month), yStart: .value(Max, row.dictionary[slice.startKey]!), yEnd: .value(Min, row.dictionary[slice.endKey]!) ) .foregroundStyle(by: .value(Percentile, slice.number)) } let percentileColors: [Color] = [ .blue.opacity(0.1), .blue.opacity(0.2), .blue.opacity(0.3), .blue.opacity(0.4), .blue.opacity(0.5), .blue.opacity(0.4), .blue.opacity(0.3), .blue.opacity(0.2), .blue.opacity(0.1) ] var body: some View { VStack { Chart { ForEach(percentiles.rows) { row in ForEach(slices) { slice in oneSlice(row: row, slice: slice) } } ForEach(children) { child in ForEach(child.data) { dataPoint in LineMark( x: .value(Month, dataPoint.month), y: .value(Height, dataPoint.height) ) .foregroundSty
1
0
2.3k
Jun ’22
How to render an inset grouped list as in the Watch Camera app?
At around 8:47 in the video, in the example of a More button for the watch Camera app, a sheet is presented with a robust set of options which are rendered in a style somewhat similar to the iOS UITableViewStyle.insetGrouped / InsetGroupedListStyle. However, InsetGroupedListStyle isn't exposed on watchOS 7. The closest analog I could see was when you embed a Picker into a List, the picker is rendered as a title/subtitle cell, and tapping on that cell presents a modal sheet with that one Picker's list of options in the same inset grouped style. However, this isn't an exact match - this picker has to be in a list, rather than a More button, and the picker only selects from one set of options, as opposed to multiple heterogeneous groups of options. Can anyone provide guidance on how to render a sheet with multiple, heterogeneous groups of options, like the Camera app's More sheet, in this video?
0
0
990
Aug ’20
Building macOS with App Groups using external CI/CD
Howdy, My macOS application uses app groups, using an entitlement file similar to the one below. com.apple.security.application-groups $(TeamIdentifierPrefix)com.example.test This all works when using my local Xcode. However, when I push the job to our CI/CD server I get an error. error: Provisioning profile doesn't include the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. Searching around, namely macOS Unsatisfied entitlements com.apple.security.application-groups and System Extension app-group entitlement issue tells me that I do not need to have the app group contained within my provisioning profile, due to how macOS handles App Groups differently to iOS. Is there a way to tell xcodebuild on my CI box to ignore this and continue building?
5
0
2.5k
Jun ’23
Contacts 100's of DUPLICATES of the same GROUP
How do I fix this?I have had this issue since we went from Me.com to iCloud.com with having 100's of duplicates of the same GROUP in my contacts via my iCloud.com account; which is my main iCloud account. I had created a secondary @me.com account that I use only for my Contacts and junk email (this was created at the same time as the iCloud.com transition).1.I have ran an Apple Script trying to delete these duplicates.2. I have spent hours on iCloud.com deleting this group. When I do this the screen will get darker and darker while I am hitting Delete then Enter to confirm the deletion. After a period of time the screen will return to normal and I will continue and the screen goes black again..3. I have tried deleting any files that I know of that are associated to my Contacts on my MacBook; is there another file or library that I can delete that might Reset this icloud account?
Replies
0
Boosts
0
Views
128
Activity
Dec ’16
I can't add a group to test my app in Test Flight.
After i submited a version to review and it approved. I can`t to add new versions to test in Test Flight. New versions kepp the status Ready to Submit and i can't to add a group to test this versions. I canceled submission before it sent to store and i can't to add a group to test new versions in Test Flight. Can someone help me?
Replies
2
Boosts
0
Views
761
Activity
Mar ’22
[NSOutlineView / SourceList] How to prevent control-click on group items?
Let's say you have a NSOutlineView configured as a source list.The data source provides items and group items.There is a NSMenu set for the menu property of the NSOutlineView.The group items rows are not selectable.Problem:When a group item is control-clicked or right-clicked, its row gets highlighted (bold blue rounded rect) and the contextual menu is displayed.Question:Is there a simple way to prevent this from happenning? To ge the same kind of behavior you see with the Finder sidebar or Calendar sidebar.Attaching the NSMenu to the NSTableCellView does not work.Attaching the NSMenu to the NSTableRow does not work.Notes:I haven't seen so far a simple solution. I've seen non simple solutions involving subclassing NSOutlineView and filtering the mouse down events that somehow requires the NSOutlineView subclass to know about the model.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
2
Boosts
0
Views
1k
Activity
Feb ’17
Group Session active participants not working
I am using SharePlay and the Group Activities framework in my app and my usecase requires the number of participants, so I am trying to get it like this: _ = SharePlayManager.sharedInstance.groupSession?.$activeParticipants.sink(receiveValue: { participants in print(participants.count) }) But this always prints 0, am I doing something wrong? (groupSession is 100% not nil)
Replies
0
Boosts
0
Views
757
Activity
Dec ’21
Reply to UIWebview to WKWebview migration
You can search the Developer app for sessions. Doing so does not reveal any UIWebView-sessions. If you have questions on moving to WKWebView, I encourage you to try to get a lab session, or ask your specific question here on the forums.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to Apple Mac M4 Max crashed
It can be reproduced in AS's lab, Mac M4 crashed after running ATTO Burn-in in 20~40 minutes. And there is an error report pop up on Mac M4 host.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’25
Apple Watch WidgetKit extension app group issue
Does Apple Watch WidgetKit extension, support app group for data sharing, as currently we get nil values for any stored data.
Replies
2
Boosts
0
Views
1.2k
Activity
Aug ’22
Reply to MapKit Look Around API
Am having the same complaint regarding your #1 and #2 points. I've filed an enhancement request for #2 along with the fact that its forced to full screen after talking to Apple engineers in a WWDC Lab Session.
Replies
Boosts
Views
Activity
Aug ’22
Unable to Add Internal Groups to TestFlight Builds / Cannot distribute
In App Store Connect I've uploaded a new build about 11 hours ago and but I'm unable to distribute the App to my tester groups - including internal. The internal group is grayed out. I am able to Select an External group but they actually do not receive any email notification nor do they see any update within their TestFlight App. I've attempted to upload the build a few times, including old builds which had been distributed in the past to no avail. I'm not able to distribute to any tester group, please advise.
Replies
10
Boosts
0
Views
10k
Activity
Dec ’22
macOS : Accessing UserDefaults when App Group is enabled
I am developing a macOS app, with an embedded Finder Extension - https://developer.apple.com/documentation/findersync/fifindersync and I want the app and the extension to share UserDefaults - https://developer.apple.com/documentation/foundation/userdefaults The App is Sandboxed for future distribution on the app store. I followed instructions here : https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1 Both targets are part of the same app group, as it can be seen in the Entitlements: com.apple.security.app-sandbox com.apple.security.application-groups $(TeamIdentifierPrefix)com.stormacq.mac.MyApp ttcom.apple.security.files.user-selected.read-only tt t 2. I am accessing the UserDefaults by the suiteName : t let defaults = UserDefaults.init(suiteName: TEAM_ID.com.stormacq.mac.MyApp) t //where TEAM_ID is the actual team id used to sign the app (something like 123AB45CDE) t However, when tr
Replies
6
Boosts
0
Views
4.9k
Activity
Sep ’20
How to migrate NSPersistentCloudKitContainer to App Group to access in Widget
I have shipped an app that utilizes Core Data in CloudKit viaNSPersistentCloudKitContainer. I now want to add a widget that can query for the current data to display. It's my understanding you need to migrate this to a new location available to a shared App Group. How do you do this? container = NSPersistentCloudKitContainer(name: AppName) container.loadPersistentStores { description, error in //handle error } container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy container.viewContext.automaticallyMergesChangesFromParent = true
Replies
1
Boosts
0
Views
1.5k
Activity
Jun ’21
SwiftCharts: how to manage colors and groupings
I want to draw a chart where I have two line marks (one for each child each) and behind it area marks for percentiles. If I don't add any foregroundStyle then the line marks get connected. struct GrowthChart: View { @ChartContentBuilder func oneSlice(row: PercentileRow, slice: Slice) -> some ChartContent { AreaMark( x: .value(Day, row.month), yStart: .value(Max, row.dictionary[slice.startKey]!), yEnd: .value(Min, row.dictionary[slice.endKey]!) ) .foregroundStyle(by: .value(Percentile, slice.number)) } let percentileColors: [Color] = [ .blue.opacity(0.1), .blue.opacity(0.2), .blue.opacity(0.3), .blue.opacity(0.4), .blue.opacity(0.5), .blue.opacity(0.4), .blue.opacity(0.3), .blue.opacity(0.2), .blue.opacity(0.1) ] var body: some View { VStack { Chart { ForEach(percentiles.rows) { row in ForEach(slices) { slice in oneSlice(row: row, slice: slice) } } ForEach(children) { child in ForEach(child.data) { dataPoint in LineMark( x: .value(Month, dataPoint.month), y: .value(Height, dataPoint.height) ) .foregroundSty
Replies
1
Boosts
0
Views
2.3k
Activity
Jun ’22
How to render an inset grouped list as in the Watch Camera app?
At around 8:47 in the video, in the example of a More button for the watch Camera app, a sheet is presented with a robust set of options which are rendered in a style somewhat similar to the iOS UITableViewStyle.insetGrouped / InsetGroupedListStyle. However, InsetGroupedListStyle isn't exposed on watchOS 7. The closest analog I could see was when you embed a Picker into a List, the picker is rendered as a title/subtitle cell, and tapping on that cell presents a modal sheet with that one Picker's list of options in the same inset grouped style. However, this isn't an exact match - this picker has to be in a list, rather than a More button, and the picker only selects from one set of options, as opposed to multiple heterogeneous groups of options. Can anyone provide guidance on how to render a sheet with multiple, heterogeneous groups of options, like the Camera app's More sheet, in this video?
Replies
0
Boosts
0
Views
990
Activity
Aug ’20
Building macOS with App Groups using external CI/CD
Howdy, My macOS application uses app groups, using an entitlement file similar to the one below. com.apple.security.application-groups $(TeamIdentifierPrefix)com.example.test This all works when using my local Xcode. However, when I push the job to our CI/CD server I get an error. error: Provisioning profile doesn't include the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. Searching around, namely macOS Unsatisfied entitlements com.apple.security.application-groups and System Extension app-group entitlement issue tells me that I do not need to have the app group contained within my provisioning profile, due to how macOS handles App Groups differently to iOS. Is there a way to tell xcodebuild on my CI box to ignore this and continue building?
Replies
5
Boosts
0
Views
2.5k
Activity
Jun ’23
Reply to Draw to screen context failure with source L*a*b* colorSpace
We found exactly the same issue here.It seems that the NSColorSpace does not like this icc profile. Did you try with the Generic Lab Profile.icc that can be found in /System/Library/ColorSync/Profiles ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15