ios-simulator

iPhone development on PC [duplicate]

不问归期 提交于 2019-11-28 00:52:09
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? 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 available, e.g. iui and jQTouch , to simulate the Look&Feel of iPhone apps. Get a Mac or run OSX server under VMWare

Missing localization in Xcode 6.1

醉酒当歌 提交于 2019-11-28 00:44:19
问题 Since update to Xcode 6.1 yesterday there is no correct localization of apps in the iOS Simulator. I switched the language and region to German/Germany and my apps are still in English and only English keyboard is available. Localization was fine in Xcode 6.0.1 and iOS 8.0 Simulator. Does anybody have similar problems? 回答1: One possible work around is to set the "Application Language" in the used scheme. Source: Answer of Yoshihiro Sakamoto in Apple Dev Forum 回答2: This was mentioned in the

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

安稳与你 提交于 2019-11-28 00:41:51
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? The following hotkeys should be helpful: Command ⌘ + 1 (100%) Command ⌘ + 2 (75%) Command ⌘ + 3 (50%) Command ⌘ + 4 (33%) Command ⌘ + 5 (25%) Look at menu: "Window --> Scale" to see the options. You can enable the

Xcode changes location of applications folder on build

雨燕双飞 提交于 2019-11-28 00:11:44
问题 I am storing an .mp3 in my iOS apps documents directory and saving the path to Core Data. When I rebuild the app Xcode seems to move the application data to a different directory thus making the stored path invalid. Why is this happening and what are the best practices around saving file paths? I am using Xcode 6.2 and have been successful retrieving the file in the past. location of file after downloading: in ~/Library/Developer/CoreSimulator/Devices/82D1931C-590D-45A2-AB9B-8D1D4F2530C5/data

still dyld: Library not loaded

旧城冷巷雨未停 提交于 2019-11-28 00:03:26
问题 I am integrating Facebook in my application. As required frameworks I added to the project. But the app crashes without loading even first screen. dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport Referenced from: /var/mobile/Applications/8E09C9AA-CA81-4C26-AEED-B2C632B60A54/Gridlocked.app/Gridlocked Reason: image not found I use xcode 4.5 & my iPad runs iOS 5.1 The app runs fine on simulator (both 6.0 & 5.1) But when I connect iPad & change the deployment

iOS simulator scaled bug

孤街醉人 提交于 2019-11-27 23:22:39
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. Finally, I got the reason why this bug appears at work and not at home :) Because at work I don't have external display ( monitor ), but at home (DELL, non-retina off course) If you want this bug not to appear, just connect

XCode 5/iOS 7 - localization not working in simulator

独自空忆成欢 提交于 2019-11-27 21:53:10
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 simulator set to French (BTW: Whenever I do a language change the simulator crashes). But it is not

SpringBoard failed to launch application with error: -3

荒凉一梦 提交于 2019-11-27 21:52:52
I'm getting an warning as 'SpringBoard failed to launch application with error: -3'. This happens when trying to run application in Xcode 5. Jayprakash Dubey Finally...found solution! Solution 1 : Just quit Simulator and clean Xcode. The fresh build will not show this Alert again. The possible reason for this might be switching between 64-bit simulator and 32-bit simulator. Solution 2 : If the problem still persists then delete the App from Simulator and re-run the code. This will work since the app contents are freshly loaded. Springboard (also known as Home Screen) is the standard

Swift how to use NSTimer background?

孤街醉人 提交于 2019-11-27 21:39:50
class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() var timer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: Selector("update"), userInfo: nil, repeats: true) } func update() { println("Something cool") } } It's ok for the Simulator ,I will get continuous "Something cool" through I tapped the home button. But it worked out when I debug the app with my iPhone. I did't get anything when I tapped the home button and make my app run background. Someone told me I can play a long blank music to make my App run in the background.But I don't

iPhone 6 (Plus) screen size

↘锁芯ラ 提交于 2019-11-27 21:14:36
There were many articles written and questions asked about iPhone 6 and iPhone 6 Plus screen sizes. This article provides a great explanation. However, I am confused when testing my app in the simulator. I have the following code in AppDelegate . - (BOOL) application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) launchOptions { UIScreen *screen = [UIScreen mainScreen]; NSLog(@"Screen width %.0f px, height %.0f px, scale %.1fx", (double) screen.bounds.size.width, (double) screen.bounds.size.height, (double) screen.scale); return YES; } I get the following