ios-simulator

Is there a way to run multiple iOS Simulators at once? [duplicate]

别等时光非礼了梦想. 提交于 2019-11-26 22:03:11
问题 This question already has answers here : Is there a way to simulate multiple iphones using xcode/iphone sim? (10 answers) Closed 5 years ago . For example, to test features that have several users interacting. All I've come up with is multiple OS X VM's with an iOSS in each, but that seems like a sledgehammer missing the obvious right in front of me? 回答1: AFAICT, it does not support multiple instances running at the same time. I tried two methods, but both failed. $ open -n /Developer

Can't scale device window in iOS Simulator

放肆的年华 提交于 2019-11-26 22:00:21
问题 On the 24" iMac I'm using at work I cannot scale the iOS Simulator's window. The 100% and 50% menu entries are greyed out (and the keyboard shortcuts don't work either.) On my Mac Mini at home, it's fine. I've searched high and low for someone with a similar problem, and can't find anything logged. Any ideas? 回答1: The options will only be there if your screen is not large enough to show the window at 100%. 回答2: Now It's more flexible with Xcode 9+ Simulator. You can pick & drag any corner of

Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion

落爺英雄遲暮 提交于 2019-11-26 21:50:56
I want to install SDK 4.3 in xcode 4.4 on mountain lion (os x 10.8), but when I installed the 4.3 sdk package from xcode 4.1 and launched the simulator from xcode 4.4, the simulator just told me that the ios simulator could not find the sdk. The sdk may need to be reinstalled, which means it couldn't run! What's wrong with xcode 4.4 GM? Are there any ideas about how to solve this kind of problem? I've looked into it, and this is a deliberate behavior from Apple. Here is an (edited) extract of the cache for Xcode download locations: ~/Library/Caches/com.apple.dt.Xcode/Downloads

Changing iPad/iPhone simulator resolution for Xcode 4.3.2 [duplicate]

女生的网名这么多〃 提交于 2019-11-26 21:48:23
问题 This question already has an answer here: How to resize the iPhone/iPad Simulator? 11 answers I am working on a Philips 19" and upgraded Xcode to version 4.3.2. On the new "Retina Display" on iPad 3 (oh, sorry, on The New iPad) my iPad simulator changes it's resolution and the simulator has vertical and horizontal scroll bars! How do I change the resolution of the an iOS simulator? 回答1: The following hotkeys should be helpful: Command ⌘ + 1 (100%) Command ⌘ + 2 (75%) Command ⌘ + 3 (50%)

iPhone development on PC [duplicate]

老子叫甜甜 提交于 2019-11-26 21:47:39
问题 Possible Duplicate: How can I develop for iPhone using a Windows development machine? Can anybody shortly describe solutions to start develop for iPhone on PC? 回答1: You do not need necessarily a Mac. It depends on your requirements for the application. What you can always do is creating a web application for the iPhone. Here is a nice tutorial with Aptana (Eclipse based IDE for web development). Aptana seems to have some kind of iPhone simulator integrated. There are various toolkits

How can I install a .ipa file to my iPhone simulator

懵懂的女人 提交于 2019-11-26 21:20:56
I have an iphone simulator running on my Mac. I have a .ipa file, can you please tell me how can I install it on the simulator? You can't. If it was downloaded via the iTunes store it was built for a different processor and won't work in the simulator. Keeton Feavel I found an .ipa file that I wanted using iTunes and copied it over to my desktop. After that I changed the extension to .zip and extracted it. Next I found the Payload folder and moved the application inside to my desktop. Finally I moved that application to my iPhone simulators applications folder found at: HD > Applications >

How to get the Iphone type from simulator (IOS)

一笑奈何 提交于 2019-11-26 21:15:24
问题 There are a lot of solutions to find out on which device out app is running. iOS: How to determine the current iPhone/device model in Swift? But running in the simulator, we just can detect that it is the simulator, but not what type of simulator (iphone5,6,6s etc.) How can we test different logics depending on devicetype with the simulator ? Or how can I detect which device is simulated in code ? 回答1: Based on the answers I found here and here, I wrote this little Swift function for you:

Xcode 6 - Launch simulator from command line

Deadly 提交于 2019-11-26 21:14:31
I want to launch iPhone simulator from command line. until now I have been using the below command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SimulateDevice -SimulateDevice is used to launch a specific device type Now with Xcode 6 the path and the app has been changed to /Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app/Contents/MacOS/iOS Simulator but sadly -SimulateDevice option is not working now. I can launch the simulator, but dont have an option to

Capture iOS Simulator video for App Preview

泪湿孤枕 提交于 2019-11-26 21:12:28
Okay, so we can now submit video previews of our apps on the App Store. According to Apple we should do so with an iOS8 device and OSX 10.10. The problem is you have to have all the different devices (4", 4.7", 5.5" and iPad). Is there an alternative to this? I am thinking of capturing a video of the simulator. The problem is the device screen is bigger than my FullHD monitor when shown in 100% resolution. Any solution that can capture a video right from the simulator in full resolution? Edit: Since a lot of people are answering questions I'm not asking let me say: - Recording one device size

XCode 5/iOS 7 - localization not working in simulator

淺唱寂寞╮ 提交于 2019-11-26 20:48:35
问题 I was following one of Ray Wenderlich's tutorials on localization but I can't seem to get it working. I've set my project up for localization in English and French and I have a locaziable.strings file for each: The French file has the correct (well as far as Google translate goes) French versions of my string: I'm setting the strings by calling the correct key from the localizable.strings file: NSString* strTitle = [NSString stringWithFormat:NSLocalizedString(@"Title", Nil)]; And I have the