ios-simulator

CFBundleExecutable missing or invalid

一世执手 提交于 2019-12-10 09:59:08
问题 Attempting to run my project in the iOS simulator, I get a launch code error '0'. Checking the console logs in CoreSimulator.log I found the .app executable "has missing or invalid CFBundleExecutable in its Info.plist" . I'm not sure how to deal with this issue. Perhaps making sure the CFBundleExecutable file is named correctly, but what exactly is it supposed to be named? 来源: https://stackoverflow.com/questions/30236300/cfbundleexecutable-missing-or-invalid

iOS Simulator: Invalid device state

元气小坏坏 提交于 2019-12-10 07:38:37
问题 I just downloaded Xcode 6.4 from App Store and started to create a hello world app to learn swift but I get the error saying "Invalid Device State". I googled a lot and tried the below things: Restarted Mac and entered xcode and started project (as mentioned in a stack overflow thread) I created a new iOS app with another layout but showed the same error again if I ran that project. I deleted all projects and re-installed Xcode again. Started a new project and ran it but still getting the

Problems with modal view launched over a split view controller

一笑奈何 提交于 2019-12-10 07:14:14
问题 I have created a split view application that begins with a modal view splash page. The problem is that the modal view always launches in portrait mode, even if the ipad is in landscape. If I rotate the ipad a couple of times, it rotates appropriately. I have set UIInterfaceOrientation in my Info.plist, but it doesn't have any impace. in didFinishLaunchingWithOptions , I am using the following code ... [self.window addSubview:splitViewController.view]; SplashViewController *modalView = [

AVAudioPlayer Error using iOS Simulator

若如初见. 提交于 2019-12-10 06:38:22
问题 following problem: <0xb03e7000> Error '!obj' trying to fetch default input device's sample rate <0xb03e7000> Error getting audio input device sample rate: '!obj' <0xb03e7000> AQMEIOManager::FindIOUnit: error '!dev' I found this problem already here on stackoverflow but none of the provided solutions worked for me. Code: #import "CJTActionViewController.h" @interface CJTActionViewController() @property NSURL *url; @property NSData *songFile; @property AVAudioPlayer *audioPlayer; @end

Xcode 9 GM seed Simulator Screen Artefacts

别说谁变了你拦得住时间么 提交于 2019-12-10 04:57:12
问题 I have simulator screen problems, after installment of last beta, it's happen randomly, when i build any project, usually on 3-4 time, when i hit play. Have to quit Simulator Application, and start it again. Anyone have same issue ? Screenshot: 回答1: It seems that Metal is the default renderer for the new simulator and some of the older Apple devices do not support it : Mac computers that support Metal For example, I have a mid 2011 Mac-mini and had to switch it to OpenGL to get the simulator

Selecting the iOS Simulator device type with RubyMotion

拥有回忆 提交于 2019-12-10 04:10:00
问题 Since iOS 8 was released the default device type for simulator became iPhone 6. And even if I manually change the device type using Hardware > Device menu, on the next launch (using rake simulator ) the simulator will revert to iPhone 6. I wonder if there is any rake options, or some other settings to force the device type. PS. I know that there are ways to force a non-retina iPhone and a way to launch the iPad simulator instead of the iPhone one, but I'm interested in selecting between 5/6/6

How to set the location in the iOS simulator without writing code?

半城伤御伤魂 提交于 2019-12-10 03:59:55
问题 My problem was how to set the gps location of my app when running in the iOS simulator The home screen in my app displays sunrise and sunset times based on gps location and I wanted a screen shot with sensible values - I'm in the UK and the sunrise times were showing UK times for American sunrise and sunset. As it is on the launch screen one solution, going to Debug -> Simulate Location, is too late for me. Took me a while to work out and I wasn't finding the answer when I searched here

Is it possible to run iOS 4.0 simulator anymore?

久未见 提交于 2019-12-10 03:36:09
问题 I need to test a crash occurring in iOS 4.0 (not 4.3). There's no simulator is there? How can I test this version of iOS when the current one is iOS 5.0? 回答1: In Xcode 4.2 you can click on the Scheme dropdown list (near the top left corner of the window) and at the bottom of the list is a "More simulators..." option. Click on that and you are given the ability to download simulators for older versions of iOS. If that doesn't do what you need, maybe change your target's Deployment Target? 回答2:

Suddenly I am not able to build for the iphone simulator

你说的曾经没有我的故事 提交于 2019-12-10 02:58:30
问题 Sometimes one wants to really hate the Apple development environment. Seriously, does it need to be this complicated? My problem is this. I am no longer able to build my project to the Simulator. I am getting the following errors. I realize it is a linker error - what I dont understand is 1) why this suddenly is no longer working, and 2) how come it will not pick the right SDK (which is the reason for the linker error). Apple Magik is crazy frustrating. Also, I just recently upgraded to Snow

Writing to then reading from an offscreen FBO on iPhone; works on simulator but not on device?

时间秒杀一切 提交于 2019-12-10 02:06:34
问题 I'm trying to do some image manipulation on the iPhone, basing things on the GLImageProcessing example from Apple. Ultimately what I'd like to do is to load an image into a texture, perform one or more of the operations in the example code (hue, saturation, brightness, etc.), then read the resulting image back out for later processing/saving. For the most part, this would never need to touch the screen, so I thought that FBOs might be the way to go. To start with, I've cobbled together a