ios-simulator

Runtime error when using MPMediaPickerController in iOS Simulator

核能气质少年 提交于 2020-01-12 04:38:32
问题 The following happens when I try to run an app using the MPMediaPickerController on the iOS Simulator. 2012-05-28 22:26:42.416 My App[48426:11f03] Could not load source: 3 2012-05-28 22:26:42.418 My App[48426:11f03] *** Assertion failure in -[MPMediaPickerController loadView], /SourceCache/MediaPlayer_Sim/MobileMusicPlayer-1391.72/SDK/MPMediaPickerController.m:86 2012-05-28 22:26:42.419 My App[48426:11f03] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException',

Reduce the size of the iPhone Simulator window? [duplicate]

主宰稳场 提交于 2020-01-11 18:54:13
问题 This question already has answers here : How to resize the iPhone/iPad Simulator? (11 answers) Closed 2 years ago . Is it possible to resize the iPhone Simulator? I'm using screen capture software to record a demo of my iPhone application, and it would be handy to be able to resize the iPhone Simulator window. Thanks! 回答1: You should try cmd 2 or cmd 3 on your keyboard to scale down. And cmd 1 to get back to the original scale. 回答2: Unfortunately no, it must maintain that size. We had the

Simulator on Xcode 10 became terribly slow

落爺英雄遲暮 提交于 2020-01-11 17:10:39
问题 Everything worked perfect on Xcode 9. But after updating to Xcode 10, Simulator started to get huge lags. Super simple animation is working on 2 fps and whole Mac OS is super slow while animation on Simulator is working. Anybody know what happens and how to fix that? Any app or any standard iOS app is the same terrible slow. Explanation — it is NOT about slow motion that I can switch with Command⌘ + T. I am talking about huge lags. When UIView is flying it appears in another position jerkily.

Simulator on Xcode 10 became terribly slow

扶醉桌前 提交于 2020-01-11 17:08:31
问题 Everything worked perfect on Xcode 9. But after updating to Xcode 10, Simulator started to get huge lags. Super simple animation is working on 2 fps and whole Mac OS is super slow while animation on Simulator is working. Anybody know what happens and how to fix that? Any app or any standard iOS app is the same terrible slow. Explanation — it is NOT about slow motion that I can switch with Command⌘ + T. I am talking about huge lags. When UIView is flying it appears in another position jerkily.

Attempting to delete an image from Xcode 4

限于喜欢 提交于 2020-01-11 12:57:29
问题 I'm going nuts trying to do something very simple. I have a number of images in my app that are displayed at certain times. In the course of playing around with retina images, I delete the image files from my app. Except that when I ran the app in the Simulator, the images are still there. I checked the project folder in Finder, and the images are definitely gone. I've cleaned and rebuilt the app, but they're still displaying. If I build the app for the iPhone, they're not displayed. So how

Xcode 9 - Failed to create IXPlaceholder for app bundle ID

随声附和 提交于 2020-01-11 09:19:29
问题 Upon updating to Xcode 9 and in the "launching" phase of compilation on the simulator I get the error: Failed to create IXPlaceholder for app bundle ID Emphasis placed on this issue only occurs trying to launch the simulator, as working with my actual iPhone 6s launches without any issues . Attempts: Ensured info.plist "Bundle Identifier" is correct. it is "$(PRODUCT_BUNDLE_IDENTIFIER)" Checked to see if typing the bundle identifier manually would work, but it did not. Project Cleaned Deleted

iOS Simulator Sound

与世无争的帅哥 提交于 2020-01-10 23:03:21
问题 Is there a way to tell the iOS simulator which audio device connected to your computer you want it to use? The simulator seems to pick whatever audio device is last connected to your machine. I've got a USB audio device (fasttrack pro) I use for my main sound playback and then a USB headset I use for my skype calls. More often than not, the simulator's audio is played on the headset instead of my main speakers. 回答1: Ok, I found that both the input and output device much match in system sound

Images showing in simulator but not on the iPhone device

血红的双手。 提交于 2020-01-10 19:33:52
问题 So when I run the application from the device the pictures show up and everything works great. However, when I move to the device I run in about 10 out of 38 pictures that don't show up. I am pulling the names for the images from an sqlite database and I already checked and the names are correct, case and everything. I checked the bundle and the images are correctly in there. Does memory play into effect in this? I am not really sure what else could cause this to happen?? Thanks! Solution:

Why can't I see the iOS 7.0 simulator in Xcode on Yosemite?

不打扰是莪最后的温柔 提交于 2020-01-10 14:11:55
问题 I need to do some testing on an iOS 7.0.3 Simulator, but when I go to Preferences > Downloads in Xcode (6.0.1) there is no iOS 7.0 Simulator under the Components section. Could it be because I am running Yosemite? I've heard of Mavericks machines losing support for iOS 6.0, but couldn't find any definitive answer on whether Yosemite has removed support for 7.0 simulators. 回答1: It's because you're on Yosemite. It doesn't support 7.0 anymore. Had the same issue. 回答2: XCode 6.1 in Yosemite

iOS 8 / Xcode 6 Simulator is not using HTTP Proxy anymore

久未见 提交于 2020-01-10 08:47:05
问题 My iOS 8 Simulator is not using my proxy settings anymore (I want to debug with Charles). The rest of the system does. The simulator somehow seems to get direct internet access. Have I missed some new setting? Caution: this is NO dup of How to use Charles Proxy on the Xcode 6 (iOS 8) Simulator?. I´m not trying to use SSL on the simulator in the first place. My simulator doesn´t even start to use the proxy. Charles: System: 回答1: Restart the simulator between proxy changes 回答2: This is correct.