ios-simulator

Is it possible to disable the network in iOS Simulator?

会有一股神秘感。 提交于 2019-11-26 11:44:25
问题 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 to reproduce the network and connectivity environment in the simulator. Is there any way of disabling the network in the simulator? (I am connecting to the Mac remotely to code, no other choice right now, so disabling the OS network isn\'t an option). 回答1: I'm afraid not—the simulator shares

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

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 11:03:59
问题 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 to find a solution so far. There are many similar bugs, but the solutions don\'t seem to fix this. In Xcode I click \"run\". It compiles and builds successfully, launches iOS simulator but it never gets to loading the app. Only the status bar at the top. With a black screen. I\'ve only written

Xcode 6: Keyboard does not show up in simulator

杀马特。学长 韩版系。学妹 提交于 2019-11-26 11:01:43
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 accident... any tips would be appreciated! Joe I had the same issue. My solution was as follows: iOS Simulator -> Hardware -> Keyboard Uncheck "Connect Hardware Keyboard" Mine was checked because I was using my mac keyboard, but if you make sure it is unchecked the iPhone keyboard will always come up. Aidan Melen While testing in the ios8 beta simulator, you may toggle between the "software keyboard"

How to install iOS 7 and onwards simulators in Xcode 7 Beta 5?

拟墨画扇 提交于 2019-11-26 09:46:44
问题 I want to test my app on iOS 7 and onwards. The only way to test my app in these OS\' are using Simulator. But after upgrading my Xcode to 7 Beta, I see the iOS 8.1, 8.2, 8.3 but I get an error that they are not found. iOS7 is non existing. Is there any way to install the older OS simulators in Xcode 7 beta 5? 回答1: Older Simulator runtimes are available for download through Xcode's preferences. Goto Xcode -> Preferences -> Downloads to see the list of compatible legacy simulator runtimes. El

ios simulator appear with UDID in xcode 6

£可爱£侵袭症+ 提交于 2019-11-26 09:39:25
问题 When i select simulator from xcode 6 then i\'m getting multiple option to select simulator but simulator comes with UDID. Please see the below image and please help me out. Thanks in advance. 回答1: killall Xcode - Kills all running Xcode processes. sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService - Kills all running CoreSimulatorService's processes. rm -rf ~/Library/Developer/CoreSimulator/Devices - Removes all Simulator data, from all the Simulators. open /Applications/Xcode.app -

flutter run: No connected devices

百般思念 提交于 2019-11-26 09:26:26
问题 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. the output of flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.1.5, on Linux, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] Android Studio (version 3.0) [!] VS Code (version 1.20.1) [!]

iOS Simulator failed to install the application

喜你入骨 提交于 2019-11-26 09:16:59
问题 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-mini:~ ankur$ /Users/ankur/Desktop/CordovaSMS/cordova/emulate Ankurs-Mac-mini:~ ankur$ 2012-10-17 16:11:08.695 ios-sim[7032:507] stderrPath: /Users/ankur/Desktop/CordovaSMS/cordova/console.log 2012-10-17 16:11:08.698 ios-sim[7032:507] stdoutPath: /Users/ankur/Desktop/CordovaSMS/cordova/console.log

DTAssetProviderService could not start DTXConnection with Simulator

為{幸葍}努か 提交于 2019-11-26 09:10:36
问题 After updating to Xcode 7.3 I am not able to run my app in the iOS Simulator. On every attempt I am getting the following error message: DTAssetProviderService could not start DTXConnection with Simulator \'iPhone …\'. Check the system log for errors. I have checked the following Apple developer forums thread but didn\'t any provide any solution. Suddenly when I have cleaned & deleted the old app from the simulator and rebuilt, it works fine. This issue was not only for the first time. Can

Xcode 6 - Launch simulator from command line

删除回忆录丶 提交于 2019-11-26 09:04:54
问题 I want to launch iPhone simulator from command line. until now I have been using the below command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SimulateDevice -SimulateDevice is used to launch a specific device type Now with Xcode 6 the path and the app has been changed to /Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app/Contents/MacOS/iOS Simulator but sadly

Simulate force touch / 3D touch on iPhone 6S or iPhone 6S Plus simulators

∥☆過路亽.° 提交于 2019-11-26 08:55:18
问题 I am trying to simulate a force touch using Xcode 7 GM on the iPhone 6S or iPhone 6S Plus simulator. In particular, I am trying to simulate the force touch on the icon of the test app which is implementing Application Shortcuts. Let me know if there is a solution to simulate this, I tried the long press which the Watch simulator uses to simulate force touch, didn\'t work since the iPhone captures it as a long press gesture. Update: I downloaded the ViewControllerPreview Sample code from Apple