Post

Replies

Boosts

Views

Activity

Reply to Please, restore VisionOS simulator for Intel-based Macs.
I am considering downgrading my OS to Ventura to deal with this. But at @waldgeist said, it's probably not the best experience. If I'm trying to get a job developing for AVP, is this even worth trying? For context, my runway for staying unemployed will be reduced by approximately a week if I upgrade my laptop (assuming I can trade-in my laptop and pay a $600 price difference.)
Jan ’24
Reply to Define main window in visionOS
And even if the first window to open includes openWindow commands, they seem to not execute, as is the case when the LaunchView is the first to open when relaunching this example app. My Application Scene Manifest's (UIApplicationSceneManifest) Preferred Default Scene Session Role (UIApplicationPreferredDefaultSceneSessionRole) is Window Application Session (UIWindowSceneSessionRoleApplication). import SwiftUI @main struct ExampleApp: App { var body: some Scene { WindowGroup { LaunchView() } WindowGroup(id: "GameControlWindow") { GameControlWindow() .padding() } WindowGroup(id: "GameVolume") { GameView() } .windowStyle(.volumetric) } } struct LaunchView: View { @Environment(\.openWindow) var openWindow var body: some View { EmptyView() .onAppear() { openWindow(id: "GameControlWindow") openWindow(id: "GameVolume") } } }
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’24
Reply to Hand tracking permission (VisionOS)
This can be handled at the app level. You can write your handler for the case where the permission is denied, and request permission again by running session.requestAuthorization(for:) again, perhaps as the result of the user clicking a button on an alert dialog explaining why the permission is necessary to use the app.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’24
Reply to When will Xcode Cloud use Apple Silicon machines for running workflows?
I'm also curious about this, and my reason is that the Xeon macs lack support for Metal. As a result visionOS app fails to build in Xcode Cloud with the following error. I haven't tried it but, does this mean no app using Metal libraries can be built in Xcode Cloud, or is the build process in this case only failing because it's actually trying to run Metal to execute compileSkybox? compileSkybox /Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/xxxx/InstallationBuildProductsLocation/Applications/xxxx.app/ImageBasedLighting.rclink /Volumes/workspace/repository/xxxx/ImageBasedLighting.skybox (in target 'xxxx' from project 'xxxx') cd /Volumes/workspace/repository /Applications/Xcode.app/Contents/Developer/usr/bin/rctool create skybox -skyboxPath\=/Volumes/workspace/repository/xxxx/ImageBasedLighting.skybox -o\=/Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/xxxx/InstallationBuildProductsLocation/Applications/xxxx.app [91mError: [39m There is no available Metal device on this system. Command compileSkybox failed with a nonzero exit code
Aug ’24
Reply to Instruments in Xcode 15.3 not showing symbols
When you go to Product > Show Build Folder in Finder, and then Build/Products/Debug-iphonesimulator/, is there a file in that folder named {YourApp}.app.dSYM? If not, go to Build Settings and search "Debug Information Format" and set this to "DWARF with dSYM File" for your Debug builds. (It's probably already set to this for your Release builds.) I hope this helps you. If anyone else can help further, I'm still facing the same issue: I've changed this build setting, and have the .dSYM in my Product subfolder, and I've added that folder to the Search paths for dSYMS under Instruments > Settings > Symbols, but I still don't see the symbols in my traces.
Sep ’24
Reply to Please, restore VisionOS simulator for Intel-based Macs.
I am considering downgrading my OS to Ventura to deal with this. But at @waldgeist said, it's probably not the best experience. If I'm trying to get a job developing for AVP, is this even worth trying? For context, my runway for staying unemployed will be reduced by approximately a week if I upgrade my laptop (assuming I can trade-in my laptop and pay a $600 price difference.)
Replies
Boosts
Views
Activity
Jan ’24
Reply to QR / Image marker recognition with Vision Pro
Tracking Preregistered Images in VisionOS: https://developer.apple.com/documentation/visionos/tracking-images-in-3d-space
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Define main window in visionOS
And even if the first window to open includes openWindow commands, they seem to not execute, as is the case when the LaunchView is the first to open when relaunching this example app. My Application Scene Manifest's (UIApplicationSceneManifest) Preferred Default Scene Session Role (UIApplicationPreferredDefaultSceneSessionRole) is Window Application Session (UIWindowSceneSessionRoleApplication). import SwiftUI @main struct ExampleApp: App { var body: some Scene { WindowGroup { LaunchView() } WindowGroup(id: "GameControlWindow") { GameControlWindow() .padding() } WindowGroup(id: "GameVolume") { GameView() } .windowStyle(.volumetric) } } struct LaunchView: View { @Environment(\.openWindow) var openWindow var body: some View { EmptyView() .onAppear() { openWindow(id: "GameControlWindow") openWindow(id: "GameVolume") } } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Hand tracking permission (VisionOS)
This can be handled at the app level. You can write your handler for the case where the permission is denied, and request permission again by running session.requestAuthorization(for:) again, perhaps as the result of the user clicking a button on an alert dialog explaining why the permission is necessary to use the app.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to AVAudioEngine in Practice WWDC 2014 Session Video ?
I'd also like to know why this video and session 501 "What's New in Core Audio" were removed. Have they become too outdated to be useful? If so, it would be helpful if the video were still available with this notice displayed above it.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to When will Xcode Cloud use Apple Silicon machines for running workflows?
I'm also curious about this, and my reason is that the Xeon macs lack support for Metal. As a result visionOS app fails to build in Xcode Cloud with the following error. I haven't tried it but, does this mean no app using Metal libraries can be built in Xcode Cloud, or is the build process in this case only failing because it's actually trying to run Metal to execute compileSkybox? compileSkybox /Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/xxxx/InstallationBuildProductsLocation/Applications/xxxx.app/ImageBasedLighting.rclink /Volumes/workspace/repository/xxxx/ImageBasedLighting.skybox (in target 'xxxx' from project 'xxxx') cd /Volumes/workspace/repository /Applications/Xcode.app/Contents/Developer/usr/bin/rctool create skybox -skyboxPath\=/Volumes/workspace/repository/xxxx/ImageBasedLighting.skybox -o\=/Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/xxxx/InstallationBuildProductsLocation/Applications/xxxx.app [91mError: [39m There is no available Metal device on this system. Command compileSkybox failed with a nonzero exit code
Replies
Boosts
Views
Activity
Aug ’24
Reply to Command compileSkybox failed with a nonzero exit code
Related discussion with some replies from Quinn "The Eskimo!" can be found here: https://forums.developer.apple.com/forums/thread/734704?page=1#799604022
Replies
Boosts
Views
Activity
Aug ’24
Reply to How to set the scale unit of an Entity in Reality Composer Pro
Reality Composer Pro 2.0* does not have this Meters per Unit value. I have set the Cube Primitive size to 1 meter. I've also scaled it so that the walls of my object are 10m. However, the resulting object is extremely small. *using 448.0.12.508.1
Replies
Boosts
Views
Activity
Aug ’24
Reply to Uploading an Archive to App Store Connect with XCode 16 Beta 3 and visionOS SDK 2 beta 3.
I was experiencing the same with Xcode 16 Beta 5. Upgrading to Xcode 16 Beta 6 (currently the latest) fixed this for me.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Animated USD file | Starting position of the USD is not the same as first frame of animation
I downloaded the file and played it back in RCP, and the plane rises and falls smoothly to and from 0 over the course of the animation for me. Is it possible you accidentally altered the animation data at some point? Where did you land with this? I know it's been months but... still curious.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Instruments in Xcode 15.3 not showing symbols
When you go to Product > Show Build Folder in Finder, and then Build/Products/Debug-iphonesimulator/, is there a file in that folder named {YourApp}.app.dSYM? If not, go to Build Settings and search "Debug Information Format" and set this to "DWARF with dSYM File" for your Debug builds. (It's probably already set to this for your Release builds.) I hope this helps you. If anyone else can help further, I'm still facing the same issue: I've changed this build setting, and have the .dSYM in my Product subfolder, and I've added that folder to the Search paths for dSYMS under Instruments > Settings > Symbols, but I still don't see the symbols in my traces.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Invalid Numeric Value (NaN) Error in SwiftUI's TextField on Long-Press
Here's hoping they have a Radar for this back there.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Change IOS Simulator directory.
I have tried both symlink and alias, and I've had no luck with an SSD that links to /Volumes/External/CoreSimulator from /Library/Developer/CoreSimulator Using a Samsung T7, MacOS Sonoma 14.6, Xcode 16.0
Replies
Boosts
Views
Activity
Oct ’24