ios-simulator

iOS simulator scaled bug

佐手、 提交于 2019-12-28 06:27:08
问题 Today morning I build and run my xcode project. When simulator launched I saw this: The screen is scaled , I see only 1/4 part, other 3/4 parts are hidden . Did anybody faced with same problem? The issue happens in xCode6, Xcode5 , also in AppCode . I tried to Clean project, switched to iPhone5 screen , iPad , the same problem. Also, this happens with my other iOS projects. 回答1: Finally, I got the reason why this bug appears at work and not at home :) Because at work I don't have external

Application windows are expected to have a root view controller at the end of application launch - even with all known issues fixed

拜拜、爱过 提交于 2019-12-28 04:19:32
问题 I have this problem, however none of the information I can find on this forum or the internet in general seems to be able to help me. There seem to be two places where this error can come about: main.m - my function looks like this: int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } The last argument in UIApplicationMain returns an NSString value of the class of my AppDelegate . This is therefore working

Couldn't register […] with the bootstrap server

泪湿孤枕 提交于 2019-12-28 04:00:11
问题 I keep getting this error when launching my app on the iOS Simulator: Couldn't register com.mycompany.MyApp with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger. I've read other reports of this error and it seems there is no obvious fix for it (restarting the iOS Simulator, restarting Xcode etc..) At this point here's a list of things I've tried: Restarting the Simulator Restarting Xcode

How to Install Older iOS Simulators in XCode 4.2.1 (SDK5.0)

跟風遠走 提交于 2019-12-28 01:56:35
问题 I have just bought a new iMac. I then downloaded the latest SDK 5.0 and installed XCode 4.2.1. Everything is working fine. Though I realized that there are only iPhone and iPad Simulators 5.0 available for debugging. So I went on clicking the More Simulators... I click Install for all items and a while passed, and when I came back, it indicated as "Installed". But when I go back to my XCode, there are still just Simulators 5.0 in the list. So, how do I go about installing the older simulators

Adding a self-signed certificate to iphone Simulator?

回眸只為那壹抹淺笑 提交于 2019-12-28 01:43:06
问题 I have a self-signed certificate at the endpoint of my API. I'm trying to test some things using the simulator but am getting "untrusted server certificate". I have tried to use safari on the simulator to download the .crt file, but that doesn't seem to work. Where does iPhone Simulator get its keychain from? How can I add a trusted certificate so my application will work? UPDATE I got it to work by creating a CA and then adding a CA certificate using the iPhone provisioning tool. Then I was

How can I programmatically determine if my app is running in the iphone simulator?

柔情痞子 提交于 2019-12-27 12:10:47
问题 As the question states, I would mainly like to know whether or not my code is running in the simulator, but would also be interested in knowing the specific iphone version that is running or being simulated. EDIT: I added the word 'programmatically' to the question name. The point of my question is to be able to dynamically include / exclude code depending on which version / simulator is running, so I'd really be looking for something like a pre-processor directive that can provide me this

Xcode 6: Keyboard does not show up in simulator

拜拜、爱过 提交于 2019-12-27 10:34:51
问题 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! 回答1: 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

Is there a free iPhone compiler and emulator?

主宰稳场 提交于 2019-12-25 20:52:01
问题 I am looking for a free iPhone compiler and emulator to learn the basics of iPhone programming. Are there any? 回答1: xcode is free and available on iTunes store, but you need a mac machine and a developer account that may also be a free university account too for students. and if you don't have mac. then use Vmware and install virtual machine with mac iso vmware image. there are some other ways too like flex which are being used for iPhone but xcode, which uses objective c is the formal by

Is there a free iPhone compiler and emulator?

一世执手 提交于 2019-12-25 20:49:49
问题 I am looking for a free iPhone compiler and emulator to learn the basics of iPhone programming. Are there any? 回答1: xcode is free and available on iTunes store, but you need a mac machine and a developer account that may also be a free university account too for students. and if you don't have mac. then use Vmware and install virtual machine with mac iso vmware image. there are some other ways too like flex which are being used for iPhone but xcode, which uses objective c is the formal by

Toggle Software Keyboard for entire test suite in appium python

萝らか妹 提交于 2019-12-25 11:52:49
问题 Currently I am writing iOS tests using Python Appium and would like to completely hide the software keyboard which pops up whenever you have to type something. I am already aware of driver.hide_keyboard() function but it's a pain to include it everywhere in tests. I was going over the Appium Desired Capabilites but couldn't find anything that will disable the software keyboard. Appreciate if anyone can help me here? 回答1: To disable soft keyboard in iOS simulator do this: Simulator Menu >