My device has an M2 Max chip, and I am using Xcode version 15.1 Beta 3. My app runs normally in iOS and iPad simulators, but when I attempt to run it in the Vision Pro simulator, even though the compilation is successful, a dialog box appears stating, 'AppName's architectures (Intel 64-bit) include none that Apple Vision Pro can execute (arm64).' Consequently, the app is not successfully installed in the Vision Pro simulator. Additionally, my project uses Cocoapods for dependency management. I would appreciate any help, thank you!
I am unable to run my iPad app on the Vision Pro simulator
If you create a new project from one of the built-in iOS templates, do you have the same problem with that?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
did you solve it. I have the same issue. is that because your iOS project has x86_64 dependencies? Vision Pro's simulator does't have rosette version
I have the same issue too....
My problem is solved:
1 main project:
- Switch to the "Build Settings" tab.
- Find the "Architectures" and "Valid Architectures" settings and make sure x86_64 has been removed.
- Add x86_64 to "Excluded Architectures" to ensure Xcode doesn't try to compile for this architecture.
2 Pods project:
- To be in Podfile:
- config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = 'arm64e arm64'
- config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
3 The most important:
When facing xcode, remember to clear DerivedData. This is the most very very very important thing.
The pod to report an error in the current target, Pods/Bugly/Bugly.framework/Bugly[arm64][2] libBugly.a-arm64-master.o ) built for 'iOS'