ios-simulator

How can I stop Xcode 3.2.6 defaulting to the iPad Simulator? Is this new behaviour?

此生再无相见时 提交于 2019-12-04 08:18:06
问题 It seems like every time I launch an Xcode project or 'Clean all Targets' the Active Executable resets to the iPad simulator. Prior to the Xcode 3.2.6 release Xcode was defaulting to the iPhone Simulator or remembered my previous Active Executable... I've never noticed this behaviour because I generally do iPhone work. This has been bothering me sine the latest Xcode update (iOS 4.3 release) and is really irritating. Similar questions/answers suggest setting the 'Targeted Device Family' of my

Simulator shows Black screen using ionic

牧云@^-^@ 提交于 2019-12-04 08:03:16
问题 i went through ionic sidemenu app when i run emulate ios i get these errors: Usage of '--family' is deprecated in 3.x. Use --devicetypeid instead. Usage of '--retina' is deprecated in 3.x. Use --devicetypeid instead. Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Simulator session timed out." UserInfo=0x7f91f97358b0 {NSLocalizedDescription=Simulator session timed and the black screen comes for the simulator and these are my mac info: yosemite 10.10 ios-sim

How to check device id of iPhone simulator?

冷暖自知 提交于 2019-12-04 07:57:21
问题 I want to check device id for my iPhone simulator application. But not using codebase. I know the way how to do with codebase, using UIDevice instance. Is there any way to find device id without using codebase? 回答1: EDIT: See other answers for the newer ways to view UDIDs for CoreSimulator -based simulators. instruments -s devices xcrun simctl list From Xcode: Window -> Devices and Simulators -> Simulators. The Identifier value is the UDID. From 2011: Is the iPhone Simulator UDID unique for

Xcode sometimes crashes when I try to debug in iPhone Simulator after I upgrade Xcode6

本秂侑毒 提交于 2019-12-04 07:36:43
I am developing an iPhone app and using iPhone Simulator most of the time. When I try to debug one of my project in iPhone Simulator(does not matter what type and OS version) for debugging, Xcode sometimes suddenly crashes. After this error happens, changing code just one line and recompiling solves crash, but Xcode6 always crashes when I try to debug the project in iPhone Simulator if I don't recompile the project. Then, after continuing programming for a while, same crash happens. I might found the reason of crash, which is difference of the signing date and last modification date, from an

Debugging app crashes with iOS Simulator & XCode 4 halts in main() function, not crash source [duplicate]

不问归期 提交于 2019-12-04 07:27:08
This question already has answers here : Closed 8 years ago . Possible Duplicate: Xcode 4.2 showing the wrong line of code on error Xcode 4's debugger doesn't seem to halt execution anywhere near the causes of crashes in iOS Simulator. Say I introduce a bug in my code, perhaps an array out of bounds error like this: NSMutableArray * test = [[NSMutableArray alloc] initWithCapacity:5]; [test insertObject:@"Hello" atIndex:10]; When the app inevitably crashes, I'm taken to the main function in main.m with nothing on the call stack (the 'By Thread' view) to help me find what went wrong. Is there a

iOS Simulator not works on https, all https are evaluated as not trusted

风格不统一 提交于 2019-12-04 07:25:25
The Simulator Version 10.0 (SimulatorApp-835.2.1), the Xcode version is 9.1 Seems that all the https connections are evaluated as not trasted , it is affected after the upgrade of Xcode and simulator. I'm sure that the https connection are with valid certificate also because the same https://support.apple.com get Not trusted problem inside the simulator. With safari I get some details about "not trusted" site clicking on showDetails and view the certificated the result is the follow: I already tried to: rest the simulator erase all content and settings delete the certificate from keychain

how to download iOS 10.3.3 simulator

前提是你 提交于 2019-12-04 07:20:19
I wanted to try my app on iPhone 6 with iOS 10.3.3 but I couldn't find iOS 10.3.3 in simulators any ideas are welcome Unfortunately you can't download it from this window, as Apple does not release/provides simulator for each version/subversions of iOS. Here I've simulator list with Xcode 9.3, Component window. It seems apple has not provided simulator for 10.3.3. You can also add/find a simulator from Xcode Target: Open simulator list against your Xcode target and Add Additional Simulators... Switch to Simulators and click on + Select Device Type , iOS Version and Create simulator. 来源: https:

Bluetooth headphone music quality deteriorates when launching iOS simulator

若如初见. 提交于 2019-12-04 07:20:02
问题 The situation goes a little something like this: I am programming Xcode whilst concurrently listening to music on my bluetooth headphones... you know to block out the world. Then, I go to launch my app in the iOS simulator and BOOM all of a sudden my crystal clear music becomes garbled and super low quality like it is playing in a bathtub 2 blocks away... in the 1940s. Note: the quality deterioration does NOT occur if I am playing music on my laptop or cinema display and I launch the sim.

Unable to run an ipad application [closed]

眉间皱痕 提交于 2019-12-04 07:16:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I need some help. I have an ipad application downloaded from App-Store (free) and now i want to run the app on any simulator. I tried many simulator but i got failed. Even when i am try to run it in MAC OS system, then it is saying that unable to run. So i need guidance to run the following app on a simulator.

Keychain Services API fails with errSecNotAvailable in iphonesimulator 6.0

旧街凉风 提交于 2019-12-04 06:59:43
Calls to the the Keychain Services fail with errSecNotAvailable when executing a target using the command line tools and the iphone simulator is set to Hardware version 6.0 (10A403). If I change the simulator version to other previous version (4.3, 5.0, 5.1) and re-execute using the same command line script the calls succeed. I'm running latest XCode 4.5 and the command line tools were downloaded from within XCode. To reproduce this error just do the following: Setup an ios library project with a OCUnit target Set Base SDK to 6.0 Set iOS Deployment Target to 4.3 Copy and paste the code st the