Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 16 Buildable Folders: Our Initial Experience & Seeking Downsides for Enterprise Apps
Seems like converting groups into folders looks like a great way to clear up the project file and reduce merge conflicts for large teams, started trying it today and it even lead us to find some untracked/unused files in the project. This structure also seems to be the default now after Xcode 16. The question is, are there any downsides to converting groups to folders, the one ones that come to mind is losing Xcode virtual file ordering, which is no biggie. The main advantage groups have is that separating the projects logical organization (what Xcode displays) from the physical configuration (where the file exist on disk) lets you restructure the logic of the project without actually moving objects on disk. Ironically, the biggest advantage of this is in version control since, for example, it allows the project structure to be reorganized without interferring with modifications to the individual source files. Having said that, there certainly is a place for using folder instead of
Jun ’25
How to use generated symbols from string catalogs in SPM packages
In WWDC25 Video Explore localization with Xcode they show how to use generated symbols from string catalogs. This is a great feature and I'd like to use it. However most of my code is split across smaller SPM packages. In the video they say at 19:20: Finally, generated symbols help you avoid boilerplate code in frameworks and packages. I've been able to use the refactoring tool to convert strings from my catalog to use generated symbols. Afterwards the code doesn't compile anymore: Type 'LocalizedStringResource' has no member '' Unfortunately the video only showcases this for frameworks but not for packages. Since they clearly speak about packages I'd like to learn how to use the feature for my packages.
1
0
73
Jun ’25
Reply to Custom Intent ParameterSummary based on Widget Kind/ID
Following some further work I think the accepted and recommended answer is actually not all that clear. From some further testing I've found that the following code works just fine in my WidgetConfigurationIntent for conditionally hiding parameters based on the widget family.... Should the statement actually be Parameters cannot be conditionally hidden based on variables passed into the intent? Thanks static var parameterSummary: some ParameterSummary { When(widgetFamily: .equalTo, .accessoryRectangular) { Summary(Test Info) { .$hideAverageMarks .$extendChart .$showDaysDate } } otherwise : { Summary(Test Info) { .$recentValueFormat } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25
Reply to XPC between endpoint security and host application
[quote='845170022, justenx, /thread/789330?answerId=845170022#845170022, /profile/justenx'] Is disabling sandbox good practice? [/quote] *shrug* There are valid arguments either way. I actually have a long post, The Case for Sandboxing a Directly Distributed App, that tackles this directly. [quote='845170022, justenx, /thread/789330?answerId=845170022#845170022, /profile/justenx'] are apps with temporary exceptions allowed by Apple? [/quote] That depends on the context. Temporary exception entitlements are tightly controlled on the App Store, but they’re just fine to use outside of the App Store. Again, The Case for Sandboxing a Directly Distributed App talks about this. Regarding your app group ID choice, I recommend that you use an iOS-style app group ID because you can authorise that with a provisioning profile [1] If you use an iOS-style app group ID then there’s no need to encode your Team ID in it. It just lengthens the string for no reason. There’s also no specific need to us
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Any downsides to convert groups to folders on "enterprise level app"?
Seems like converting groups into folders looks like a great way to clear up the project file and reduce merge conflicts for large teams, started trying it today and it even lead us to find some untracked/unused files in the project. This structure also seems to be the default now after Xcode 16. The question is, are there any downsides to converting groups to folders, the one ones that come to mind is losing Xcode virtual file ordering, which is no biggie. If you have an enterprise level app would love to hear your experience if your team decided to convert to a folder structure.
1
0
41
Jun ’25
Xcode 16 Buildable Folders: Our Initial Experience & Seeking Downsides for Enterprise Apps
Seems like converting groups into folders looks like a great way to clear up the project file and reduce merge conflicts for large teams, started trying it today and it even lead us to find some untracked/unused files in the project. This structure also seems to be the default now after Xcode 16. The question is, are there any downsides to converting groups to folders, the one ones that come to mind is losing Xcode virtual file ordering, which is no biggie. If your have an enterprise level app would love to hear your experience if your team decided to convert to a folder structure.
1
0
95
Jun ’25
Reply to The installer package includes files that are only readable by the root user
Thanks a lot Quinn. I've checked the build files, no provisionprofile file in there. Also nothing in between, plain vanilla Unity 2023 project exported to Mac Xcode. The root:wheel thing might be a display thing because of the tooling (susipicious package), but I am not sure. I manually unpacked the package file using the cpio tool. There all files were belonging to me (martin:staff). I checked also the profiles in /Users/martin/Library/Developer/Xcode/UserData/Provisioning Profiles. All of those were root + group readable. I changed all those to 755 but that didn't change anything when rebuilding and re-creating the package. And I need to correct me, 2 files are root-only, the file CodeResources in the _CodeSignature subfolder is also root-only. I am absolutely not sure how to fix it. My first gut-feeling was, it is something the package & signing process of XCode needs to fix, to ensure all files are not only root-only. Any more idea how to solve it? Thank you very much for your help so far. He
Topic: Code Signing SubTopic: General Tags:
Jun ’25
Reply to VisionOS 26 - threadsPerThreadgroup limit causing crash on device (but not in simulator)
Hi @Kamlofsky As my colleague mentioned, the maxTotalThreadsPerThreadgroup property of your MTLComputePipelineState is the way to go for checking the maximum number of threads that can be dispatched per threadgroup. I suggest using that value along with threadExecutionWidth to determine the correct number of threads and thread groups to dispatch, as described in Calculating Threadgroup and Grid Sizes. Alternatively, you can also specify a value for maxTotalThreadsPerThreadgroup yourself by creating a MTLComputePipelineDescriptor and setting its maxTotalThreadsPerThreadgroup property to your desired value. You can then use that descriptor to create a compute pipeline state via the makeComputePipelineState(descriptor:options:reflection:) method. Let me know if you have any further questions!
Topic: Spatial Computing SubTopic: ARKit Tags:
Jun ’25
Apple Sign In "Sign up not completed" Error
Apple Sign In - Sign up not completed Error in Development Build (React Native / Expo) Problem Summary I'm implementing Apple Sign In in a React Native app using expo-apple-authentication. The Apple sign-in dialog appears as expected, but after tapping Continue, it displays the message: Sign up not completed. No credential is returned, and the promise eventually rejects with ERR_REQUEST_CANCELED. App Configuration Platform: React Native (Expo SDK 52) Library: expo-apple-authentication v7.1.3 Target: iOS development build (not Expo Go) Bundle ID: com.example.appname.nativetest (new App ID created for testing) Apple Developer Console Setup (Reviewed Carefully) App ID Explicit App ID (not a wildcard) Sign In with Apple capability enabled No associated Services IDs or Sign In with Apple Keys Provisioning Profile Development profile created for the test App ID Profile includes the test device and development certificate Installed successfully and used to sign the app Certificates and Signing Valid Apple D
2
0
146
Jun ’25
JWT Token Errors
I have an app using weatherkit and its currently live and up on the app store, recently I had some users report to me that they had been receiving errors loading weather data, I had error handling built in and it reported an issue with apples authentication server Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) I have not come across this during the development lifecycle of my project, there where no codebase changes, it just stopped functioning. The app entitlements are valid and correct, Weatherkit is enabled in both xcode and across my Certs, identifiers and profiles. I was not experiencing this issue until I reinstalled the app from the app store completly by first removing it and then re-installing fresh. Hard reboots do not help and I do not want to start suggesting to my users to factory reset their devices. We are using WeatherKit in both our main app and widget, relying entirely on Apple’
5
0
200
Jun ’25
.navigationTitle disappears when using .toolbar and List inside NavigationStack (iOS 26 beta)
.navigationTitle disappears when using .toolbar and List inside NavigationStack (iOS 26 beta) Summary In iOS 26 beta, using .navigationTitle() inside a NavigationStack fails to render the title when combined with a .toolbar and a List. The title initially appears as expected after launch, but disappears after a second state transition triggered by a button press. This regression does not occur in iOS 18. Steps to Reproduce Use the SwiftUI code sample below (see viewmodel and Reload button for state transitions). Run the app on an iOS 26 simulator (e.g., iPhone 16). On launch, the view starts in .loading state (shows a ProgressView). After 1 second, it transitions to .loaded and displays the title correctly. Tap the Reload button — this sets the state back to .loading, then switches it to .loaded again after 1 second. ❌ After this second transition to .loaded, the navigation title disappears and does not return. Actual Behavior The navigation title displays correctly after the initial launch transitio
2
0
196
Jun ’25
Reply to XPC between endpoint security and host application
Also, regarding prefixing, given my container app bundle id is com.XXX.YYY and my ES extension bundle id is com.XXX.YYY.esextension, and my NSEndpointSecurityMachServiceName is {TEAM_ID}.com.XXX.YYY.status, with an app group both in the extension and the container app: com.apple.security.application-groups group.{TEAM_ID}.com.XXX.YYY Is this incorrect? because a group must start with group. and now it is a prefix of the XPC endpoint but it still blocks it with the same error (159).
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to XPC between endpoint security and host application
Also, regarding prefixing, given my container app bundle id is com.XXX.YYY and my ES extension bundle id is com.XXX.YYY.esextension, and my NSEndpointSecurityMachServiceName is {TEAM_ID}.com.XXX.YYY.status, with an app group both in the extension and the container app: com.apple.security.application-groups group.{TEAM_ID}.com.XXX.YYY Is this incorrect?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25