simulator

kill iOS Simulator from terminal

瘦欲@ 提交于 2020-06-09 12:14:30
问题 I'm trying to terminate the iOS Simulator from the terminal console (needed for integrating automatic UI Testing in Jenkins),but every time I try the command: killall SimulatorBridge a prompt waiting for action gets displayed: The problem is that the simulator doesn't get dismissed until an action on the prompt is taken. How to get rid of it? 回答1: Use killall "iPhone Simulator" With XCode 6, use killall "iOS Simulator" (thanks @gempewsaw) With XCode 7, use killall "Simulator" (thanks

Xcode simulator constantly download something

南笙酒味 提交于 2020-05-15 05:33:28
问题 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 root txt REG 1,4 30016 1152921500312497946 /System/Library/UserEventPlugins/com.apple.nsurlsessiond.plugin/Contents/MacOS/com.apple.nsurlsessiond nsurlsess 215 _nsurlsessiond cwd DIR 1,4 736 2 / nsurlsess 215 _nsurlsessiond txt REG 1,4 614448 1152921500312495196 /usr/libexec/nsurlsessiond nsurlsess 215

Xcode simulator constantly download something

ε祈祈猫儿з 提交于 2020-05-15 05:32:59
问题 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 root txt REG 1,4 30016 1152921500312497946 /System/Library/UserEventPlugins/com.apple.nsurlsessiond.plugin/Contents/MacOS/com.apple.nsurlsessiond nsurlsess 215 _nsurlsessiond cwd DIR 1,4 736 2 / nsurlsess 215 _nsurlsessiond txt REG 1,4 614448 1152921500312495196 /usr/libexec/nsurlsessiond nsurlsess 215

Xcode simulator constantly download something

半世苍凉 提交于 2020-05-15 05:32:11
问题 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 root txt REG 1,4 30016 1152921500312497946 /System/Library/UserEventPlugins/com.apple.nsurlsessiond.plugin/Contents/MacOS/com.apple.nsurlsessiond nsurlsess 215 _nsurlsessiond cwd DIR 1,4 736 2 / nsurlsess 215 _nsurlsessiond txt REG 1,4 614448 1152921500312495196 /usr/libexec/nsurlsessiond nsurlsess 215

Unable to boot the iOS Simulator after deleting /private/tmp

前提是你 提交于 2020-04-11 06:44:52
问题 This week I cannot boot my Simulator, I tried several solutions from some articles, but it doesn't work. My MacOS version is OS X 10.10.5 (14F27), and my Simulator is iOS 8.4. I grabbed the log from ~/Library/Logs/CoreSimulator/CoreSimulator.log Aug 27 11:29:14 LL-MBP.local CoreSimulatorService[8316] : Could not register service com.apple.SystemConfiguration.PPPController: launch_sim_register_endpoint: 0xfffffecc Aug 27 11:29:14 LL-MBP.local CoreSimulatorService[8316] : Could not register

The app delegate must implement the window property if it wants to use a main storyboard file swift

我们两清 提交于 2020-02-12 08:22:18
问题 I have just developed an app, but when running in the simulator the debugger console says: The app delegate must implement the window property if it wants to use a main storyboard file. I have an app delegate file. What does the message mean, and how can I get my app working? 回答1: Make sure you have the following property declaration in your AppDelegate class: var window: UIWindow? 回答2: If you run your project on earlier than iOS 13.0, in that case you will face the problem. Because of iOS 13

How do I erase an Xcode 10 simulator clone through CLI?

会有一股神秘感。 提交于 2020-02-03 07:52:13
问题 Do they share the same UDID? How are they implemented under the hood? The scenario is I have 4 clones running UI tests in parallel. I need a clean simulator for some tests (but want to keep random test order) 回答1: Command to erase all testing simulators (you'll need to restart Xcode after that): xcrun simctl --set testing delete all Overall, it should be better to just reset those sims (you won't need to restart after that): xcrun simctl --set testing shutdown all xcrun simctl --set testing

iOS simulator showing black on 3/4 of screen

守給你的承諾、 提交于 2020-02-02 04:17:04
问题 I tried several apps running in fresh install (yosemite) of Xcode 6.3 simulator but all of them displays only on first 1/4 of simulator screen. I changed scaling - did not help. All devices have this problem. On another mac the apps are displaying in simulator correctly. Here the screenshot from simulator: 回答1: I frequently have this issue with a VMWare OSX development machine I'm using to develop iOS native apps. From what I've seen it is related to the Window > Scale menu option being set

iOS simulator showing black on 3/4 of screen

痞子三分冷 提交于 2020-02-02 04:16:46
问题 I tried several apps running in fresh install (yosemite) of Xcode 6.3 simulator but all of them displays only on first 1/4 of simulator screen. I changed scaling - did not help. All devices have this problem. On another mac the apps are displaying in simulator correctly. Here the screenshot from simulator: 回答1: I frequently have this issue with a VMWare OSX development machine I'm using to develop iOS native apps. From what I've seen it is related to the Window > Scale menu option being set

lib commonCrypto not available for iOS simulator?

廉价感情. 提交于 2020-01-30 04:21:08
问题 I've been adding libCommonCrypto.dylib to my project to do md5 hash verification. Works all proper on the iPhone (iOS 5.1), but when I try to run it on the simulator, I get this error: ld: library not found for -lcommonCrypto clang: error: linker command failed with exit code 1 (use -v to see invocation) I'm a bit clueless why this happens. I added the commonCrypto to the project target -> build phase -> link binary with libraries. Is there any additional step required to get it working also