Simulator

RSS for tag

Rapidly prototype and test builds of your app during the development process using Simulator.

Posts under Simulator tag

201 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Entity not reacting to light and not casting shadow in VIsionOS Simulator
Hi Guys, I've been trying to put my model to react to light in visionOS Simulator by editing the component in Reality Composer Pro and also modifying it by code, but I can only put the shadow if I put it as an usdz file, it's not as reflective as when I see it on reality converter or reality composer pro, does someone have this problem too? RealityView { content in if let bigDonut = try? await ModelEntity(named: "bigdonut", in: realityKitContentBundle) { print("LOADED") // Create anchor for horizontal placement on a table let anchor = AnchorEntity(.plane(.horizontal, classification: .table, minimumBounds: [0,0])) // Configure scale and position bigDonut.setScale([1,1,1], relativeTo: anchor) bigDonut.setPosition([0,0.2,0], relativeTo: anchor) // Add the anchor content.add(anchor) // Enable shadow casting but this does not work bigDonut.components.set(GroundingShadowComponent(castsShadow: true)) } }
1
0
436
Jan ’24
Custom library/framework with ARCHS = $(ARCHS_STANDARD) not running in iOS simulator
We have one custom library/framework with ARCHS = $(ARCHS_STANDARD) under build settings. I export the library/framework with "Any iOS device" target and export the library/framework. But when we try to integrate this custom library/framework in to another project ( M1 with xcode 14.2 with rosetta enabled ) its not running in iOS simulator. Getting error like. : Unsupported Swift architecture Note : Its running fine in real device.
2
0
460
Jan ’24
Build Errors for iPhone Simulator: Missing Headers and Precompiled Header Issue
Hi everyone, I'm encountering compile errors when building my iOS project for the iPhone 15 Pro (17.0.1) simulator. The errors are: 'GoogleSignIn/GoogleSignIn.h' file not found: This error occurs in my AppDelegate.h file. 'FirebaseCore/FirebaseCore.h' file not found: This error occurs in the Firebase.h file within my Pods directory. Failed to emit precompiled header: This error relates to my bridging header. Importantly, these errors do not occur when building for a physical device. Here's some additional information: Xcode Version: 15.1 Simulator Details: Any iPhone simulators I'd appreciate any insights or suggestions to resolve these errors. Thank you! Additional Information: I am using the MacBook Air M2 with the latest MacOS Sonoma. The project pod file contains this platform :ios, '13.0' use_frameworks! target 'GMAEntertainment' do pod 'AlamofireImage' pod 'Alamofire' pod 'AFNetworking', '~> 4.0.1' pod 'InMobiSDK' pod 'TwitterKit' pod 'GoogleSignIn', '~> 6.2.2' pod 'Firebase' pod 'Firebase/Auth' pod 'Firebase/Core' pod 'Firebase/Messaging' pod 'Firebase/Analytics' pod 'Firebase/Crashlytics' pod 'Protobuf', '~> 3.21.5' pod 'Google-Mobile-Ads-SDK', '7.67.0' pod 'MaterialComponents/Snackbar' pod 'FBSDKCoreKit', '~> 16.1.3' pod 'FBSDKLoginKit', '~> 16.1.3' pod 'FBSDKShareKit', '~> 16.1.3' pod 'DailymotionPlayerSDK' pod 'ReCaptcha/RxSwift' pod 'MBProgressHUD' pod 'GoogleAnalytics' pod 'MaterialComponents/Ripple' pod 'SkeletonView', '~> 1.29.0' post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' end end end frameworks use_frameworks! target 'GMAEntertainmentTests' do inherit! :search_paths # Pods for testing end end Looking forward to your help! Regards,
0
0
285
Jan ’24
Simulator device returned an error for the requested operation. The parent bundle has the same identifier as sub-bundle
Two days ago everything was working fine. Then I decided to step on with the OneSignal Sdk and the problems starts to come. Now I have two big problem but I want to go with order and begin from the first and maybe the second will follow. When I try the app on emulator, it builds fine but stopped immediately with The parent bundle has the same identifier (com.domain.bundlename) as sub-bundle at /Users/myname/Library/Developer/CoreSimulator/Devices/F2D73A5F-1B86-4D2D-9989-518387D0FB24/data/Library/Caches/com.apple.mobile.installd.staging/temp.O4MORK/extracted/Runner.app/Frameworks/App.framework (com.domain.bundlename is for obscuring the real ones) Then I tried creating a new emulator device, but I got the same error. No clues on my internet search.
1
0
1.1k
Jan ’24
Strange visionOS Simulator
I found that my visionOS Simulator is very strange. Many functions and features are missing. For example, I learned from the Internet that the immersive scenes of Environments in their visionOS Simulator can be opened, but I click There was no response after the attack. There are not only these, but also many system features. I saw on the Internet that other developers have them, and I am missing. I'm worried that this will have an impact on me when testing my app. May I ask why? Some information: My updated Xcode version is the latest Xcode15.1Beta. Device: iMac (2021) Simulator system number: 21N305
0
0
362
Jan ’24
Should Photo Extensions work in iOS simulators?
When I: open an existing project create a new PhotoExtensions target run the new target in an iOS simulator (eg iPhone 15, iOS 17.0) Select photos as the app to run Open a photo Tap the ... button at the top right I see: Copy, Duplicate, Hide, etc. But I do not see my new Extension. Is there something else I need to be doing in order to see my new Extension in 'action'?
1
0
478
Jan ’24
Problems in the iOS Simulator's Photos app?
When I: open a simulator (eg iPhone 15, iOS 17.0) open the Photos app tap on an image (either one that comes included, or something I've saved to PhotoRoll) tap Edit I see the typical Photos Edit view with two key differences. the image is not visible, the middle of the view is all black there are now Cancel/Done/Dismiss buttons. I need to force quit to get back to the Springboard (Is that still the correct term?) Am I doing something wrong, or should the simulator's Photo's app be providing a better edit experience?
1
0
389
Jan ’24
Xcode 15, Apple Watch and iPhone Simulator, Simultaneously
I am trying to run the watch and iphone simulator at the same time. I have removed all simulators using Xcode Devices & Simulators panel and created a single iPhone with a paired Apple Watch to eliminate as many variables as possible. I have two schemes, my iPhone app scheme and a Watch scheme. The Watch is NOT set to run independently. My problem is that I can not start the iPhone simulator and the watch simulator and debug both at the same time. As soon as I start one or the other the currently running process is killed, making it impossible to debug both at the same time. I feel like I had this working at one point so I'm not sure if this is a regression or not. Using Xcode 15.1.
0
0
482
Jan ’24
Error installing iOS 17.2 Simulator Xcode
Hello and happy new year to all! I've updated Xcode but I'm having a problem installing the iOS 17.2 Simulator. It's the 4th time I'm trying to download it, but it gives me this error: I've also download watchOS which is successfully installed, but I can't understand why only iOS is having some issues. If someone knows how to fix this issue, please help me, I'm unable to use Xcode without the iOS simulator :( Thanks in advance.
3
2
2.0k
Jan ’24
Unable to Remove App Installed from Simulator
In the latest updates, the app I am testing using the simulator cannot be removed. Clicking on the quick menu with the option to 'Remove App' does not yield any result. Another issue pertains to running the app. Two out of three runs are successful, but on the third attempt, I encounter a black screen or have to wait up to 5-10 minutes before the run. Xcode status bar shows message: "Installing ... to iPhone ..." The only solution is to close and restart the simulator, which doubles the time required to work on a single feature.
0
0
332
Dec ’23
iOS 17.2 Simulator Error Xcode
Hello i downloaded Xcode from the AppStore and when i try to run the Simulator, there's a message saying to GET iOS17.2 to run the Simulator, then i click on GET and when the download is ended i get this error always (See image attached) FAILED - REGISTERING SIMULATOR RUNTIME WITH CORESIMULATOR FAILED How can i solve this? Many thanks for your time
4
0
3.4k
Dec ’23
iOS 17 Simulator Issue: Error Message and lag when playing audio via AVAudioPlayer
When I play a m4a file on the new iOS 17 Simulator (17.0 and 17.2), the following error message appears and there is a noticeable lag on the simulator. The error and the lag don't happen on a real device (iOS 17.2) or the 16.4 simulator. This significantly affected my development experience as when there's a sound, I can't tell whether there's a performance issue of my code or not. Error Message: AudioQueueObject.cpp:5933 DetermineMetadataTimestamp unable to obtain valid timestamp, estimate:33506.000000 Code: var player: AVAudioPlayer! let url = Bundle.main.url(forResource:"k-be", withExtension: "m4a")! if player != nil { player?.stop() player = nil } player = try AVAudioPlayer(contentsOf: url) guard let player = player else { return } player.play() Here's the Feedback ID: FB13473463 (iOS 17 Simulator: Error Message and lag when playing audio via AVAudioPlayer) Thanks!
7
7
1.9k
Feb ’24
On recent versions of Xcode, in iOS simulators the ability to enable the 'Zoom' feature in accessibility is disappearing. Is there any solution to this ?
I develop an application on iOS 13.0+ and we use a proprietary SDK for maps, so our situation is a bit more specific than usual. We have always had problems with the Zoom feature, and always appreciated the ability to simulate it in the Xcode simulators. I understand I cannot do anything against this, but is there any workaround or, at least somebody that knows the reason why they are removing it ? it is disappeared also if you select a simulator with a lower deployment target. Thanks for the attention.
2
0
421
Dec ’23