ios-simulator

iOS simulator suddenly stopped working, 'iOS simulator was unable to boot', no other message

爱⌒轻易说出口 提交于 2019-12-11 05:31:40
问题 When I click run in Xcode, that is the message that pops up, but it worked a few days ago... I tried resetting the simulator settings but that did nothing. I have read that iOS simulator doesn't work on El Capitain, but that doesn't explain why it worked a few days ago and then randomly stopped working. 回答1: Fixed the issue, the ANSWER is UPDATE. People said this but I didn't have any available updates, but after a few days an update showed up in the appstore and after updating OSX, the

ASIFormDataRequest upload video works in iPhone simulator but fails with iPhone for files over 1.5 MB

心不动则不痛 提交于 2019-12-11 05:28:37
问题 I am using ASIHTTPFormDataRequest to upload a video file. I know my code works because when I upload a video under 1.5 MB (low quality under 1 minute 40 seconds) on the iPhone it successfully posts. I was convinced it was a server issue so we did every test ever and came back with no success. It wasn't until the other day that I was able to successfully upload a large file within the iPhone simulator. The file was over 5 MB and high quality. So I am forced to belive that it has something to

How to launch an iOS app in the simulator without XCode rebuilding the app

早过忘川 提交于 2019-12-11 05:08:45
问题 If I've build an iOS app for the simulator using Xcode, is there a way I can manually launch this in the simulator and/or copy it from the build-dir onto the simulator? The reason being if I change any of my code, I don't want XCode to decide it's going to rebuild everything when I run in the simulator, as this takes several minutes. I see simulator dirs are named using some sort of GUID and have some extra sub-dirs. Is there any magic to this or can I create a new dir and dump my app into it

lldb cannot find iOS app running in Simulator in order to attach

陌路散爱 提交于 2019-12-11 04:47:31
问题 This is a follow-up question to How can I use Swift REPL with iOS SDK. I have an app named Venmo which is already running on a simulator: and I can see it in the Activity Monitor: I would like to open a Swift REPL in which can use classes defined in the Venmo project. Following the instructions in that answer, I first find the app in my DerivedData directory; $ cd ~/Library/Developer/Xcode/DerivedData $ find . -name '*Venmo.app' ./VenmoWorkspace-apbzqcexodswkdfenhxlkpnlmvsx/Build/Products

IPhone how do display Leaderboard screen in my own game … developed in cocos2d

我是研究僧i 提交于 2019-12-11 04:34:18
问题 i want to show leaderbord in my own game ....i am using following method for that but noting happen ... i am confuse with rootview controller as my game is developed in cocos2d so there is nothing like dat :( // Leaderboards -(void) showLeaderboard { if (isGameCenterAvailable == NO) return; GKLeaderboardViewController* leaderboardVC = [[[GKLeaderboardViewController alloc] init] autorelease]; if (leaderboardVC != nil) { leaderboardVC.leaderboardDelegate = self; [self presentViewController

Connecting/Publishing to Facebook with FBConnect Works on Simulator, but not iPhone

妖精的绣舞 提交于 2019-12-11 04:19:54
问题 I have implemented FBConnect into my iPhone App, and it works perfectly on the Simulator (v4.3). However, when I test the the same code on my iPhone (v4.3.3), it appears as though my Facebook Button now exits out of my application and opens the Facebook App. The Facebook App displays a page saying I have already authorized my app, and that I should press "Okay" to continue. At first I did not think this was necessarily indicative of a problem, but when I hit the Okay button, I am simply

How to emulate location while app isn't running

余生颓废 提交于 2019-12-11 03:51:59
问题 I'm building an iOS 8 app that features GeoFencing. I need to test this and I know that I can emulate the location in Xcode using the preconfigured locations or providing a GPX file. However, as this app needs to act based on region monitoring when it's killed (swiped up in multitasking by user), how can I test it without getting in my car and driving around? Thanks! 来源: https://stackoverflow.com/questions/28028675/how-to-emulate-location-while-app-isnt-running

Touch detection doesn't work on simulator for iOS 9

北城以北 提交于 2019-12-11 03:34:00
问题 I've updated Xcode to Xcode 7. Then my Swift project to Swift 2. At last I removed removed all warnings. First scene display few SKLabel and few SKSpriteNode . Using iOS Simulator, touch detection doesn't work under iOS 9 but is ok on iOS 8. A breakpoint put on touchesBegan method show this method is not called. override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) { // Breakpoint is set here } EDIT Removing these messages does not solve anything. Console display

iOS Simulator drawing too big (not a window scale issue)

非 Y 不嫁゛ 提交于 2019-12-11 03:22:22
问题 Firstly, thanks for your time and effort. Just today I started having a random issue in my iOS simulator running an app from Xcode 6. No Xcode update has been installed since I last used the simulator so I don't think it is an issue with an update. Basically, my simulator is drawing everything HUGE. Like 4x the size it should be. This happens with all simulator devices regardless of iOS version. I'm aware of the window scaling with CMD + 1, 2, 3. That is not the issue. It shows the same no

Apple is not currently accepting applications built with this version of the SDK

帅比萌擦擦* 提交于 2019-12-11 03:14:18
问题 My SDK version is "Latest" which means 4.2 and the other thing is set to 3.0. App Loader is giving me this error. Apple is not currently accepting applications built with this version of the SDK. XCode Version 3.2.5 Any clues? 回答1: Possibly try moving the deployment target (other thing) to 3.1 instead of 3.0. XCode 3.2.5 is the latest version, you could also try a re-install if nothing else works. 回答2: Set your Base SDK to Latest iOS and your Deployment Target to 3.0. Make sure you do a Clean