Newest 'ios-simulator' Questions

Q&A for professional and enthusiast programmers

ILPDFKit iOS App Cocoapod Doesn't Work?

I'm using the ILPDFKit Github, but I'm having trouble getting the sample code to work... I've been trying to figure this out for a few days as I'm new to Cocoapods, but for some reason, when I attempt ...

How to install an app by drag-and-drop onto the Simulator window?

I have seen the following feature in the change log for Xcode 8.2 https://itunes.apple.com/us/app/xcode/id497799835?mt=12 Simulator installs an app by drag-and-drop onto the Simulator window But I ...

is 'dyld library not loaded- image not found' an error in the simulator or an error in the app extension?

When I run a build with the simulator it crashes with this error, saying 'dyld: Library not loaded' and also 'image not found'; dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from:...

An Issue Running Adobe Air App on iPhone Simulator

I'm trying to deploy an Adobe AIR application to an iPhone, and while building it as an ipa and deploying using itunes works, the app is not running correctly so I need to debug using the simulator, ...

Ionic1 Deploy Issue

I have developed an app with Ionic 1. I just joined an apple developer program and am currently testing it using a simulator and my own device. If I run a simulator from ionic CLI, the app works with ...

icon badge not appear in IOS 10 simulator

I expect to see a bubble icon badge number after clicking the button that should set a bubble number of app icon - but- I dont see any numbered bubble in icon after pressing homebutton. my question: ...
+50

Xcode simulator not calling traitCollectionDidChange

I am overriding traitCollectionDidChange(_) to update my compact and regular constraints. When I test this on a device by rotating the constraints get updated correctly. When I however try to test the ...

How to implement and test “Invite Friends” feature in a Simulator for iOS 10?

I would like to implement the "Invite Friends" feature in my project (which is a Multiplayer game). I have one device (with my iCould and Game Center accounts) and the simulator (with a second iCloud ...

react-native ios simulator touch not working

I am trying to write my first react native app. I cannot seem to get "TouchableHighlight" to work. I think I have wrapped the text correctly but in the IOS simulator nothing happens. Code compiles ...

Why there is no simulators in my Target?

I searched the stackoverflow, and find litte, ask me to install the simulators from Xcode.I think this is not the solution. Because my other project has the list of simulators. Compire: There is ...

iPad Pro simulator + cocos extremely slow on Macbook Air 4 GB RAM

iPad Pro simulators are so slow that they become practically useless when running my cocos2dx game. Theoretical FPS displayed is 60, but all animations take minutes instead of seconds (e.g. 30 seconds ...

Getting current coordinates in the iPhone 6 Simulator on MacBook

I am working on a Xamarin Project where i have to get the current coordinates. I have configured Freeway Drive on Location settings of the simulator. Though Project / App is picking Cupertino, CA ...

open ios simulator from login items mac

I'm not sure if this is possible. To open the simulator directly without using the xcode I just pop it into the dock and open it by just clicking it, but I want it to boot to the system from the ...

Getting a screenshot of a gradient in the iOS Simulator looks weird

I'm trying to get a screenshot of a view that has a CAGradient layer. The issue I am experiencing is that the simulator will not let me take the screenshot without getting a lot of banding on the ...

Index.js.map file missing when starting an angular-cli app in iPad-simulator

When starting an angular-cli project, version "1.0.0-beta.22-1" in the iPad simulator it throws an error because of a missing index.js.map file. I can start the app in any other browser outside of the ...

Error on iPhone but not on the simulator

Since today i was running my app on Simulator with the 6s on iOS 10, but now I am running it on the iPhone 7. It shows me the following error when i press the Save button: Thread 1: EXC_BREAKPOINT (...

How does the iOS simulator os macOS determine if it is offline or not?

So, recently I get this error coming up a lot in our builds on Jenkins: [00:28:47]: ▸ testSendingLocalModifications, failed - Failed to log in loginWithUsernamePasswordFailed(Error Domain=...

iOS simulator : How can I see the background apps?

How can I see the background apps on iOS simulator ? What is the keyboard shortcut for it or what I have to select from the simulator menu ?

iOS Simulator Works only when app is run from Xcode

I have this strange issue where - In viewWillAppear() of a ViewController, I have a function that does a GET service call and stores the response in a global variable. The response is a simple array ...

CloudKit error using watchOS 3

I believe I have everything set up right, and everything works for CloudKit in the iOS Simulator, but I can't get CloudKit to work in the Watch Simulator: "Couldn't send a valid signature" Does ...

url is not working in Safari on IPad and Simulator

If I click a button in my app , I am launching safari browser with an url. That url webPages are coded in javaScript. Safari is loading the url but the functionalities on the webpage are not working. ...

Working on iOS 9.3 simulator gives this error in xcode 8.1

I have to test my app in iPhone 4S in Xcode 8.1 so I installed 9.3 simulator in xcode but when i build my app I got this error.

XCode Simulator view (not display) is cut off

I just started using XCode and my simulator is acting weird. On launch, it only displays lower half of the screen while the upper half is cut off. And on resizing simulator window, simulator view ...

SDK not found in Xcode 8 when I add in base SDK it shows this

To test my project on iPhone 4S I have installed the iOS 9.3 in Xcode 8 but when I mention iphoneos(9.3) in base SDK it shows "SDK not found". I also have changed my deployment target to 9.3. Kindly ...

iOS 10, Xcode 8 Simulator Won't Launch

When I try to run my iOS app in the simulator, I get this error: Unable to lookup service com.apple.CoreSimulator.host_support: 0x3 The app runs just fine when I deploy to my phone. I am on macOS 10....

iOS Simulator video recording with 'xcrun simct' give error

While checking Xcode 8.2 changes I found that now we can record simulator using Terminal. So I am trying to record video from iOS simulator as describe in this Apple Document. Taking a Screenshot or ...

Can I add a music library to the Xcode iOS Simulator?

I'm trying to create a music player for iPhone and iPad. I get it working perfectly on my iPhone and iPad because those actually have a music library. However I want to use fastlane and some other ...

Chinese input in iOS simulator

I am using a UITextField, and want to input Chinese in the simulator. The Mac's native language is English, which works on all other apps. When I set the Mac's keyboard to pinyin input, the ...

What causes strange differences with background URLSession between ios 8.1 and ios 10.2 on simulator?

I am experiencing a strange behaviour debugging my app. I have a straight forward URLSession with background configuration: let backgroundSessionConfiguration = URLSessionConfiguration....

How can I install an app in a tvOS simulator?

I'm building an application for tvOS and would like our QA department to be able to do sanity/smoke tests without necessarily having an Apple TV device. The people in the department can easily get ...

iPhone simulator crashed when I tried to take screenshot (⌘ + S) (using the libswiftFoundation.dylib plug-in)

I am trying to take screenshot from iPhone 5 simulator. When I click ⌘ + S, the simulator crashes every time with error:- Simulator quit unexpectedly while using the libswiftFoundation.dylib ...

Run single app in multiple simulator (like iPhone 5S and iPad Air 2)

Anyone have any idea how to run single iOS app in multiple simulator (like iPhone 5S and iPad Air 2)?

Slow CADisplayLink Animation In Simulator

I have two methods of achieving the same sprite animation: An UIImage that animates an array of 6 images using animatedImage(with:duration:). A UIView with its CALayer’s contents property set to a ...

iOS 10 simulator not working

I have a set of UI automation test cases for my iPhone app. These tests run fine on the iOS 9 and 8 simulator however when I change to the most recent simulator (10.2) I get this error in my terminal ...

Safari debugger and console log history

I'm trying to debug an Ionic 2 mobile application on simulator. My problem is that I need to get the console logs from the beginning (not just only from when I open the debugger), because I run some ...

Application can't load photos from Photo Library on iOS simulator

I am facing problem in loading photos on simulator but it is working on devices. Even it is working on other mac. I have added the NSPhotoLibraryUsageDescription key into the plist file. But the ...

Xcode simulator doesn't work(Product ->Destination doesn't seem to be normal)

I tried click the run button again and again but Xcode shows the same error message. So I want you to ask how can I connect the simulator. This is the picture: Product -> Destination and no simulator ...

where does React-Native AsyncStorage saves data on disk using iPhone Simulator?

Using IOS Simulator, where does React-Native AsyncStorage save the data on disk ? I am using IOS Simulator version 10.0 and running IOS 10.2 and react-native 0.40.0

file is deleted on simulator when using saveToURL on iOS8

I have observed that when I am saving a document using "saveToURL: forSaveOperation:UIDocumentSaveForOverwriting", the document on the disk is removed, if I call closeWithCompletionHandler, the file ...

Is it possible to control the external display option in iOS Simulator in automated testing

My App requires an external display, iOS simulator supports adding an external display and it works well when controlled manually. The app displays different options depending on whether a display is ...

Core Data sqlite file's URL is changed every time - how should I debug it?

I am very confused with Core Data in Xcode 8 and Swift 3. I want to use DB Browser for SQLite (or any other app) to edit some of DB records. But each time I run app in iOS Simulator I got different ...

Remove Charles SSL root certificate from iPhone Simulators

I installed Charles to debug HTTP communications on my iOS simulator. In the process in Charles I did: Menubar -> Help -> SSL Proxying -> Install Charles root certificate on iOS simulators. Now I ...

Test WKAudioFilePlayer on simulator

I want my app to play sounds via bluetooth headset from Apple Watch using WKAudioFilePlayer. The problem is that I have no Apple Watch neither bluetooth headset :( Is there a way to test that ...

Testing NSUserDefaults synchronization across app groups in Simulator

I have enabled App Groups for my app and its iMessage extension so I can share data between the two. I've implemented NSUserDefaults synchronization in both codebases. However, I haven't found a good ...

Xcode 8 Simulator crash if changing device type

I am working around with Xcode 8. But I have one problem, specifically when I try to change the device type in simulator, it crashes and I get a crash message *** Terminating app due to uncaught ...

Cordova device ready doesn't work on xcode but work on device

don't know why but the device ready event doesn't work anymore on xcode simulator, but it's works on my iphone device. Here my function: document.addEventListener('deviceready', onDeviceReady, false)...

xcodebuild times out when starting simulator

I am attempting to set up automated testing for my iOS app using TeamCity. Currently, my agent builds, but once building the last target and running codesign, it hangs and displays the following: [19:...

Apple Healthkit and Watch Simulator

Is it possible to use and querying Healthkit through Iphone and Watch simulators? Did a lot of search and only one mention in Xamarin Forum saying you can't, but nothing else. Anybody could point ...

What's the point of have multiple (same resolution) iOS simulators?

I've been developing iOS apps for some time now and I'm aware that the iOS simulators run code faster than their hardware counterparts - i.e. actual devices. I read the following on Apple's Testing ...

Video Streaming of iOS Simulator screen - buffering issue

My Goal I am trying to create a live streaming video of an iOS simulator screan (for live demonstrations). In Theory According to xcrun simctl io help: Usage: simctl io < device > < ...
Translating... 0%