Post

Replies

Boosts

Views

Activity

Reply to Navigation: update multiple times per frame
I'm having the same problem. My app would just freeze on a black screen on launch and would do absolutely nothing until I commented out all the .navigationDestination() calls. I was able to hack around it by elevating the .navigationDestination() calls closer to the NavigationStack they're in. This obviously isn't ideal and doesn't allow for as easily passing data nested in a view, but it's working for me for now. Maybe it was just my misunderstanding of the API in the first place and the navigationDestinations aren't supposed to depend on any data in the view presenting them other than what's passed in explicitly in the call. Most of my calls were just passing in the data for the View plus a binding to the NavigationPath, so it wasn't a problem to elevate them. Hope this helps someone.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’22
Reply to PNG with transparency as plane texture
So is there any updated way to do this in iOS 15? baseColor and tintColor are deprecated so you can't set the baseColor to the image texture and the tint to a slightly transparent white anymore. I've gotten it to work to some extent with this code, but it's still not right. ... let colorTexture = MaterialParameters.Texture(imageTexture) var imageMaterial = UnlitMaterial() imageMaterial.color = .init(tint: tint.withAlphaComponent(0.9999), texture: colorTexture) It renders correctly with just the opaque parts of the image until you move and then it shows the transparent plane behind it, which would be fine if there wasn't any content behind it, but that's not very flexible. Here's what it looks like: Using a SimpleMaterial doesn't help and leaves the image darker than it should be. Placing the icons in front of the background plane by 0.02-0.1 reduces the frequency of the effect but it can still happen. Additionally, 0.1 is way too far forward for many applications. What's the best way to fix this iOS 15? Do I just need to wait for iOS 16? Thanks.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Apr ’22
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Same here. Thought it was related to updating to 26.3.1 last night but I guess not?
Replies
Boosts
Views
Activity
1w
Reply to Xcode Cloud workflow stuck in Archive
I'm having this issue as well on Xcode 26.1 (17B55) and macOS 26.1 (25B78). My last successful run for this app was on the same environment on the 13th November, 2025. Xcode 26.1.1 (17B100) also has this same issue.
Replies
Boosts
Views
Activity
Nov ’25
Reply to Animated Custom Transitions Crash using Swift 6
This was fixed in Xcode 16.3 or 16.4, this code no longer crashes.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Xcode Cloud builds failing with random 502 errors when resolving packages
I'm still seeing this issue. I'm already using an SSH key for GitHub auth so I don't think that was it. Looks like if I just wait, Apple might resolve it though. Update: It's working now
Replies
Boosts
Views
Activity
Apr ’24
Reply to Xcode Cloud not loading in App Store Connect - The page you’re looking for can’t be found.
Same here. What may have caused it on my end is I had to update the app bundle ID of my app so I renamed the original app to a different name and created a new app on App Store Connect with the original name but a new app bundle ID. Not sure if it's related, but thought it might be.
Replies
Boosts
Views
Activity
Nov ’23
Reply to PhaseAnimator on presented View crashes the app
Yeah same problem. Mine is a continuous animation when enabled, so I just added a trigger and this method to make it work. Otherwise the app would just stall out and do nothing. .onAppear { trigger.toggle() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to How do I get MeshResource.generateText() to anchor to something other than the camera using RealityKit and SwiftUI?
Very late reply, but I just had the font size as way too big so I couldn't tell I was walking around something so large. Font size for this function is hundreds of times bigger than a normal 2D font in SwiftUI or UIKit. So the answer is to use a font size like 0.1.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Navigation: update multiple times per frame
I'm having the same problem. My app would just freeze on a black screen on launch and would do absolutely nothing until I commented out all the .navigationDestination() calls. I was able to hack around it by elevating the .navigationDestination() calls closer to the NavigationStack they're in. This obviously isn't ideal and doesn't allow for as easily passing data nested in a view, but it's working for me for now. Maybe it was just my misunderstanding of the API in the first place and the navigationDestinations aren't supposed to depend on any data in the view presenting them other than what's passed in explicitly in the call. Most of my calls were just passing in the data for the View plus a binding to the NavigationPath, so it wasn't a problem to elevate them. Hope this helps someone.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to PNG with transparency as plane texture
So is there any updated way to do this in iOS 15? baseColor and tintColor are deprecated so you can't set the baseColor to the image texture and the tint to a slightly transparent white anymore. I've gotten it to work to some extent with this code, but it's still not right. ... let colorTexture = MaterialParameters.Texture(imageTexture) var imageMaterial = UnlitMaterial() imageMaterial.color = .init(tint: tint.withAlphaComponent(0.9999), texture: colorTexture) It renders correctly with just the opaque parts of the image until you move and then it shows the transparent plane behind it, which would be fine if there wasn't any content behind it, but that's not very flexible. Here's what it looks like: Using a SimpleMaterial doesn't help and leaves the image darker than it should be. Placing the icons in front of the background plane by 0.02-0.1 reduces the frequency of the effect but it can still happen. Additionally, 0.1 is way too far forward for many applications. What's the best way to fix this iOS 15? Do I just need to wait for iOS 16? Thanks.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Apr ’22