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.

ios-simulator
Filter by
Sorted by
Tagged with
832 votes
19 answers
279k views

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 ...
Katsu's user avatar
  • 8,656
588 votes
21 answers
358k views

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 ...
Paul Hammond's user avatar
  • 6,366
530 votes
20 answers
308k views

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?
Shreyash Mahajan's user avatar
503 votes
25 answers
316k views

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 (...
AXE's user avatar
  • 8,415
468 votes
17 answers
141k views

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: ...
JacobSiegel's user avatar
  • 5,321
397 votes
8 answers
130k views

How to use dark mode in iOS simulator?

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 ...
Mr.Javed Multani's user avatar
380 votes
62 answers
594k views

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. ...
FULL STACK DEV's user avatar
372 votes
31 answers
130k views

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 ...
lostInTransit's user avatar
366 votes
29 answers
428k views

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. ...
Naresh's user avatar
  • 17.4k
346 votes
5 answers
23k views

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 ...
world's user avatar
  • 3,942
340 votes
14 answers
73k views

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 ...
Finglish's user avatar
  • 9,834
314 votes
35 answers
189k views

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 ...
Vijayeta's user avatar
  • 5,615
311 votes
16 answers
211k views

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, ...
user1335015's user avatar
  • 3,121
295 votes
21 answers
130k views

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 ...
Jeffrey Meyer's user avatar
292 votes
28 answers
205k views

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 ...
VoidStack's user avatar
  • 3,058
286 votes
22 answers
211k views

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?
Codebeef's user avatar
  • 43.7k
286 votes
17 answers
103k views

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: "...
Saurabh Jain's user avatar
  • 3,023
283 votes
17 answers
94k views

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 ...
Flyingkiwi's user avatar
  • 3,146
278 votes
21 answers
190k views

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 ...
David H's user avatar
  • 41.2k
276 votes
4 answers
127k views

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....
Ricardo Sanchez-Saez's user avatar
273 votes
19 answers
216k views

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 ...
user avatar
270 votes
8 answers
197k views

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?
JasonGenX's user avatar
  • 5,172
247 votes
12 answers
64k views

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 ...
Jules's user avatar
  • 7,658
241 votes
12 answers
138k views

How to change time and timezone in iPhone simulator?

How do I change time and time zone in the iPhone simulator?
Rahul Vyas's user avatar
  • 28.5k
232 votes
11 answers
174k views

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 ...
RobertL's user avatar
  • 14.5k
231 votes
6 answers
50k views

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 ...
Piepants's user avatar
  • 36.9k
210 votes
1 answer
57k views

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....
Andy's user avatar
  • 2,886
207 votes
13 answers
120k views

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, ...
Chicowitz's user avatar
  • 5,889
205 votes
14 answers
452k views

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?
yinglcs's user avatar
  • 2,981
194 votes
8 answers
103k views

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 [email protected] which seems to do a part of ...
villapossu's user avatar
  • 2,747
191 votes
12 answers
51k views

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 = ...
Pradhyuman Chavda's user avatar
176 votes
6 answers
16k views

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 ...
user3099837's user avatar
  • 3,931
171 votes
18 answers
160k views

Set the location in iPhone Simulator

How can I set the location (as it's picked up in CoreLocation services) in the iPhone Simulator?
Cliff's user avatar
  • 10.9k
168 votes
8 answers
133k views

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.
cdub's user avatar
  • 25.1k
166 votes
2 answers
231k views

How to access iOS simulator camera [duplicate]

I am making a camera app. I need to test the app in the simulator but I can't access the iOS simulator camera. If not possible in the simulator means I need to access my system camera. Whether it is ...
R M's user avatar
  • 1,831
163 votes
18 answers
188k views

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 ...
Mad Echet's user avatar
  • 3,811
160 votes
3 answers
84k views

Simulate airplane mode in iPhone Simulator

Is there any way to simulate airplane mode in the iPhone Simulator?
Jason Jenkins's user avatar
159 votes
7 answers
60k views

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 ...
David Seek's user avatar
152 votes
7 answers
77k views

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?
Chris's user avatar
  • 5,547
151 votes
6 answers
79k views

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.
Sheehan Alam's user avatar
  • 60.5k
148 votes
26 answers
110k views

`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/...
Seongmin Choo's user avatar
147 votes
6 answers
70k views

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 ...
slim's user avatar
  • 4,030
147 votes
6 answers
85k views

Pass deep link into iOS Simulator?

I would like to find an easier way to call deep links in the iOS simulator. On Android you can use ADB to pipe links into the simulator by using the console. Is there a similar way or a workaround to ...
patreu22's user avatar
  • 3,154
142 votes
12 answers
58k views

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 ...
strange's user avatar
  • 9,684
142 votes
12 answers
61k views

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 ...
Hedge's user avatar
  • 16.5k
142 votes
10 answers
97k views

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 ...
Heath Borders's user avatar
138 votes
4 answers
78k views

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

How to simulator the action of "press the home button"?
smoothdvd's user avatar
  • 2,399
137 votes
17 answers
54k views

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-...
Ankur Arya's user avatar
  • 4,703
136 votes
11 answers
52k views

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 ...
Darko's user avatar
  • 9,755
130 votes
37 answers
184k views

Launch iOS simulator from Xcode and getting a black screen, followed by Xcode hanging and unable to stop tasks

I'm having trouble running my basic iPhone application (while going through the Stanford iTunes CS193p lectures) in the iOS simulator. I've been searching for a while (both Google and SO), but unable ...
Matt's user avatar
  • 1,573

1
2 3 4 5
121