ios-simulator

Xcode linker error on iPhone app (Only on simulator)

隐身守侯 提交于 2019-12-10 00:28:31
问题 Im getting this linker error that won't let me compile. It only happens on the simulator. KEY POINTS: - Happens only in simulator - Similar to THIS question, but found no FRAMEWORK_SEARCH_PATHS in my .pbxproj file - Though my OS is 10.6.2, I had to build target 1.5 to avoid other linker errors - libxml2.dylib IS required and is in my Frameworks group - The other cited libraries I have never heard of. - Tried bringing in those other Libs under frameworks, didn't solve. Build SpaceTweet of

Xcode 8, cannot pair watch simulator

拈花ヽ惹草 提交于 2019-12-09 16:50:39
问题 I'm running Xcode 8 beta 5. My app has a watch extension. I cannot pair the iPhone simulator with the watch simulator. I've followed the instructions for pairing (Xcode, Window, Devices) but there are no watch simulators listed there, nor are any listed when I select any of the iPhone simulators. I've tried variations of Add Simulator, but I only get more iPhone simulators -- I never see a watch simulator or a pairing there. The watch simulator exists -- I can launch the simulator, but it isn

How can I find my app files under iPhone Simulator folder?

好久不见. 提交于 2019-12-09 16:04:13
问题 How can I easily access to the folder of an app I am working on. There are too many application folders under iPhone Simulator directory, how can I access to any specific folder? 回答1: You can do this programatically: NSLog(@"%@",[[NSBundle mainBundle] bundlePath]); 回答2: I know of 2 great mac apps that solve your problem: SimPholders http://simpholders.com/ Simulator Folders http://nimbleworks.co.uk/blog/simulator-folders/ 回答3: You can use OpenSim as an alternate tool of above mentioned. 回答4:

Setting Background image in simulator home-screen

你说的曾经没有我的故事 提交于 2019-12-09 14:05:47
问题 I was scratching my brains over something when this popped in my mind. Can we set the simulator's home-screen background image to an image of our choice? Case in point is Xcode 3.2.2 simulator 3.1.3. 回答1: Certain versions of the simulator appear to support this, not just for the home screen but for the lock screen too (which you get to with Command ⌘ + L ): Drag an image from your Mac to the simulator. Mobile Safari opens. Click and hold the image. Choose Save Image . Go to Photos.app, and

How to test memory low condition on real iphone/ipad device (not simulator)?

喜你入骨 提交于 2019-12-09 12:46:08
问题 I know that there is a "Simulate Memory Warning" on the simulator. However, many people said that the app should be test on real device. How can I test the memory low condition on real device? Running as many apps as possible in background? Any better way? Thanks. 回答1: You can use private API to send low memory message: [[UIApplication sharedApplication] _performMemoryWarning]; Though remember to remove from release otherwise your app might get rejected ;) Kudos goes to: http://forum.148apps

XCode 4.2 is missing the iOS5 SDK for the Simulator

百般思念 提交于 2019-12-09 11:05:14
问题 I created an empty Single View application using Xcode 4.2 on OSX Lion 10.7.2 targeting iPhone 5. The project built happily however when launching the simulator I receive the following error message: iOS Simulator could not find the SDK. The SDK may need to be reinstalled. I then tried targeting the iPad with the same results. I removed Xcode using the terminal and downloaded a fresh copy from the AppStore. The clean installation generates the exact same error. It seems that the SDK is not

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

不想你离开。 提交于 2019-12-09 07:11:28
问题 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

Instruments always launches iPad Simulator for Universal Apps with Automation, how can I force it to use the iPhone Simulator?

我们两清 提交于 2019-12-09 05:50:50
问题 I've created a universal binary using iOS 4.2 and Xcode 3.2.5. I'm trying to do some automation testing on the application and since the interfaces are slightly different between the iPad and iPhone versions, I have separate UIAutomation scripts. Unfortunately, no matter what I do, when I click the record button in Instruments, it always starts the application using the iPad simulator. How can I force Instruments to launch the iPhone simulator? The universal app runs fine in the simulator for

Runtime issues with iOS 10/XCode 8 [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-09 04:32:52
问题 This question already has answers here : Hide strange unwanted Xcode logs (12 answers) Closed 3 years ago . Since I built and started running app on iOS 10 simulator, I started getting logs such as : objc[6880]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x120275910) and /Applications/Xcode.app

How to uninstall downloaded Xcode simulator? [duplicate]

∥☆過路亽.° 提交于 2019-12-09 04:03:43
问题 This question already has answers here : Xcode Simulator: how to remove older unneeded devices? (15 answers) Closed 2 months ago . How to uninstall one of the downloaded Xcode simulators? My iOS 7 Simulator won't boot ( Unable to boot the iOS Simulator ). I want to completely reinstall it. I tried: Deleting ~/Library/Caches/com.apple.dt.Xcode Deleting Xcode and downloading it again from the App Store. But the iOS 7.1 Simulator remains installed. How to remove it? Note that I also tried: