ios-simulator

iOS simulator reverts to iOS7 when I'm trying to run 6

自作多情 提交于 2020-01-04 06:15:58
问题 I'm having a weird situation in XCode 5 that I can't explain. My project's build target is iOS 6.1. I go into the simulator menu and change device to iPhone Retina (4-inch) / iOS 6.1. Should run in iOS6, yes? When I hit run, the simulator immediately flips to iOS7 and runs the app in that instead. I've tried deleting the app from the sim, cleaning the build folder, resetting the simulator, restarting both...all the standard stuff. Still happens. This is a project I had been working on in iOS6

iPhone simulator not found

為{幸葍}努か 提交于 2020-01-04 05:34:12
问题 I'm new to Xcode development. I installed Xcode 4.3.1 on my Lion-based mac and unset the hidden flag on ~/Library. I read about the iPhone / iPad simulator here - https://apple.stackexchange.com/questions/31015/how-do-i-run-the-ipad-simulator-to-test-a-website-on-my-mac - and also here iPhone : run .app to iPhone Simulator - but the instructions at this page suggest this path which does not exist on my machine. (I do not have the /Developer folder at all). I presume Xcode 4.3.1 should have

How to disable system location alert in iOS simulator

扶醉桌前 提交于 2020-01-04 04:40:09
问题 I use KIF framework (http://github.com/kif-framework/KIF) with Xcode Continuous Integration Server for UI testing. When XCode CI server start app in iOS Simulator system alert "Application would like to use your current location" appears. I use this delegate - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus: (CLAuthorizationStatus)status to get the notification that user allows to use location and I need it to keep like it is. Is it possible to tap OK on this

How to change the default Xcode iphone simulator when testing in the terminal?

最后都变了- 提交于 2020-01-04 03:59:07
问题 I know there is a simular question here: (How to change the default Xcode iphone simulator when testing) But it still doesn't answer the question of how to do it in the terminal. Meaning: I'm working on a React Native project now & when I run it in the terminal (react-native run-ios) it opens iPhone 6. Now I would like to change this default to a iPhone 7 as it works better on my screen. How can I change this. (I've tried changing it in Xcode, but It keeps changing back.) I have looked

Why does audio work in the simulator but not on my iPad?

血红的双手。 提交于 2020-01-04 03:13:51
问题 I am working on creating a very simple app. 2 buttons, both play sound. Each clip lasts 1 second and responds to "TouchUpInside". They are .caf files that I converted in iTunes. Here is my code, once again, it works in the simulator but not on the device: enter code here- (void)viewDidLoad { NSLog(@"InView did load"); AudioServicesCreateSystemSoundID ((CFURLRef)[NSURL fileURLWithPath:[[NSBundle mainBundle]pathForResource:@"bigaif" ofType:@"caf"]], &systemSoundID);

com.apple.product-type.bundle.ui-testing, but there's no such product type for the 'iphonesimulator' platform

本秂侑毒 提交于 2020-01-04 02:41:06
问题 I used Xcode 7 Beta to develop this project and now I switch to Xcode 6.4 So I had this issue now and i have tried clean, but it doesn't work target specifies product type 'com.apple.product-type.bundle.ui-testing', but there's no such product type for the 'iphonesimulator' platform 回答1: If you are not using UI Testing, you can delete the UITest target in your project's build settings. 来源: https://stackoverflow.com/questions/31914765/com-apple-product-type-bundle-ui-testing-but-theres-no-such

iPhone Simulator custom CA certificate

此生再无相见时 提交于 2020-01-03 14:23:05
问题 I'd like to test an application on the iphone simulator which connects to a service using a certificate which is signed by our own CA. I can do this on the actual device by adding a provisioning profile which has the CA certificate. I had thought that having the CA certificate in the standard OSX keychain would work, but it doesn't. So I can access the service via Safari without warning, but I get error when trying to run things in simulator. 回答1: The crypto api's are unavailable to the

Missing “Web Inspector” Settings in simulator

夙愿已清 提交于 2020-01-03 08:07:10
问题 After doing a "Reset All Content And Settings.." on the simulator the setting to enable using the web inspector in safari has disappeared, and I have no idea how to get it back: Does anyone have an idea how to get this back, and "remote" debug a webpage in the simulator again? 回答1: It seems that this option is not available in the simulated devices. Tip: If you want to connect the console from your desktop Safari, you will need the Technology Preview. the normal one does not discover the

Xcode 4.6.3 can run on device but not on iPad/iPhone simulators

寵の児 提交于 2020-01-03 02:45:08
问题 I see a bunch of questions about being able to run on the simulator but not on the device. I'm the exact opposite. Mine works great on the device but I can't get it to run on the simulator. The simulator pops up but it is just a black screen and the status says Build Succeeded but then immediately after is says "Finished running 'app name' on iPad 6.1 Simulator. Things I have tried based on answers from other threads. Restarting XCode and computer Changed code signing identity to "Don't Code

Xcode 8 Storyboard error

痞子三分冷 提交于 2020-01-03 01:54:12
问题 I am working on building an app. Earlier I have used Xcode 7.1 at that time everything was working fine. Recently I have installed Xcode 8.0 as well and I have both the setups installed into in two different directories Xcode_7, Xcode_8 and I renamed the setup files as well. Everything was working fine but lately I am getting the following error while working with Xcode 8. "An internal error occurred. Editing functionality may be limited " and the storyboard view objects are all gone empty