ios-simulator

Simulating Apple pencil in the simulator seems to be possible somehow

风流意气都作罢 提交于 2019-12-07 15:38:25
I was wondering if it is possible to simulate the Apple pencil in the iOS simulator. According to an Apple emloyee here Xcode iOS Simulator: can I use the mouse as pretend Apple Pencil input (on iPad Pro), for testing? it is not possible. And the answer was given in June 2017. According to https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/ (very last paragraph: Stylus support in Windows is also translated to Apple Pencil input on the simulator. ), using the remote iOS simulator from Xamarin, it is possible to simulate the pencil. (and they have had this feature for some

writeToFile working on simulator, but not on device

﹥>﹥吖頭↗ 提交于 2019-12-07 13:48:13
问题 I have a plist which I am changing: NSString *finalPath = [path stringByAppendingPathComponent:@"KeyFrameFileByMovie.plist"]; NSMutableDictionary *keyFrameFileByMovie = [[NSMutableDictionary alloc] initWithContentsOfFile:finalPath]; [keyFrameFileByMovie setValue:keyFrameName forKey:movieName]; BOOL isOk = [keyFrameFileByMovie writeToFile:finalPath atomically:YES]; On the simulator isOk is 1 on the device isOK is 0 I don't think it is a case sensative issue, because I have a getting code that

iPhone Simulator Default Hardware Version

跟風遠走 提交于 2019-12-07 12:43:37
问题 I have been playing around with the iPhone SDK recently. At first I wasn't taking advantage of anything that required version SDK version 2.2. However, I recently started using some features that were added or modified in 2.1 and 2.2. I installed the new 2.2 SDK and changed my project settings to target SDK 2.2. However, when I hit "Build and Run" in Xcode, the simulator launches with version 2.0 selected. I can change it to 2.2 and my app works as expected, however doing that kills the debug

Testing custom location with simulator

自闭症网瘾萝莉.ら 提交于 2019-12-07 12:31:45
问题 I just spent the last hour searching - thinking that there has to be an answer - and didn't find much, so I'm asking here. I'm trying to get the sample app Regions to trigger enter and/or exit regions updates via the simulator. I'm familiar with setting a specific latitude and longitude with Debug > Location > Custom Location but that doesn't seem to do much, although it does seem to work in the LocateMe sample app. At this point I don't know if the problem is a limitation of the iOS

iOS 8 - Can't get current location, Error Domain=kCLErrorDomain Code=0

◇◆丶佛笑我妖孽 提交于 2019-12-07 11:12:14
问题 I've problem with getting my current location. I still getting error: Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed. (kCLErrorDomain error 0.)" I already did everything that I found here: Reset content and settings in iOS Simulator (map application in simulator shows correct location). In Xcode at Product>Scheme>Edit I unmarked Allow Location Simulation (when I mark it,It simulate e.g. London). I have added NSLocationWhenInUseUsageDescription to Info.plist file in my

Re-enable iPhone Simulator location services

こ雲淡風輕ζ 提交于 2019-12-07 07:30:41
问题 I have disabled location services on the simulator with the "Don't ask again" option set, thinking that I could re-enable it later, but now I can't find out how. Can someone point me out where to change this setting? Thanks. 回答1: Solution: System Preferences > Security > (Button) Reset Warnings You may need to click the lock in the bottom left side before you can click that button. 回答2: I did this and it worked: iOS Simulator > Reset Contents and Settings... That deleted the apps installed in

Calendar on iPhone simulator

和自甴很熟 提交于 2019-12-07 07:30:39
问题 How can I access the calendar on the iPhone simulator? I'm using Titanium to make an app, and I've created an event. It should have worked, and now I want to test if it is saved correctly in the calendar. Can anyone tell me how I can open it? Thanks Tjekkles 回答1: Update for Lion : To get to the User Library folder, follow these instructions. There doesn't seem to be any way to access the calendar from the simulator, unfortunately. However, as I found in this thread, you can find the SQLLite3

iOS5 Simulator on XCode5-GM

蹲街弑〆低调 提交于 2019-12-07 05:30:38
问题 On new XCode5-GM Apple stopped to support older simulators (they are not included in the XCode5 bundle). I would need at least a 5.0 simulator in order to test my apps because I would like to still support iOS5: I have no reasons for not doing it and iPad1 runs on it. Is there any way to install and run iOS5 Simulator on XCode5 ? 回答1: From https://devforums.apple.com/message/859595#859595 << OS Simulator 5.0/5.1 is available only on Mountain Lion. If you're running on Mavericks, you'll only

Xamarin.Auth iOS9 Authentication SSL ERROR

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 04:56:15
问题 I've just updated XCode to the 7.0 (7A220) and this take my Simulators to iOS9. From that moment I cannot perform successfully any OAUTH call from the simulators.. I tried every model, from my App to the "sample Xamarin.Auth App". The answer is always the same: "Authentication Error An SSL error has occurred and a secure connection to the server cannot be made" The Code is the STANDARD one, I only changed my AppID. The same code is working on the Android version of the same App! var auth =

Reading from Keychain Xcode 9 simulators returns nothing

雨燕双飞 提交于 2019-12-07 04:08:17
问题 Since I'm using Xcode 9, all unit tests communicating with keychain are broken. It also happens with Xcode GM. As I traced, there is no OSStatus errors while reading and writing but reading from keychain returns nothing and causes failure for all unit tests using keychain. I've already faced something like this when Apple released Xcode 8 with iOS 10 simulator which keychain was not working and Apple fixed that in Xcode 8.2. Is anybody else facing this issue with iOS 11 simulator too? Any