ios-simulator

Failure to stop executing task in Xcode 4.3

时间秒杀一切 提交于 2019-12-03 10:47:42
问题 I just installed Xcode 4.3 and I'm having some issues with stopping my app while running in the iOS simulator. I'm able to quit the simulator, but I cannot stop the task from running, either by hitting the stop button, or using the keybinding. In order to stop the process, I literally have to quit Xcode and restart. This obviously makes any development at all very difficult. I found this bugreport: link, which sounds very similar to the issue I'm seeing. Is this a known issue with 4.3, or has

Xcode 5.0.1 iOS 7.0.3 Simulator Not launching

假如想象 提交于 2019-12-03 10:46:55
I just upgraded to Xcode 5.0.1 on OSX Mavericks and upgraded Xcode to 5.0.1. When I try to launch an app on iOS 7.0.3 Simulator, the Simulator won't launch. The app will launch on iOS 6.1 Simulator, but the iOS 7.0.3 Simulator just gets stuck on a black screen. Anyone else have this issue? I've tried re-installing XCode as well and still get the same problem. I'm also having same problem in Xcode 5.0.1/OS X 10.8.5. Finally, able to resolve it. First clean project (Cmd+K) and then run your project the iOS 6.1 simulator. When app is running well in iOS 6.1, stop the app (Cmd+dot) in Xcode and

Failed to load Info.plist from bundle

Deadly 提交于 2019-12-03 10:24:57
问题 Cannot run app. Failed to load Info.plist from bundle error occurs. When I CMD+K clean the project, it runs fine. But I have to clean the project every time I make changes and run the app. Following is the screenshot of my podfile: 回答1: I had tried all suggestion and none of them work Then I tried to Reset content and Setting of simulator and it worked for me. :) 回答2: Simply Just quit the simulator and open it again and it should works fine 回答3: 1: Remove app from simulator, 2: Product >

How to access iOS simulator camera [duplicate]

牧云@^-^@ 提交于 2019-12-03 10:24:24
问题 This question already has answers here : How do I test a camera in the iPhone simulator? (5 answers) Closed 4 years ago . Hi friends i am doing camera app. i need to test the app in simulator but i can't able to access the iOS simulator camera. Any help for my problem. If not possible in simulator means i need to access my system camera. Whether it is possible?I tried Image picture view controller but it not works .Any help will be appreciated. The below code only i tried.. self.imagePicker =

Input text doesn't show keyboard on iOS simulator

自闭症网瘾萝莉.ら 提交于 2019-12-03 10:23:08
I'm building an app and I need to use an input text. The problem comes when you tap on this input text, the keyboard doesn't appear. I don't know why, I don't know what I'm doing wrong. It is supposed to be straightforward. Here is some of my code: <View style={ styles.storyContentContainer }> <TextInput ref='username' style={{width: 300, height: 20, borderWidth: 1,}}/> </View> And a video to show to you guys when the input text gets the focus nothing happen: I hope you guys can help me with this issue. jevakallio I assume you are running this on the iOS simulator? Turn off the host machine's

Xcode 5: Multiple test targets in one scheme: “Simulator already in use”

三世轮回 提交于 2019-12-03 10:18:40
In Xcode 5, I have a workspace with multiple projects and a scheme that should run all the test targets of the various projects. When I kick off the tests about 3 test project targets pass. So far, so good. But at the fourth test target I get an error message from Xcode telling me that the simulator can't be launched because it is already in use. Is there any way to kill the simulator between each test target(!) in a single(!) scheme? Or are there other solutions? Edit: I have opened a rdar for this: http://openradar.appspot.com/15153136 Thanks! I have come into this error whenever i try to

Why does the iOS simulator require i386 and x86_64 symbols even though I'm on an x86_64 system only?

折月煮酒 提交于 2019-12-03 09:28:48
问题 I'm trying to get an app running on the simulator that has had some problems doing so before. We don't have libjpeg.a built for i386 , but it does have x86_64 . This is the only dependency left, but I'm wondering why I actually need i386 symbols, if I'm running on an x86_64 mac. 回答1: The iOS simulator can run your app in 32 and 64-bit modes. This is allows you to work out a lot of 64-bit issues and make sure it is ready for both armv7 and arm64. To do this, it compiles your app for i386 and

Failed to install “iOS 6.1 Simulator” XCode 5

帅比萌擦擦* 提交于 2019-12-03 09:19:16
I want to run my app on both simulators ios6 and ios7. I'm trying to install ios 6 simulator but I am getting this error: Failed to install "iOS 6.1 Simulator" An unknown error occured. Please try again later. I restarted XCode but not working stil.. Try to reset iOS 6.1 simulator from menu "iOS Simulator -> Reset Content and Settings...", then run your app in XCode. This helped me. Was having the same problem , already did a system restart and reset the simulator but didn't work but deleting the app manually inside the simulator worked for me, Run it in iOS 7 simulator (so you can run it),

iPhone Simulator 6.0 not able to connect to gamecenter in sandbox mode

孤人 提交于 2019-12-03 09:00:07
I'm trying to implement a gamecenter aware app targeted to iOS 6. To give some info on the environment I'm working on mac os 10.7.5 with XCode version is 4.5.2 and xcode is running iphone and ipad simulator version 6.0. The problem is I cannot connect to gamecenter in sandbox mode neither through ipad or iphone simulator, but the same code works as desired while testing in my iphone. I followed the gamecenter programming guide in apple's developer library and I got this atm it is called from applicationDidFInishLaunching in appdelegate: - (void)authenticateLocalUser:(UIViewController *

How can you download WatchKit? [closed]

风流意气都作罢 提交于 2019-12-03 08:46:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Does anyone know when WatchKit will be available for download for iOS developers? Will Xcode 6 include an emulator to allow for a Apple Watch app to be created/tested on a Mac? 回答1: Update: 11/18/14 - WatchKit is officially available on apple's website. You must download the latest version of Xcode from the