Search results for

“A Summary of the WWDC26 Group Lab”

10,960 results found

Post

Replies

Boosts

Views

Activity

App Groups and macOS 15
Hi, I just updated my machine to macOS 15, and while developing and running my app (with Xcode), I keep getting messages about my app would like to access data from other apps. This happens even from Xcode Previews, so it's pretty annoying. My production app doesn't seem to be affected by this problem; the system prompt just pops when running the debug version. I came across something about App Groups in macOS and how something has changed in macOS15 regarding system permissions. I use the group.xxx prefix in my macOS app, without the team prefix. Is that the problem here? But why is my production app working fine, but the development app is triggering the prompt repeatedly? Would love any feedback or workarounds. Thanks.
7
0
1k
Oct ’24
Working group?
Anyone interested in working on a few things together? I have a few questions I'm interested in answering and if there are a couple of folks that would like to do a couple of small collaborative investigations, it would be great to chat.. Current open questions: What is required to import into CAD software like Rhino or Sketchup? What is the dimensional accuracy of the output? Are features tagged relationally? i.e. does a window know which wall it's in? Are there similar libraries that can help accomplish similar things from the outside? Photogrammetry based solutions? Shoot me a note if you'd be interested in discussing!
3
0
940
Oct ’22
Unable set keychain-access-groups with Team​Identifier​Prefix
I want to store SecIdentity in the keychain access group $(TeamIdentifierPrefix)com.apple.networkextensionsharing. But Provisioning profile xxxx doesn't match the entitlements file's value for the keychain-access-groups entitlement. My profile dont have a param name 'TeamIdentifierPrefix'. Please , how can i add the TeamIdentifierPrefix to my profile. And my TeamIdentifier is same as the AppIdentifierPrefix
1
0
1k
Aug ’22
Reply to Lack of documentation on RealityKit
Hi @_lrmathias RealityKit supports the just embed a 3D scene in my app use case. No ARKit required. Start here: the SceneKit to RealityKit migration guide Bringing your SceneKit projects to RealityKit. Side-by-side mapping of SCNScene, SCNNode, SCNCamera, SCNLight, materials, and animations. WWDC25: Bring your SceneKit project to RealityKit. Companion session to the article above. The single most relevant resource for your exact question. Other on-point WWDC sessions WWDC26: Explore advances in RealityKit. WWDC25: What's new in RealityKit. WWDC25: Better together: SwiftUI and RealityKit. Composing 3D scenes inside a SwiftUI app. WWDC24: Discover RealityKit APIs for iOS, macOS, and visionOS. Cross-platform, covers lights, shadows, hover effects. Authoring scenes with Reality Composer Pro Reality Composer Pro lets you build scenes (entities, lights, materials, cameras) visually and load them into your app with Entity(named:). The AR branding is misleading; the output works in any RealityKit context. WWDC26
Topic: 3D Content SubTopic:
3D Content Q&A
Tags:
1w
Reply to Sandboxed app extensions connecting to not sandboxed XPC service
It is not going to be sandboxed but rather notarized, so I'm using hardened runtime. Just FYI, I recommend that you use enable the hardened runtime in all your code. While the only place it’s required right now is for notarisation, it’s a good security practice in all situations. My application bundle has now the following structure: That’s a really helpful summary. Thanks! I presume that your login item is actually a Service Management login item, that is, you install it using SMLoginItemSetEnabled. If so, standard practice is to prefix your XPC service name with your Team ID. That will be accessible to your app and your app extensions. If any of the client code is sandboxed, sign it with an app group entitlement that’s a prefix of the XPC service name. For example, if your service name is SKMME9E2Y8.com.example.test703702.service, add an app group ``SKMME9E2Y8.com.example.test703702`. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Reply to iCloud LiveSharing link to colaborate
SwiftData + CloudKit integration doesn't natively support CloudKit sharing today, as discussed in this thread. WWDC26 doesn't have any announcement in this regard. To be clear, you do be able to use Swift the language + Core Data (NSPersistentCloudKitContainer) to implement the sharing feature, as demonstrated in this sample. It's also possible that you implement the sharing feature with your own code by using CloudKit directly, though that will be quite involved. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: App & System Services SubTopic: iCloud Tags:
1w
Cannot invite team members to the group.
After inviting people to the developer group, they accept the invites, but the team doesn't show under the account. This caused the developer cannot request the cert from Xcode, and we cannot link the dev cert with the related profile for the developer. Does anyone has this similar issue, and do Apple can have someone help have a check?
3
0
1.4k
Jan ’22
AR Resource Group Problems
I'm trying to add an AR Reference Image to the ARKit Image detection sample project in Xcode 9.3 beta 2.I drag an image to the AR Resource Image slot, but it's content.json won't include the filename: { images : [ ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Adding the filename manually seems to work in the sample project: { images : [ { idiom : universal, filename : LaunchScreen-iPhonePortrait.png } ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Edit: This seems to be a bug. It works correctly when you don't create an AR Reference Image slot via the context menu, but directly drag the image to the Resource group.
0
0
1.1k
Feb ’18
Reply to P3 Display to XYZ Color Space Conversion
Thanks for your detailed anwswer. It's claried all the issues for me.Also, I was having a problem with OpenGL ES shader code that converted Display P3 colors to/from the Lab and IPT color spaces. In particular, my results did not match the ColorSync Utility when converting Display P3 to/from Lab. Your mention of D50 caused me to use that reference rather than D65 and now my results match. Switching to D50 also corrected the IPT results.Thanks again!
Topic: Media Technologies SubTopic: General Tags:
Feb ’17
Unable to send sms to groups abroad
Hello,I'm creating an app that allows me to send sms to groups and abroad. Im facing a problems when sending to a group that contains iPhone and Android devices from different countries resulting in the message not being sent.Here is what I'm doing to create the text messages:let messageVC = MFMessageComposeViewController() messageVC.body = body message messageVC.recipients = [+123456,+123456] //numbers with country code and area code messageVC.messageComposeDelegate = self; if MFMessageComposeViewController.canSendText() == true { self.present(messageVC, animated: false, completion: nil) }else{ //displays error message }This presents the composer for SMS/iMessages, but when the sent button is tapped it looks like the message will be sent but at the end none of the messages are sent and a red Not Delivered message appears.If I try to send the message only to iPhones and locally it works.
1
0
441
Jul ’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
0
0
743
Sep ’20
Reply to Sign up for Apple developer one on ones and iOS 14 beta
The iPhone app just crashed when I tried to sign up for a lab, but I had success doing the signup from the developer web page.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jun ’20
App Groups and macOS 15
Hi, I just updated my machine to macOS 15, and while developing and running my app (with Xcode), I keep getting messages about my app would like to access data from other apps. This happens even from Xcode Previews, so it's pretty annoying. My production app doesn't seem to be affected by this problem; the system prompt just pops when running the debug version. I came across something about App Groups in macOS and how something has changed in macOS15 regarding system permissions. I use the group.xxx prefix in my macOS app, without the team prefix. Is that the problem here? But why is my production app working fine, but the development app is triggering the prompt repeatedly? Would love any feedback or workarounds. Thanks.
Replies
7
Boosts
0
Views
1k
Activity
Oct ’24
Unable to select Internal Groups to the Build
I am able to select the group for external testing, but not internal, and there is no information on what is wrong. I uploaded the build Dec 8, 2022 at 11:38 AM
Replies
0
Boosts
0
Views
533
Activity
Dec ’22
Working group?
Anyone interested in working on a few things together? I have a few questions I'm interested in answering and if there are a couple of folks that would like to do a couple of small collaborative investigations, it would be great to chat.. Current open questions: What is required to import into CAD software like Rhino or Sketchup? What is the dimensional accuracy of the output? Are features tagged relationally? i.e. does a window know which wall it's in? Are there similar libraries that can help accomplish similar things from the outside? Photogrammetry based solutions? Shoot me a note if you'd be interested in discussing!
Replies
3
Boosts
0
Views
940
Activity
Oct ’22
Unable set keychain-access-groups with Team​Identifier​Prefix
I want to store SecIdentity in the keychain access group $(TeamIdentifierPrefix)com.apple.networkextensionsharing. But Provisioning profile xxxx doesn't match the entitlements file's value for the keychain-access-groups entitlement. My profile dont have a param name 'TeamIdentifierPrefix'. Please , how can i add the TeamIdentifierPrefix to my profile. And my TeamIdentifier is same as the AppIdentifierPrefix
Replies
1
Boosts
0
Views
1k
Activity
Aug ’22
Reply to Lack of documentation on RealityKit
Hi @_lrmathias RealityKit supports the just embed a 3D scene in my app use case. No ARKit required. Start here: the SceneKit to RealityKit migration guide Bringing your SceneKit projects to RealityKit. Side-by-side mapping of SCNScene, SCNNode, SCNCamera, SCNLight, materials, and animations. WWDC25: Bring your SceneKit project to RealityKit. Companion session to the article above. The single most relevant resource for your exact question. Other on-point WWDC sessions WWDC26: Explore advances in RealityKit. WWDC25: What's new in RealityKit. WWDC25: Better together: SwiftUI and RealityKit. Composing 3D scenes inside a SwiftUI app. WWDC24: Discover RealityKit APIs for iOS, macOS, and visionOS. Cross-platform, covers lights, shadows, hover effects. Authoring scenes with Reality Composer Pro Reality Composer Pro lets you build scenes (entities, lights, materials, cameras) visually and load them into your app with Entity(named:). The AR branding is misleading; the output works in any RealityKit context. WWDC26
Topic: 3D Content SubTopic:
3D Content Q&A
Tags:
Replies
Boosts
Views
Activity
1w
Reply to App Development with Swift (Xcode) iBook content have answer keys
If you require the answers to the labs, they are in the Teacher's Guide materials available from here https://developer.apple.com/go/?id=app-dev-swift-teacher
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’17
Reply to Sandboxed app extensions connecting to not sandboxed XPC service
It is not going to be sandboxed but rather notarized, so I'm using hardened runtime. Just FYI, I recommend that you use enable the hardened runtime in all your code. While the only place it’s required right now is for notarisation, it’s a good security practice in all situations. My application bundle has now the following structure: That’s a really helpful summary. Thanks! I presume that your login item is actually a Service Management login item, that is, you install it using SMLoginItemSetEnabled. If so, standard practice is to prefix your XPC service name with your Team ID. That will be accessible to your app and your app extensions. If any of the client code is sandboxed, sign it with an app group entitlement that’s a prefix of the XPC service name. For example, if your service name is SKMME9E2Y8.com.example.test703702.service, add an app group ``SKMME9E2Y8.com.example.test703702`. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to iCloud LiveSharing link to colaborate
SwiftData + CloudKit integration doesn't natively support CloudKit sharing today, as discussed in this thread. WWDC26 doesn't have any announcement in this regard. To be clear, you do be able to use Swift the language + Core Data (NSPersistentCloudKitContainer) to implement the sharing feature, as demonstrated in this sample. It's also possible that you implement the sharing feature with your own code by using CloudKit directly, though that will be quite involved. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
1w
Cannot invite team members to the group.
After inviting people to the developer group, they accept the invites, but the team doesn't show under the account. This caused the developer cannot request the cert from Xcode, and we cannot link the dev cert with the related profile for the developer. Does anyone has this similar issue, and do Apple can have someone help have a check?
Replies
3
Boosts
0
Views
1.4k
Activity
Jan ’22
AR Resource Group Problems
I'm trying to add an AR Reference Image to the ARKit Image detection sample project in Xcode 9.3 beta 2.I drag an image to the AR Resource Image slot, but it's content.json won't include the filename: { images : [ ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Adding the filename manually seems to work in the sample project: { images : [ { idiom : universal, filename : LaunchScreen-iPhonePortrait.png } ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Edit: This seems to be a bug. It works correctly when you don't create an AR Reference Image slot via the context menu, but directly drag the image to the Resource group.
Replies
0
Boosts
0
Views
1.1k
Activity
Feb ’18
Reply to P3 Display to XYZ Color Space Conversion
Thanks for your detailed anwswer. It's claried all the issues for me.Also, I was having a problem with OpenGL ES shader code that converted Display P3 colors to/from the Lab and IPT color spaces. In particular, my results did not match the ColorSync Utility when converting Display P3 to/from Lab. Your mention of D50 caused me to use that reference rather than D65 and now my results match. Switching to D50 also corrected the IPT results.Thanks again!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’17
Unable to send sms to groups abroad
Hello,I'm creating an app that allows me to send sms to groups and abroad. Im facing a problems when sending to a group that contains iPhone and Android devices from different countries resulting in the message not being sent.Here is what I'm doing to create the text messages:let messageVC = MFMessageComposeViewController() messageVC.body = body message messageVC.recipients = [+123456,+123456] //numbers with country code and area code messageVC.messageComposeDelegate = self; if MFMessageComposeViewController.canSendText() == true { self.present(messageVC, animated: false, completion: nil) }else{ //displays error message }This presents the composer for SMS/iMessages, but when the sent button is tapped it looks like the message will be sent but at the end none of the messages are sent and a red Not Delivered message appears.If I try to send the message only to iPhones and locally it works.
Replies
1
Boosts
0
Views
441
Activity
Jul ’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
743
Activity
Sep ’20
Xcode 14 Previews: Groups on the same page?
In Xcode 13, I can use groups to preview my views in different states: In Xcode 14 (Beta 1) groups are now rendered as tabs, making it way more difficult to verify all states after changes: Is there a way to toggle back to the old behavior - or is there any other container view that would be more suitable?
Replies
5
Boosts
0
Views
5k
Activity
Jun ’22