Newest 'ios-simulator' Questions

Q&A for professional and enthusiast programmers

how to download iPad Mini simulator

i want to test my application in iPad mini screen but in this Xcode 8.2 version this simulator not found. i also try to add simulator Hardware > Device > click bottom add menu but here is no ...

Xamarin.form shows different UI on iOS Simulator and xaml preview

I am using Xamarin Studio version6.2.1 and working on xamrin.form.I create xaml design by focusing on preview but when i run same code on iOS Simulator the UI scattered, while the Android device have ...

iOS simulator test multi-player games

I'm using iOS SpriteKit and Socket.io to create a simple multiplayer game, what is a elegant way to build and test it on multiple simulator (or actual iOS devices) and be able to see logs? I see some ...

iOS 10.3: Simulator HTTPS localhost: SSL Error

This worked fine for iOS 10.2 and below, but after upgrading to 10.3, when the simulator attempts to connect over HTTPS to the development server running on localhost, the Xcode console outputs the ...

Xamarin iOS simulator build

Does anyone know if Xamarin build for iOS simulator is somehow different from regular Xcode simulator build? In other words is Xamarin simulator build "clean" native build?

Facebook share content is working in my simulator but not on my device

Hi I am new to swift 3 and Xcode 8 I have an issue with that my facebook share option with initial text content is working fine in my simulator which shows facebook post pop-up with content but not ...

Phonegap app screen density is too low in iPad and black border issue

I have an app built with Phonegap. It looks fine on all iPhone screen sizes (in simulator) but i can't seem to get rid of the ugly black border. Also the screen of the app that does show within the ...

Xcode iOS Simulator Questions

I have two questions about the iOS Simulator in Xcode for my Unity game: I am using latest version of all the software involved. 1) Why is it so slow? (I have tried the Cmd+T solution and it does ...

Ghost static page in Xcode simulator

in Xcode (using swift 3) simulator, a table cell selection succeeds in displaying a detail scene but a transitory detail scene appears before the detail scene itself. Functionality is not impaired. I ...

iOS dispatch_after is firing immediately

I am trying to fire an event after 6 seconds using dispatch_after. I'm firing a regular dispatch_after snippet (right built into Xcode itself). dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (...

Running Xcode8 Simulator

In my 13th lesson in the book "App Development With Swift" (using Xcode 8) my assignment was to build a QuestionBot app. Sometimes when I wanted to check myself I ran the simulator, and every time ...

Xcode error connecting to simulator “Software caused connection abort”

When I try to run my project through the Xcode simulator, it keeps giving me the error "Software caused connection abort". Tried restarting the simulator & Xcode, and I recently deleted the ...

Keyboard warning in Xcode Simulator

I have recently started getting this warning in Xcode when working in Simulator mode. Apple were not able to help and suggested I submit a bug report, which I have done. But I wondered if anyone here ...

Toggle Software Keyboard for entire test suite in appium python

Currently I am writing iOS tests using Python Appium and would like to completely hide the software keyboard which pops up whenever you have to type something. I am already aware of driver....

iOS black screen

I have a weird problem ie the app sometimes becomes black and the side menu remains visible and the flow is random and it is highly intermittent. As crash is not happening not able to get the crash ...

How does Visual Studio leverage SSH to show an iOS device on Windows?

Xamarin allows an iOS device to be simulator on a Mac, and then projected onto a PC... within visual studio. How does this remote simulator process work? The simulator that appears within Visual ...

Simulator quit unexpectedly while using the libswiftFoundation.dylib plug-in.- error popup

I have using Xcode - 8.2 and simulator - 7 plus. I have take screenshot from simulator, when using ⌘ + S and File->Save Screen short. Both cases in the simulator crashes and show popup alert popup of -...

Running app on iPad simulator 12.9inch and 9.7inch cut some views

I am testing and configuring my application for iOS devices. On iPad Simulators 12.9 inch and 9.7 inch, some views are not showing properly. I am using different storyboard for different devices and ...

Swift - Soft keyboard wont appear OR Hardware keyboard wont work

I am trying to make the soft keyboard appear on my iOS simulator. For some crazy reason it just wont show. I keep getting this error as I select the TextField Can't find keyplane that supports ...

canOpenURL for opening other Apps - Not working on simulator

I'm trying to open Yelp from within my App that has a deployment target of 8.1 The problem I'm facing is my code is not properly evaluating on the simulator. My device is iOS 10.3, and it works fine ...

Is there a way to write an Automator Workflow that will scroll the iOS Simulator?

I would like to automate the iOS Simulator to scroll down a long list and tap a certain item. Is this possible? When I tried it using the Record feature it didn't work. I got the following:

Is it possible to compile a .ipa from a package stored in an iOS simulator

I've recently managed to lose a project I've been working on alone, I realise that I should be better at backing up and I should have been using a remote repo. The app is still installed on one of ...

Reusable / Shared View not showing in Simulator

I created a Framework so that I can reuse views across several projects. I used this link to create the Framework. I can reference it in a project and the shared views do show in the storyboard. ...

How to create virtual printer with iOS Simulator?

In one of my application there is feature to print documents. I want to test this feature but I don’t have device, So I have to test on Simulator. With simulator how can I print documents. Do I need ...

No installable items found at xcode

I'm trying to build and install the app on simulator. However it stops saying. No installable items found at /Users//Library/Developer/CoreSimulator/Devices//data/Library/Caches/com.apple.mobile....

AVPlayer Item not starting during UI text on Travis

If I've an AVPlayerItem its status is never reaching .readyToPlay on the Travis VM while running a UI test. Everything works fine locally. I've set up simple repro: https://travis-ci.org/gsabran/...

Notifications Not Showing on iPhone Simulator After Implementing Code Apple Provides

I have been attempting to get local notifications going within my code and have been having a problem with it showing up as an alert and in the local Notification Center. I've tried different codes ...

How can I see whether the Scan Credit Card feature is working in safari in iOS Simulator

I am trying to change a form that includes credit card input details so that when viewed on iOS it will give the user the option of scanning their credit card details (see below): However, the ...

Xcode Simulator scale

I am trying to change Simulator scale to 40%. I found that it can be changed using - defaults write ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale "0.4" I modified plist ...

Cordova app crashes on iPhone 5 simulator ONLY (via VS 2017 remotebuild)

This is a bit of an odd one - my (recently updated to VS 2017) Cordova app crashes (closes straight after it opens) when using the iPhone 5 simulator (iOS 10.3) via remotebuild. It doesn't crash if I ...

Mobile test using NightwatchJS

i'm using nightwatchjs with appium for mobile test. Here is nightwatch.json: { "src_folders" : ["./examples/tests"], "output_folder" : "./examples/reports", "custom_commands_path" : "./examples/...

Xamarin can not deploy to iPhone as there is no Run option

My Xamarin project can build, but not deploy out to my iPhone as there is no Run option: How can this be alleviated?

Xcode: invalid symlink error when trying to run app in iOS simulator

At the end of my app's compilation phase, I see the following error: This is just some temp directory that's created every time I run. I tried deleting it to no avail. The app runs fine on device. ...

Unity iOS Application Ipv6 support testing

I have submitted a Unity3D application to AppleMarket, but it has been rejected because of a bug: application works not as intended while connected to a IPv6 network. I have a Mac virtual machine(...

Xcode incorrectly “recognizing” iOS Simulator as actual Device

I'm using the camera and want to check if I'm using the iOS Simulator or an actual Device, so I put this statement in my code: #if IOS_SIMULATOR print("It's an iOS Simulator") #else ...

How to leave simulator open after test run?

When running a UI Test, how do I keep the simulator open so I can manually test additional steps? After a UI Test completes, the simulator will shut down. I'd like to use the UI Test as an automation ...

Can't toggle software keyboard in iOS Simulator 10.2 or 10.3

I am using ios simulator 10.3 and noticed that I can't toggle software keyboard anymore, and can't type anything. I downgraded to ios simulator 10.2 but the same problem persists. I was able to make ...

SKStoreReviewController requestReview doesn't prompt for review

I want to use the new feature added in 10.3 to ask users for reviews. In the docs, apple states that when this method is called "a rating/review request view is displayed". I am getting the rating ...

Getting error “The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)” when running iOS simulator for the first time

Getting error "The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)" when running iOS simulator for the first time on a blank single view application. Any recommendations on ...

No active and enabled video connection

[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] No active and enabled video connection is the console message on the crash when a photo is taken. I've followed the Apple documentation of ...

How to Take a Full Screenshot on iOS Simulator [duplicate]

When developing apps that have ScrollView content that is larger than the screen, is there a way to capture a "full screenshot" of the entire screen. Currently, the screenshot option in File > Save ...

Double Home button press does not work in iOS Simulator

If I try to display the multitasking menu with keyboard gestures in iOS Simulator 10.3 bundled with Xcode 8.3, it fails to respond; hovever, the single button press and the option from the menu still ...

How to change Xcode 8.2.1 launch screen and main.storyboard to show iPhone 6 device?

New to Xcode. In the Single View App in Main.storyboard and Launchscreen.storyboard on the bottom under "view as" it gives me option between 2 iPad devices, iPhone 7 Plus, 7, SE and 4s. How do I get ...

iOS Watch Simulator Crashes Mac

I've been fighting with this for a few days now. Whenever I run a watchKit App from the simulator my mac will get the black screen of death and reboot my machine. I am running XCode 8.2.1 running ...

setting GOOGLE_APPLICATION_CREDENTIALS for ios simulator

i m building an app which during the dev phase can be tested on the ios simulator on the mac. This app using google client api for java and service accounts approach. This as per the documentation ...

Ambiguous use of subscript when attempting to use physical simulator

I am attempting to run my application on a physical device (iPhone 6+) and I keep getting this error message. Ambiguous use of subscript. When running the application on the simulator everything runs ...

App is not running in iOS Simulator

My app is running without any error in device. But while running in simulator so many link errors occuring. Here is code for Google Add view (banner view) -(void)loadAddMobConfigs{ switch ([...

iOS Simulator - iOs 10/Xcode 8.3/Swift 3 - Location service issues on webview in simulator

I have implemented webView in my iOS app which renders a website. The website uses location services and renders geocodes on a map. So far, when I go to webview screen, it prompts 2 location alerts ...

Unknown and undeletable key “__react_native_storage_test” in React Native AsyncStorage

There is some key named "__react_native_storage_test" always exist on AsyncStorage in iOS simulator. Even in case it was deleted but after next simulator launch it exist again. Neither AsyncStorage....

Is there a way to just apply changes in iOS simulator without rebuilding the whole app?

I'm asking because this is a feature of android studio and was wondering if xcode or an external thing had something similar?
Translating... 0%