Questions tagged [ios-simulator]
The iOS simulator is packaged with Xcode and allows developers to test and debug in an iOS environment.
83
questions
1
vote
1
answer
103
views
iOS Simulator gives 'You dont have permission error'
I am currently on macOS Monterey 12.2 and have started an iPhone 12 iOS 15.0 simulator. On this simulator, if I drop files from desktop or a folder inside desktop, I get an error saying, 'The file ...
0
votes
2
answers
511
views
Xcode remove simulator files [duplicate]
Team,
I am looking for an option to remove the unwanted old versions of simulator files. I have attached an image for reference, in the image you can see i have 3 variant of iOS 11 versions 11.0, 11.1 ...
0
votes
0
answers
52
views
how do i set the zoom option size of safari devtools in ios simulators? by applescript or any other method to a default value always after closing it
how do i set the zoom option size of safari devtools in ios simulators? by applescript or any other method to a default value always after closing it.
i am looking for a script which will do the ...
1
vote
1
answer
213
views
XCode 12.5.1 simulator is not seen under /Library/Developer/CoreSimulator/Profiles/Runtimes
After upgrading XCode to latest version 12.5.1 , checked folder
/Library/Developer/CoreSimulator/Profiles/Runtimes
this doesn't show any simulator even when XCode is showing default simulators ...
-1
votes
1
answer
83
views
How to make every-time last option selected in case of service workers sites in simulators for devtools using given applescript?
If you see the image, there are 2 sites: "linkedin.com and skype.com", I want if two sites are there, then everytime last option should be selected.
If only one site shows up, then only that ...
1
vote
0
answers
107
views
Xcode 12.5 Simulator showing a black screen in macOS 11.2
Xcode Simulator on my MacBook Pro has always worked fine until today, when upon opening it, it shows a black screen for any device selected. Pressing the device's power button does nothing. Restarting ...
0
votes
0
answers
48
views
How to kill sound from a macos app (iOS simulator)
How to revoke a permission for a macos app (iOS simulator) to make any utterances to any audio devices whatsoever?
I have a sw keyboard giving some unsolicited feedback sounds unwated.
In menu -> I/...
0
votes
0
answers
31
views
What are ios simulator alternatives if I don't have 60 GB free space on my Mac?
I'm running a MacBook Pro (Big Sur OS) with the following disk space ...
$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/disk1s5s1 234G 15G 26G 36% /
According to this, Xcode ...
1
vote
1
answer
3k
views
Simulator is a black screen
I am new to iOS development. I was working on a Xcode project, without any warning nor change in my system, the editor started to behave extremely slow. To the point it looked like it crashed, but ...
0
votes
1
answer
55
views
How to toggle between "Portrait" and "Landscape Right" orientation in iOS simulators via AppleScript?
How do I toggle between "Portrait" and "Landscape Right" orientation in the iOS simulators via AppleScript?
1
vote
1
answer
41
views
How do I reset ios simulator in the given image back to original even after any number of rotations? Basically how to reset it back to normal
rotated simulator which has to be reset to normal. If it is in normal state then it turns left or right after my code gets called. How do i write an applescript to always reset it.
Below is my code ...
1
vote
1
answer
122
views
iOS simulator showing a bar at the bottom in my horizontally-view game
I made a mobile game where the phone must be held horizontally. It seems that the iOS simulator draws a black line (representing the real-life microphone?) at the bottom of it, even though it should ...
3
votes
1
answer
219
views
Can I uninstall Xcode but keep Simulator?
I do not want Xcode, I only want Simulator. Are they different apps? Can I uninstall Xcode but keep Simulator?
2
votes
1
answer
344
views
How can I install the app for iPhone to iOS Simulator on the ARM/M1 powered Macs? [closed]
I want to install my app that is built for my iPhone device to Xcode's iOS Simulator on the new ARM/M1。but there was a problem when I launch the App on Xcode's iOS Simulator。Here is the system log I ...
1
vote
1
answer
174
views
Spotlight has quit unexpectedly
I am running a flutter application build from the command line. I also have an ios simulator running.
I keep getting an error saying "spotlight has quit unexpectedly". Has anyone seen this ...
3
votes
1
answer
2k
views
Can the App Store be installed on Xcode's iOS Simulator on the new ARM/M1 powered Macs?
Years ago on Stack Overflow people already asked about installing the App Store on the iOS Simulator but the answer was you couldn't because the Simulator doesn't run ARM code but Intel code.
The ...
4
votes
1
answer
953
views
Where is the iOS simulator in Xcode?
I'm using Xcode 10.1 on Mac 10.13.6.
I'm trying to follow the instructions here -- https://www.macinstruct.com/node/494, for accessing the iOS simulator on my Mac. After right clicking on Contents -&...
2
votes
1
answer
69
views
Trying to access Safari developer tools prints "Access not allowed (-1723)"
I am trying to create a script which lists me all available open simulators to inspect in safari developer tools but when I run the code I get the below error. At the end this script should open the ...
1
vote
1
answer
337
views
How should I handle total freeze upon launching iPhone simulator?
I updated Xcode (11.4.1) this afternoon and noticed the new iPhone SE 2 simulator option. Cool! My iOS app was running fine on my physical device and all simulator before this update, but now when I ...
2
votes
0
answers
94
views
nsurlsessiond wasting my limited data plan [duplicate]
I am a cross-platform developer working on both android and ios platforms. For my ios development i used Xcode with ios simulator to make my work easy, and i got a new pc to work with. Whenever i ...
10
votes
1
answer
3k
views
Temporary dyld_shared_cache taking a lot of space
I am developing an application with Flutter and using an iOs simulator (iPhone 8 13.4).
I noticed that while I am running my application (I am using VSCode), a lot of space is taken by some files.
...
2
votes
2
answers
5k
views
How to download iPadOS 13 simulator for Xcode?
I have application in Xcode and I need to test it on iPadOS 13. But I can not find any hint how to set up iPadOS simulator. I can run iOS 13 on simulator but I want to try my app on iPadOS 13 ...
0
votes
3
answers
3k
views
How to stop Xcode downloading iOS support package of my iPhone?
I want Xcode to stop downloading the files in ~/Library/Developer/Xcode/iOS DeviceSupport/12.4 where 12.4 is the iOS version of my iPhone. I have deleted them a couple of times now.
I also want to be ...
1
vote
1
answer
60
views
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, ...
5
votes
1
answer
2k
views
Xcode simulator constantly download something
Xcode 11.2.1 simulator 13.2.2 constantly download something daily about 450 MB through nsurlsessiond. Is this usual?
some logs
% sudo lsof | grep nsurlsessiond
Password:
UserEvent 60 ...
0
votes
0
answers
390
views
Error when I run open -a Simulator on latest Xcode on Mojave
I'm on Mojave and updated my Xcode only.
Now when I run open -a Simulator in the terminal I get :
LSOpenURLsWithRole() failed for the application /Applications/Xcode.app/Contents/Developer/...
3
votes
1
answer
438
views
Install third-party software on iPad Simulator in Xcode?
Is it possible to install third-party software on iPad simulator in Xcode? Looking into installing adblock plus to do some testing without actually having a physical iPad. Is this possible?
1
vote
1
answer
1k
views
How smoothly does Xcode 10.1 run on 2017 MacBook Pro base model (8 GB RAM/128 GB SSD)? [closed]
I am planning to buy a 2017 MacBook Pro base model (8 GB RAM/128 GB SSD) for iOS app development and I am on a budget.
I would appreciate if I get answer to the following questions before I decide to ...
2
votes
1
answer
2k
views
How to delete simulators below iPhone 8 [duplicate]
I have a base model MBP with only 120gb space so I'm trying to free up as much as I can. After running a DaisyDisk scan it looks like I have 8.6gb of simulators.
I'd like to keep the simulators for ...
2
votes
1
answer
8k
views
How to debug an app that runs fine on iOS simulator, but crashes on iPhone X?
I'm currently building an app with Cordova, and it appears that on the last alpha version, the app only works in the iOS Simulator. When ran on an iPhone X, the app is crashes immediately.
I'm not ...
5
votes
3
answers
4k
views
Launch specific device simulator
How can I launch the device simulator on a Mac and specify which specific device I want, for example an iPhone 6s or an iPhone X, without having to launch Xcode (which takes forever on my old Mac)?
2
votes
0
answers
295
views
Can't record a 1080p video from the iOS Simulator with the Quicktime Player
I am trying to record a video of my iOS game, using Quicktime Player, running the iPhone8Plus Simulator in a portrait mode which is supposed to produce a 1080px1920 video. However, the resolution I ...
3
votes
2
answers
1k
views
Simulate iPhone from the backup
I am currently having some problems with my iPhone making it impossible to connect to it. I did perform a full backup before it died.
My question is, is it possible to simulate my iPhone using the ...
8
votes
3
answers
40k
views
Running an iOS Emulator on Mac
I can't seem to find any updated (or reliable) sources of iOS emulators for Mac, I am running Sierra.
At first I believed that in Xcode, when I went to run my app, was running an emulator, but I was ...
1
vote
1
answer
41
views
Do you need an iPhone to build iPhone apps?
I have an iPhone but am thinking of getting a OnePlus 5T and selling my iPhone.
I also have a Mac and I've started to develop React Native apps too.
Is the iOS simulator enough to test and publish ...
1
vote
1
answer
747
views
What is this right-arrow line symbol in the iOS simulator?
The iOS simulator sometimes shows me a keyboard shortcut helper when I spam Command-Shift-H in an attempt to close an app, and one of the shortcuts (the one I need) includes this symbol, but I don't ...
9
votes
0
answers
2k
views
Xcode Simulator - Show White Devices Instead of Black
When I run Xcode Simulator the devices are simulated with black cases. I'd like to be able to toggle to show devices with white cases to see them easier. I don't see a setting in Xcode for that. Can ...
1
vote
1
answer
4k
views
Missing Simulator Devices in Xcode
When programming with Xcode (8.3.3), the "View as" feature displays the user interface on many simulated Apple devices. Yesterday, I could choose among the following devices.
AppleTV
iPad (5th ...
3
votes
1
answer
910
views
Is it possible to install Swift Playgrounds in iOS Simulator?
My iPad is not capable of running Swift Playgrounds. I am wondering if I installed Xcode on my Mac and used the iOS Simulator, would it be possible to access the iOS App Store and install Swift ...
2
votes
1
answer
5k
views
Cannot Sign In to enable iTunes & App Store within iOS Simulator
In iPhone SE Simulator (iSO 10.3, running directly), I'm going to Settings, Apple ID/iCloud and trying to enable iTunes & App Store which is Off (I was manage already to log in to Apple ID).
When ...
0
votes
1
answer
114
views
iPhone Simulator on Macbook is showing question Mark
iPhone Simulator on Macbook is showing question Mark. I am not able to launch the iPhone Simulator. I have my app deployed on the simulator.
How to fix the iPhone Simulator?
8
votes
1
answer
4k
views
Xcode cannot download iOS 10 simulator due to network connection issue
I am having trouble downloading an iOS 10.x Simulator on Xcode. After spinning and waiting for up to a minute, a popup with the following message appears:
Could not download and install iOS 10.1 ...
1
vote
1
answer
3k
views
Mac HDD very slow running xcode and iOS Simulator
We have a 500GB HDD on a iMac (21.5-inch, Mid 2014):
1.4 GHz Intel Core i5
8 GB 1600 MHz DDR3
Intel HD Graphics 5000 1536 MB
224GB / 498GB available
We have spoken to Apple who said we cannot ...
0
votes
1
answer
51
views
HiDPI Mode not respected by iOS Simulator
I turned on HiDPI mode in my OS X El Capitan and now facing the issue: iOS Simulator screen shows only part of its contents. Please see the picture below.
If I turn HiDPI mode off then everything ...
2
votes
1
answer
1k
views
Xcode 7 Simulator - "SpringBoard cannot be opened because of a problm."
I was successfully using the Xcode Simulator yesterday evening. This morning when I came into work, I didn't change anything, but suddenly, every time I open the Simulator, this error pops up "...
2
votes
1
answer
4k
views
iOS simulator for El Capitan
I am a web developer and I often need to do testing on i devices. I have a macbook around and I don't know what is the best way to test my web applications on iOS devices. I don't have any physical ...
0
votes
0
answers
465
views
Set a default Scale value for Xcode 7.2.1's iOS Simulator
I just started an online course for learning Swift using Xcode to develop iOS apps. I'm using Xcode 7.2.1 and 10.11.4 on my Mac Mini Server. I use a 23" monitor. When the simulator window displays ...
9
votes
4
answers
11k
views
How to recover from deleting Xcode CoreSimulator devices from disk?
By mistake I deleted ~/Library/Developer/CoreSimulator/Devices from my Mac so all my Xcode simulators were deleted.
Now none of my Xcode projects run. When I try to, an alert shows that no simulator ...
2
votes
2
answers
1k
views
iOS simulator always saves images on desktop
When pressed Command-S, the iOS simulator always saves screenshots on Desktop. How can I tell it to save it somewhere else?
1
vote
1
answer
126
views
Install SwiftKey on iPhone simulator
Is it possible to install SwiftKey on iPhone simulator ? If yes, how may I ? There are few scenarios I want to test for Swift keyboard but I am out of device.