ios-simulator

Is it possible to get the 'live' current location with an iOS Simulator?

China☆狼群 提交于 2019-12-09 01:16:58
问题 I'm trying to test out my location code with an iOS Simulator. How can I make the iOS simulator use my -real- current location? So for example, i'm on a train using my MBP connected to the interwebs via my iPhone teathering. I then run the iOS Simulator and double click on my App. Now .. as the train moves, I wish to see my lat/long coords change in my labels / console output. I'm not after code (i've done all that)... just not sure how to tell the iOS Simulator to use the real live location

Xamarin iOS Simulator running old code

主宰稳场 提交于 2019-12-08 23:44:01
问题 When I debug my Xamarin.iOS project from Visual Studio, it builds, installs on the simulator, and launches the app without issue. But on launching, I'm seeing a bunch of Debug tracing from a method that doesn't even exist in my C# code anymore. I can also set breakpoints on the class from which I removed the method at the same line numbers where this method used to be, and I will see the removed method in the call stack when the debugger stops. I've closed and reopened Visual Studio, reset

Xcode 7 or 8 issue with Pods, can't run at all

怎甘沉沦 提交于 2019-12-08 17:28:46
问题 Getting this error for pods in Xcode when trying to run app: error: A cryptographic verification failure has occurred. Tried reinstalling Pods/repo Reinstalling Xcode(s) Also doesn't run on simulators: Also, running Sierra at the moment (yes, I know). 回答1: I got mine working now!! Not really sure what I did, at all, but I just deleted the Xcode 8 .app entirely and then I redownloaded it, opened up my project in it, did a pod install and pod update, and it's running in the simulator just like

Xcode - unit-tests: Test session exited(-1) without checking in

淺唱寂寞╮ 提交于 2019-12-08 16:54:24
问题 I have serious trouble with unit-tests in XCode. I use XCode 6.4 Build version 6E35b on OS X Yosemite and OS X Capitan. As a result I have such an error: _finishWithError:Error Domain=IDEUnitTestsOperationsObserverErrorDomain Code=3 "Test session exited(-1) without checking in." UserInfo=0x7fbfea2b60b0 {NSLocalizedDescription=Test session exited(-1) without checking in.} didCancel: 1 There are already some posts on stack (for instance, Xcode Server CI Bot Test Session exited(-1)), but

Missing languages on iOS simulator

寵の児 提交于 2019-12-08 16:29:23
问题 When I run my application, my iPhone/iPad simulator only gives me 6 language choices (English, German, Japanese, Italian, Spanish, and Hungarian). After having Googled this it seems like there should be at least 18 language choices available. I've reinstalled Xcode 4.3.1, and installed the iOS 5.1 simulator, and it has the same issues, same languages. Does anyone know where these languages are defined, and why a simulator wouldn't have all available options? Google and the Apple Dev forums

Testing SMS in the iOS Simulator

我与影子孤独终老i 提交于 2019-12-08 15:56:21
问题 Is it possible to open the message composer interface in the iPhone simulator in xcode? if it is can someone tell me how.. I really need it now and having hard times finding a solution how and why my code does not work on simulator. thanks.. :D 回答1: It is not possible. This is one of the limitations of iOS Simulator. You also cannot test push notifications, iCloud, etc. If you need to test your code, you will have to join Apple's iOS Developer Program and test the app on your device. It's $99

LLVM ERROR: Cannot yet select: error

笑着哭i 提交于 2019-12-08 15:09:18
问题 Hello i am getting the following error when I am running my app in the simulator. LLVM ERROR: Cannot yet select: ... It seems that other have reported similar issues for the same combo: * New sandy bridge MBP * Iphone 4.3 Simulator * opengl Anyone have some clue? Here is a short excerpt from the log: LLVM ERROR: Cannot yet select: 0xa0237d8: v16i8 = bit_convert 0xa02aa48 [ORD=259] [ID=170] 0xa02aa48: v8i16 = X86ISD::PSHUFLW 0xa02a828, 0xa02a608 [ID=166] 0xa02a828: v8i16 = X86ISD::PSHUFHW

Xcode 4 - IOS - Simulator not available as build target

霸气de小男生 提交于 2019-12-08 14:55:48
问题 I have a weird issue... I'm unable to find the simulator as a device in order to test my application. Anyone have any idea how to fix it? In a new project, it is available though. Regards, EZFrag 回答1: Here's what happened to me ... when I updated to the latest version of XCode (4.3.2) I didn't bother to uninstall the previous version. I mistakenly opened my iOS 5.1 targeted project in the older version of XCode that does not know about 5.1 and as a result the simulator was not available. So i

Xcode 6 Beta iOS 8 Simulator can't access internet

╄→гoц情女王★ 提交于 2019-12-08 14:32:11
问题 Just installed XCode 6 Beta to test my app. The iOS 8 Simulator runs and my app successfully installs but the simulator can't access the internet. I try using safari or maps and there is no network connection. If I run the iOS 7 simulator from XCode 6, it connects to the internet perfectly. I've tried using the steps in this thread but it didn't change anything. (The steps were more if your app doesn't install but I tried anyway.) I don't have a firewall or little snitch blocking the

iPhone Simulator Can't Be Lauched?

六月ゝ 毕业季﹏ 提交于 2019-12-08 14:26:20
问题 When I press Run on Xcode with other tasks already running, the following message appears: Simulator in Use. The Simulator can't be launched because it is already in use. I checked with some friends and when they press run, Xcode automatically stop the tasks running and run the app you want. How can I configure this here? Thanks in advance, 回答1: Quit the simulator and try again. if not working quit the Xcode and try again. 回答2: If you have two projects open in Xcode and one is running on the