Questions tagged ios-simulator

Explore the latest questions and answers asked by our top developers.

SwiftUI Gradient rendering incorrect colors on simulator

When running on the simulator, Gradient is rendering colors incorrectly. When running on a device, Gradient renders the colors correctly. How can I get Gradient to render colors correctly on the simulator so that I can capture accurate screenshots? Simulator versus device: Example View with Gradient: struct GradientView: View { private static let backgroundGradientColors: [Color] […]

By Daniel Storm
Published
Categorised as ios, ios-simulator, ios14, swift, swiftui Tagged , , , ,

Cannot build project with Xcode 12.0 beta 4

I downloaded Xcode 12.0 beta 5 and I’m trying to build my project, but I received the following error: <unknown>:0: error: unable to load standard library for target ‘arm64-apple-ios9.0’ I tried searching online for solutions, but none of what I found helped me to solve this error. I found this thread on SO but none […]

By Dree
Published
Categorised as ios, ios-simulator, swift, xcode12 Tagged , , ,

Cannot build project with Xcode 12.0 beta 5

I downloaded Xcode 12.0 beta 5 and I’m trying to build my project, but I received the following error: <unknown>:0: error: unable to load standard library for target ‘arm64-apple-ios9.0’ I tried searching online for solutions, but none of what I found helped me to solve this error. I found this thread on SO but none […]

By Dree
Published
Categorised as ios, ios-simulator, swift, xcode12 Tagged , , ,

FBSOpenApplicationServiceErrorDomain

Got this strange error when running a unit test. It only appears when running the tests by Xcode. Running the app works correctly. Running the test by command line tool also works. Any idea about the reason? Thanks! DetailsThe request to open "org.cocoapods.UnitTestHost" failed. Domain: FBSOpenApplicationServiceErrorDomain Code: 1 Failure Reason: The request was denied by […]

By Bing
Published
Categorised as ios, ios-simulator, xcode, xctest

How to use dark mode in simulator iOS 13?

While I am developing the iOS app I need to test it in simulator with dark mode option so I can get more clarity about the app UI. But when I go to the Setting I am not getting option for dark mode as real device showing. Source: Ios

By Mr Javed Multani
Published
Categorised as ios, ios-darkmode, ios-simulator

The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1

I’m getting this below warning message in my Xcode 10.1. The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1. My simulator os in 12.1 Xcode 10.1 And i updated my pod file. My deployment target is 9.0 In my target […]

By iOS
Published
Categorised as cocoapods, google-fabric, ios, ios-simulator, xcode

Change Keyboard in XCUITest/Simulator

I want to change the keyboard language programatically for my XCUITests to try various different keyboards. I’ve tried: XCUIApplication().launchArguments += [“-AppleLanguages”, “(fr)”] XCUIApplication().launchArguments += [“-AppleLocale”, “fr_FR”] But this only changes language and locale, but it still keeps simulator default keyboard. I know I could probably do it by going to the settings app (inside of […]

By Nilsymbol
Published
Categorised as ios-simulator, swift, xcode, xctest, xcuitest

App runs perfectly on simulators but not on any physical devices [on iOS 13.3.1]

The app runs perfectly on every simulator but when I try to run it on a physical device , it shows the following error :- I also tried to run it on various physical devices like iPhone 6 , iPhone 7 and iPhone 11. After that I came to a conclusion that the error is […]

By Shivam Parmar
Published
Categorised as ios, ios-simulator, iosdeployment, swift, xcode

Can’t delete Alex voice from the iOS simulator

I’m working with iOS voices for accessibility reasons. In iOS simulator I’ve tried to install Alex voice which is one of the most popular English voices. To choose it I downloaded it first. However, after that, the voice looks like something between enabled and disabled. E.g. for Allison I see that it’s not downloaded hence […]

By Gregory Yanushkovskiy
Published
Categorised as accessibility, ios, ios-simulator, voiceover

Accessibility Inspector not working on Xcode 11.x, iOS 13.x on MacOS Catalina & Mojave

I am unable to inspect any elements using the Accessibility Inspector on iOS 13.2 and higher simulators running on Mac OS Mojave or Catalina. Has anyone else also encountered this issue and if so, is there a solution to this? I did not encounter this issue on iOS 12 Simulators, though. Source: Ios

By mark w
Published
Categorised as accessibility, ios, ios-simulator, ios13, xcode11
1 2

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq