Questions tagged [ios-simulator]

The iOS Simulator application presents the iPhone or iPad user interface in a window on the computer to emulate iPhone or iPad devices. This application provides several ways of interacting with it by using the keyboard and mouse to simulate taps, device rotation, and other user actions.

Filter by
Sorted by
Tagged with
759votes
15answers
229kviews

Xcode 6: Keyboard does not show up in simulator

The keyboard does not show up when I run the simulator and click in the UITextView. How do I re-enable the keyboard? It used to work but now it doesn't - I don't know what I might have clicked by ...
user avatar
  • 7,603
514votes
21answers
280kviews

Is it possible to disable the network in iOS Simulator?

I am trying to debug some inconsistent behaviour I am seeing in an application that gets its primary data from the Internet. I don't see the issues in the simulator, just on the device, so I'd like ...
user avatar
  • 5,628
508votes
19answers
281kviews

Take screenshots in the iOS simulator

I want to take a screenshot of my iOS application when it is running in the simulator, and save the screenshot on my Mac. How can I do this?
user avatar
483votes
25answers
274kviews

Capture iOS Simulator video for App Preview

Okay, so we can now submit video previews of our apps on the App Store. According to Apple we should do so with an iOS8 device and OSX 10.10. The problem is you have to have all the different devices (...
user avatar
  • 8,035
448votes
14answers
123kviews

Error Running React Native App From Terminal (iOS)

I am following the tutorial on the official React Native website. Using the following to build my project: react-native run-ios I get the error: Found Xcode project TestProject.xcodeproj xcrun: ...
user avatar
  • 5,121
370votes
31answers
128kviews

Error when testing on iOS simulator: Couldn't register with the bootstrap server

I was testing my app on the simulator when it crashed on clicking a button of a UIAlertView. I stopped debugging there, made some changes to the code and built the app again. Now when I run the ...
user avatar
344votes
5answers
22kviews

Bluetooth headphone music quality deteriorates when launching iOS simulator

The situation goes a little something like this: I am programming Xcode whilst concurrently listening to music on my Bluetooth headphones... you know to block out the world. Then, I go to launch my ...
user avatar
  • 3,857
334votes
13answers
67kviews

iPhone Simulator suddenly started running very slow

I have been working on an app in iphone simulator for a number of weeks and it has been running well up until now, but all of a sudden has begun running very slow both when loading content and ...
user avatar
  • 9,179
329votes
60answers
473kviews

Message "flutter run: No connected devices"

I am trying to create a sample application with Flutter (fresh installation). Android Studio is also installed (fresh installation). Here is the output of flutter run flutter run No connected devices. ...
user avatar
  • 14k
319votes
7answers
82kviews

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 ...
user avatar
302votes
23answers
294kviews

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 are set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. ...
user avatar
  • 14.1k
298votes
35answers
170kviews

Adding images or videos to iPhone Simulator

I am trying to use UIImagePickerController with UIImagePickerControllerSourceTypePhotoLibrary, but it says, "No photos". Where does the simulator get the images from? Where should I copy the images so ...
user avatar
  • 5,445
285votes
21answers
125kviews

How can I programmatically determine if my app is running in the iphone simulator?

As the question states, I would mainly like to know whether or not my code is running in the simulator, but would also be interested in knowing the specific iphone version that is running or being ...
user avatar
283votes
15answers
167kviews

How can I get the console logs from the iOS Simulator?

I want to see what happens in the iOS Simulator if I'm not testing the app in Xcode. For example, if I open a link in the Safari simulator, see what happens in the console, or if I install a web-app, ...
user avatar
  • 2,831
283votes
32answers
188kviews

Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

I have an application which works fine on Xcode6-Beta1 and Xcode6-Beta2 with both iOS7 and iOS8. But with Xcode6-Beta3, Beta4, Beta5 I'm facing network issues with iOS8 but everything works fine on ...
user avatar
  • 2,968
274votes
17answers
95kviews

Submit to App Store issues: Unsupported Architecture x86

So I am trying to use the Shopify API. When I archive the app and validate it then there are no issues but when I submit it to the app store then it gives me the following issues. ERROR ITMS-90087: "...
user avatar
  • 2,903
272votes
4answers
117kviews

How to uninstall downloaded Xcode simulator? [duplicate]

How to uninstall one of the downloaded Xcode simulators? My iOS 7 Simulator won't boot (Unable to boot the iOS Simulator). I want to completely reinstall it. I tried: Deleting ~/Library/Caches/com....
user avatar
269votes
8answers
196kviews

iPhone 6 Plus resolution confusion: Xcode or Apple's website? for development

Apple's website claims that the resolution is 1080p: 1920 x 1080 However, the launch screen required by Xcode (8.0 GM launched today) is 2208 x 1242. Who's right?
user avatar
  • 4,304
268votes
15answers
86kviews

Where are iOS simulator screenshots stored?

I have saved some screenshots in the iPhone Simulator running iOS 5, but I can't find them. I had this problem before, and it took me frickin' ages to find them in the file system. Is this so simple ...
user avatar
  • 2,995
265votes
21answers
184kviews

Where does the iPhone Simulator store its data?

I have a SQLite DB that I'm using to store app data, and I could do with taking a look inside it to debug a problem I'm having - but where does the iPhone Simulator store its data, typically?
user avatar
  • 42.6k
255votes
19answers
189kviews

How to run iPhone emulator WITHOUT starting Xcode?

On my old Mac running Snow Leopard, I could type "ios" into spotlight and it would start up the iPhone/iPad emulator by itself. I have since had to get a new machine running Lion. I have installed ...
user avatar
  • 7,424
250votes
20answers
157kviews

Xcode Simulator: how to remove older unneeded devices?

I'm running Xcode 4.3.1 iOS-Simulator which originally only supports iOS 5.1. I need to test my code with iOS 4.3, so I used Xcode's "Install" feature to install it as described in "Installing Xcode ...
user avatar
  • 39.9k
246votes
11answers
61kviews

Simulator slow-motion animations are now on?

A while ago I was experimenting, trying to see if i could get navigation items to animate and scroll between each other. I don't know if this is related but suddenly without touching the simulator ...
user avatar
  • 7,318
230votes
6answers
48kviews

Simulator error FBSSystemServiceDomain code 4

I'm trying to run an app in the simulator but get this error message: Unable to run app in Simulator An error was encountered while running (Domain = FBSSystemServiceDomain, Code = 4) I've not seen ...
user avatar
  • 37.1k
196votes
11answers
112kviews

ios simulator: how to close an app

When you "run" the simulator from xCode, the app automatically launches, and then you can click the home button to suspend the app. What I want to do is close the app from within the simulator. So, ...
user avatar
  • 5,519
194votes
8answers
102kviews

How to enable native resolution for apps on iPhone 6 and 6 Plus?

Xcode 6 GM now includes simulators for iPhone 6 and 6 Plus, and by default they run apps in a scaled mode. To enable the new screen size I tried adding Default-667h@2x.png which seems to do a part of ...
user avatar
  • 2,739
189votes
12answers
49kviews

FBSOpenApplicationErrorDomain code =4 error

When I'm trying to run iOS application in Xcode 6 in iPhone 6 simulator, I'm getting error Unable to run app in Simulator. And error code is: An error was encountered while running (Domain = ...
user avatar
187votes
11answers
100kviews

How to change time and timezone in iPhone simulator?

How do I change time and time zone in the iPhone simulator?
user avatar
  • 27.3k
186votes
1answer
52kviews

Archive button grayed out in Xcode

Would you be able to help me understand the reason why Archive button is grayed out in Xcode? I have all developers profiles downloaded Device type set to iPhone 6 And archive is checked in scheme....
user avatar
  • 2,356
184votes
12answers
368kviews

How can I install a .ipa file to my iPhone simulator

I have an iphone simulator running on my Mac. I have a .ipa file, can you please tell me how can I install it on the simulator?
user avatar
  • 2,773
177votes
11answers
126kviews

Can I start the iPhone simulator without "Build and Run"?

I want to delete an app in the simulator before I "build and run". How can I start the simulator so I can do the deletion? If I start it by "build and run" I get a long log output that takes a while ...
user avatar
  • 12.9k
176votes
6answers
15kviews

Xcode 12.3 iOS 14.3 simulators Yellow Dock / yellow translucent issues

Today I downloaded the release of Xcode 12.3, and I went running the iOS 14.3 simulators and it seems like there is a graphic glitch that all translucent views are yellow, dock included. I ...
user avatar
  • 3,931
165votes
8answers
126kviews

Adjusting the Xcode iPhone simulator scale and size [duplicate]

Is there anyway to make the iOS simulator for iPhone 5 in Xcode, be the actual size of the iPhone 5. I'm getting a huge display and things seemed to be scaled.
user avatar
  • 22.5k
163votes
17answers
130kviews

Set the location in iPhone Simulator

How can I set the location (as it's picked up in CoreLocation services) in the iPhone Simulator?
user avatar
  • 9,998
159votes
7answers
60kviews

What is TIC Read Status 1:57 in iOS11/Xcode 9?

After updating to Xcode 9, using Swift 3 and the iPhone X simulator, my console is full of: TIC Read Status [11:0x0]: 1:57 TIC Read Status [11:0x0]: 1:57 TIC Read Status [11:0x0]: 1:57 ... What is ...
user avatar
  • 16.1k
146votes
3answers
68kviews

Simulate airplane mode in iPhone Simulator

Is there any way to simulate airplane mode in the iPhone Simulator?
user avatar
144votes
6answers
65kviews

How to programmatically display version/build number of target in iOS app?

How can I programmatically get the value of the target version, like in the image below? As seen in the Properties window of the target of my Xcode project. I want to display this in the splash ...
user avatar
  • 3,952
141votes
6answers
66kviews

iPhone Simulator - Simulate a slow connection?

Is there a way to slow down the internet connection to the iPhone Simulator, so as to mimic how the App might react when you are in a slow spot on the cellular network?
user avatar
  • 5,329
141votes
12answers
59kviews

How to resize the iPhone/iPad Simulator?

The iPad-simulator is really small (like one third the size of the real iPad screen) on my 23" Full-HD screen (and also on the 15" MacBook Pro). Is there a way to resize it? I know it must maintain ...
user avatar
  • 14.8k
140votes
12answers
55kviews

How do I type using my keyboard on the iphone simulator?

I used to be able to type with my real mac keyboard after launching the iPhone Simulator. Typing with the on-screen simulator keyboard is just horrible when testing with large amounts of text. No ...
user avatar
  • 9,504
138votes
17answers
53kviews

iOS Simulator failed to install the application

I have created a Cordova 2.1.0 app, It ran fine for the first 2-3 times. But now when I am trying to run it through terminal it is giving me the following error.I didn't change anything. Ankurs-Mac-...
user avatar
  • 4,793
138votes
4answers
78kviews

Why there is no "Home" button in iPad simulator in iOS 5.1 SDK?

How to simulator the action of "press the home button"?
user avatar
  • 2,369
136votes
25answers
90kviews

`react-native run-ios` returns Error: Could not find iPhone X simulator

whenever I run react-native run-ios, I get Could not find iPhone X simulator Error: Could not find iPhone X simulator at resolve (calendarPractice/node_modules/react-native/local-cli/runIOS/...
user avatar
136votes
7answers
72kviews

How do I test a camera in the iPhone simulator?

Is there any way to test the iPhone camera in the simulator without having to deploy on a device? This seems awfully tedious.
user avatar
  • 58.4k
135votes
11answers
50kviews

Seeing black bars at the top and bottom of the iPhone X Simulator

Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects: the App does not use the full screen space (top and bottom area is black) a strange white bar beneath the title ...
user avatar
  • 9,145
135votes
9answers
88kviews

Stop "developer tools access needs to take control of another process for debugging to continue" alert

I recently upgraded to 10.7.3, and when I try to debug my iOS project in the simulator for the first time after logging in, I'm prompted with the following two alerts: My user is an admin user. I ...
user avatar
133votes
16answers
149kviews

How to monitor network calls made from iOS Simulator

I am trying to monitor calls from an app to my server just like Firebug does. I could not find a way to see that in iOS Simulator or in xCode. Is there a way to do that without sniffing all the ...
user avatar
  • 3,463
128votes
18answers
96kviews

iPhone Simulator location

Where on my machine is the iPhone simulator installed? I'm been trying to find where a test application I run in the simulator is stored.
user avatar
  • 25.3k
120votes
13answers
59kviews

Screenshot Apps for iPhone simulator [closed]

I was wondering if there are any good recommendations on apps that takes screenshots of the iPhone simulator. I've tried apps like iPhone screenshot cropper but I'm looking for something that will ...
user avatar
120votes
7answers
25kviews

What does this gdb output mean?

I've got a button that plays a sound, and it seems to work perfectly fine on the simulator, but i'm getting this message: Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/...
user avatar

15 30 50 per page
1
2 3 4 5
116