Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Is migrating from ARView to RealityView recommended?
We're using RealityKit to create a science education AR app for iOS, iPadOS, and visionOS. In the WWDC25 session video Bring your SceneKit project to RealityKit https://developer.apple.com/videos/play/wwdc2025/288 at 8:15, it's explained that when using RealityKit, RealityView should be used in all cases, whereas in the past, SceneKit required SCNView, SceneView, or ARSCNView, depending on an app's requirements. Because the initial development of our app on iOS predates iOS 18's RealityView, our app currently uses ARView to render RealityKit AR content on iOS and iPadOS. Is it recommended that we migrate to RealityView, or can we safely continue using our existing ARView implementation? We'd prefer to avoid unnecessary development cost. If migrating from ARView to RealityView is recommended, what specific benefits should we expect from this transition? Thank you.
1
0
161
Jun ’25
Reply to Unable to compile Core Image filter on Xcode 26 due to missing Metal toolchain
Mine works by Deleting Xcode-beta.app , Reinstalling and follow the command line workaround (with t in plist in the second line) again I also had this problem and already downloaded metal toolchain in XCode. I followed 3 line command line workaround from release note and found many error from xcodebuild didn't point to xcode but CommandLineTool instead -> fix with this https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error something not exist when running sed ... -> add the missing t to the plis at the end of the line can't import component -> I tried xcodebuild -deleteComponent metalToolchain and importComponent again but it didn't work I guessed that the reason mine didn't work while other people's worked may come from something that happened when I download the MetalToolchain component in Xcode may obstruct the commandline workaroound. So, I tried deleting the Xcode-beta.app, deleting things in /tmp folder that the commandline download. ensure anything else crea
Topic: Graphics & Games SubTopic: Metal Tags:
Jun ’25
Reply to Sample code for WWDC25 Session
Hello, David, Thank you very much for bringing this up, I also had a look for it and could not find it yet. Perhaps, they just forgot to put the link onto the page… As you know, it is always difficult to reach Apple for things like that — please feel free to file a bug report on this. Put WWDC25 in the title — and complain. No joke. They will read this ;-) And please come back here and post the number of your bug report here too. Also no joke. They will read this ;-) I will do the same now, I already mentioned it in the online/DeveloperApp survey. See you ;-) UPDATE: My Feedback ID is FB18100457
Topic: Graphics & Games SubTopic: RealityKit Tags:
Jun ’25
Reply to Please provide bounds for ViewAttachmentComponent
Thanks both of you. Now I got more idea why this wasn't working when I showed it to Sydney in the labs, but also, Allan from RealityKit got me covered in the next Lab by pointing at the new SpatialContainer. ViewAttachmentComponent Update: SIMD3(0.036764707, 0.008455883, 0.0) Entity with ViewAttachmentComponent Update: SIMD3(0.073529415, 0.016911766, 0.0) PS @Michael: You meant to write points not meters, right, in the Text?
Topic: Spatial Computing SubTopic: General Tags:
Jun ’25
Data used for MLX fine-tuning
The WWDC25: Explore large language models on Apple silicon with MLX video talks about using your own data to fine-tune a large language model. But the video doesn't explain what kind of data can be used. The video just shows the command to use and how to point to the data folder. Can I use PDFs, Word documents, Markdown files to train the model? Are there any code examples on GitHub that demonstrate how to do this?
2
0
139
Jun ’25
Reply to Horrendous Swift overlay of vDSP Fourier Transform functions
Summary of related routines Getting data to expected form/type // 1. idiomatic Swift, but pyramid of doom let a = [1,2,3,4] a.withUnsafeBufferPointer { pa in var one : Int32 = 1 withUnsafeMutablePointer(to: &one) { pone in // LAPACK routines pass ALL parameters by reference. // Luckily most vDSP functions don't do this sgemm_(pa.baseAddress!,pone, ...) } } // 2. Manual memory management. Always remember to deallocate. At least we have type checks let b = UnsafeMutableBufferPointer .allocate(capacity: 16) let c = UnsafeMutableBufferPointer .allocate(capacity: 16) defer { b.deallocate(); c.deallocate() } Let's setup some data: 16 complex values in split complex form. _ = b.initialize(from:[0,0.1,0.3,0.5, 0.7,0.9,1,1, 1,0.9,0.7,0.5, 0.3,0.1,0,0]) c[0..<12] = b[4..<16] c[12..<16] = b[0..<4] print(Array(c)) // Remember, array has value semantics, and Array(c) won't follow c's subsequent updates var d = UnsafeMutableBufferPointer.allocate(capacity: 16) var e = UnsafeMutableBufferPointer.all
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to How to disable automatic updates to MPNowPlayingInfoCenter from AVPlayer
Thank you for your reply, I also just had an AVKit lab and this indeed seems like an issue with the framework(s). To follow up, I filed a feedback (FB18058056) mentioning yours and this discussion. I also realized that using the CustomAVPlayerView as shown above actually works as long as the app doesn't configure the MPRemoteCommandCenter (by adding targets to the shared instance). In my use case, I do have to configure it (as for many other I recon) so I had to come up with another fix. Personally what I did is to pass the scenePhase to the views configuring/displaying the videos so that when the app enters the .inactive or .background state I can pause the AVPlayers and setup the nowPlayingInfo again (either to nil or current audio). I also do this cleanup as soon as the view disappears (via .onDisappear{}). Ultimately this is not great as there are still some side-effects, for example, If no audio is playing but the user simply opens the view with the video players, the app will appear as Now Play
Topic: Media Technologies SubTopic: Video Tags:
Jun ’25
UICollectionView with orthogonal (horizontal) section not calling touchesShouldCancel(in:)
I have a UICollectionView with horizontally scrolling sections. In the cell I have a UIButton. I need to cancel the touches when the user swipes horizontally but it does not work. touchesShouldCancel(in:) is only called when swiping vertically over the UIButton, not horizontally. Is there a way to make it work? Sample code below import UIKit class ConferenceVideoSessionsViewController: UIViewController { let videosController = ConferenceVideoController() var collectionView: UICollectionView! = nil var dataSource: UICollectionViewDiffableDataSource ! = nil var currentSnapshot: NSDiffableDataSourceSnapshot ! = nil static let titleElementKind = title-element-kind override func viewDidLoad() { super.viewDidLoad() navigationItem.title = Conference Videos configureHierarchy() configureDataSource() } } extension ConferenceVideoSessionsViewController { func createLayout() -> UICollectionViewLayout { let sectionProvider = { (sectionIndex: Int, layoutEnvironment: NSCollectionLayoutEnvironment) -> NSCollectionLayo
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
68
Jun ’25
Reply to Old style tab bar
Here's what we said in WWDC25 Platforms State of the Union: As you evaluate your app's UI and the time you need to adopt the new design, we're providing an option to continue to use your app's current design with Xcode 26. We intend this option to be removed in the next major release. — Ed Ford,  DTS Engineer
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25
Sample code for WWDC25 Session
Hi! I watched the WWDC25 session Bring your SceneKit project to RealityKit which seemed like a great resource for those of us transitioning from the now-deprecated SceneKit framework. The session mentioned that the full sample code for the project would be available to download, but I haven't been able to find it in the Code section of the video page or in the Sample Code Library. Has the sample code been released yet? Having the project code would make it much easier to follow along with the RealityKit changes shown in the video. Thanks again for the great session.
4
0
260
Jun ’25
Reply to PHP and Swift interoperability
There was some discussion of language interoperability at WWDC25 this year. Please see the WWDC25 session Explore Swift and Java interoperability and the Related sessions listed on that page. Also, for server related stuff you may be interested in this Swift on Server article. For anything else you're thinking of that's not covered in those items, perhaps consider filing an enhancement request or participating in the Swift open source project. You can file an enhancement request using the Feedback Assistant. If you file the request, please post the Feedback number here so we can make sure it gets routed to the right team. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’25
Reply to Using .glassEffect in Charts
Generally speaking, Liquid Glass is not a part of Swift Charts. For recommendations about using Liquid Glass I suggest reviewing the WWDC25 sessions about Liquid Glass. They discuss many considerations about how and where to employ the new Liquid Glass GUI features.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25
Guideline 3.1.1 - Business - Payments - In-App Purchase
I have been spending countless amounts of time making sure my application abides by the rules laid out by Apple App Guidelines. Most recently I got this rejection from App Review: _**Guideline 3.1.1 - Business - Payments - In-App Purchase ** The app includes an account registration feature for businesses and organizations, which is considered access to external mechanisms for purchases or subscriptions to be used in the app. **Next Steps ** Remove the account registration features for business and organizations._ After asking for the review to clarify what they mean they said: _Regarding guideline 3.1.1, users were still able to create an entirely independent business account, when they create a new account without the invite code. To resolve this issue, it would be appropriate to remove the account registration features for business and organizations._ But the problem is that There are no different account types in our app. ALL users create company accounts - there is no individual vs business distinction. U
1
0
101
Jun ’25
Reply to Autogenerated UI Test Runner Blocked By Local Network Permission Prompt
Sorry, let me better explain what I meant, I typed it incorrectly in the previous post. For some additional context, we build web browsers so it's very normal for us to be running a local web server during UI/integration testing to provide web pages to test certain features with while ensuring we're not hitting the network directly to get better determinism in our tests. Here's a truncated diagram of our system architecture for CI today: [root] launchd ↳ [user] ~/Library/LaunchAgent/github.actions.runner.plist ↳ [user] xcodebuild ... test What I've prototyped is not actually moving the agent to a daemon (this is not possible due to the requirements that GitHub's runner software has. Instead, I'm proposing that we run the xcodebuild ... test command with sudo. This would modify our architecture slightly to look like this when, and only when, we run the testing job. [root] launchd ↳ [user] ~/Library/LaunchAgent/github.actions.runner.plist ↳ [user] sudo xcodebuild ... test This means we have to add xcodebuild to
Jun ’25