ios-simulator

iPhone simulator folder not in Application Support

帅比萌擦擦* 提交于 2020-01-20 15:06:38
问题 I am creating an application that write some data to the database. For checking I need to open the database in applications. I think it should be in ~/Library/Application Support/iphone simulator.... I have not found the iphone simulator folder in Application Support.I have installed ios 4.2, and simulator is working properly. Where can I find it? 回答1: Xcode versions 3.x-5.x Simulator usually is installed together with SDK so most probably you should look (e.g., if you installed Xcode 3.1 and

locationManager didEnterRegion not called in XCode 9 Simulator

淺唱寂寞╮ 提交于 2020-01-17 08:23:30
问题 I have an app that does geofencing. When I run it in the Simulator (Xcode 8.3.3 and Xcode 9), everything seems to work with the exception that my CLLocationManager didEnterRegion is never called. It is called just fine when I run the app on my iPhone, either out in the real world (entering a region) or in Xcode via location simulation. Any idea why this would be? One difference I've discovered is that the simulator only supports monitoring location when in use, so I had to set things up so I

Showing FlipviewController crash in XCode 4 debugger

若如初见. 提交于 2020-01-17 04:12:26
问题 My app has 2 views that are shown as flipview when a button is pressed. They are working just fine on any testdevice. But in XCode, one of them is causing a crash (bad_exec) to the return of the main method when he is displayed. The crash happens outside of any of my functions. Ok, bad_exec means, I have anything that is trashing/deallocating or corrupting the memory. But why does it just happen in the iPhone 4.2 simulator under xcode 4? No Zombies do fire, nor do I overwrite/deallocate

Cannot input Chinese in iOS Simulator

余生长醉 提交于 2020-01-16 19:49:31
问题 My iOS Simulator is Version 6.0 (358.4) . I have already added Chinese Input via Settings -> General -> Keyboard . And the International Language is also Simplified Chinese. However, I still cannot input Chinese in my iOS Simulator. It only shows the English character instead of Chinese character. 回答1: I think you have to switch to chinese input on simulator by click the 'earch' icon on the bottom left of screen. 回答2: Condition to input Chinese in simulator is, to set a Chinese region, or to

Cannot input Chinese in iOS Simulator

℡╲_俬逩灬. 提交于 2020-01-16 19:49:11
问题 My iOS Simulator is Version 6.0 (358.4) . I have already added Chinese Input via Settings -> General -> Keyboard . And the International Language is also Simplified Chinese. However, I still cannot input Chinese in my iOS Simulator. It only shows the English character instead of Chinese character. 回答1: I think you have to switch to chinese input on simulator by click the 'earch' icon on the bottom left of screen. 回答2: Condition to input Chinese in simulator is, to set a Chinese region, or to

Xamarin.iOS: Cannot run after Visual Studio 2019 Update

混江龙づ霸主 提交于 2020-01-16 09:02:10
问题 i'm facing a strange situation, After Updating Visual Studio 2019, i'm not able to run the application in iOS, this happen when i try to run from a Windows Computer Linked to a Mac. But when i run the app using Visual Studio for Mac instead of windows, the app run without issues. I looked into VS configurations and paths for Xcode and are correct (/Applications/Xcode.app).The path on the Mac exists and are reachables. I tried the following solution, but it doesn't work: Open simulator -- >

Specifying which iPhone OS to run on the device?

独自空忆成欢 提交于 2020-01-15 09:54:30
问题 I have noticed in the iPhone Simulator an option in one of the menus to specify which OS to run the Simulator under. I'm wondering if something similar is possible for the device itself (of which I have only one), so I can test my app on the actual hardware under varying OS versions? 回答1: It looks like you can load a specific version of the OS for testing (FYI, I have not tried this myself, so I do not know how long it takes, etc.). Plus, it probably wipes all the data. iPhone Development

“Installation Failed: Invalid Argument” after moving to Xcode 7

回眸只為那壹抹淺笑 提交于 2020-01-14 10:33:24
问题 After agreeing to the "Upgrade to recommended settings" dialog in Xcode 7, my app build but no longer runs on the simulator. The simulator launches properly, but just sits on the home screen. Meanwhile, Xcode displays the error: Installation Failed Invalid Argument 回答1: This happens because "Upgrade to recommended settings" will change the info.plist's CFBundleIdentifier to point to $(PRODUCT_BUNDLE_IDENTIFIER) instead of the old $(BUNDLE_IDENTIFIER) . Apple says in the Xcode 7 release notes

How to enable Force Touch Pressure on iOS Simulator 9.1

匆匆过客 提交于 2020-01-14 08:46:09
问题 The new 9.1 simulator with Xcode 7.1 has the feature to simulate a force touch like the iPhone 6s / 6s+ but the option is greyed / disabled. iOS Simulator > Hardware > Force Touch Pressure [disabled] Screenshot for reference Anybody know how to enable this option?. Note: Im testing this on a iPhone 6s simulator 回答1: Simulator does not support interaction with iOS Devices using 3D Touch prior to Xcode 7.3. The menu item that you are referencing relates only to Apple Watch devices. 回答2: select

How to enable Force Touch Pressure on iOS Simulator 9.1

江枫思渺然 提交于 2020-01-14 08:46:08
问题 The new 9.1 simulator with Xcode 7.1 has the feature to simulate a force touch like the iPhone 6s / 6s+ but the option is greyed / disabled. iOS Simulator > Hardware > Force Touch Pressure [disabled] Screenshot for reference Anybody know how to enable this option?. Note: Im testing this on a iPhone 6s simulator 回答1: Simulator does not support interaction with iOS Devices using 3D Touch prior to Xcode 7.3. The menu item that you are referencing relates only to Apple Watch devices. 回答2: select