ios-simulator

Xcode9 code coverage is not displayed

与世无争的帅哥 提交于 2019-12-02 22:12:41
I have been trying to get the code coverage for my project using Xcode 9 . All test case run successfully but did not generate the code coverage report under Code coverage tab. I tried following things: Enable the Gather code coverage in scheme. Enable Code Coverage Support for my target. Enable the Show case bundle option. Is there extra setting require to check code coverage report ? or should I missed something ? Thanks in advance. krishnendra Issue Resolve in Version 9.3, to get the code coverage Target -> Test -> Options -> CodeCoverage See image: If you want to see the code coverage in

Xcode5 ( 3.5" screen to 4 inch )

眉间皱痕 提交于 2019-12-02 21:46:08
问题 Recently I had upgraded to Xcode 5 and opened a project that had been created in Xcode 4.6.1. All the images and buttons had moved around so I went back and re-arranged everything. Now a new problem has occurred, when I switch from the 4" simulator to 3.5 inch images get cut off, buttons and toolbars move around as well. I been searching for an answer for days and Im new to stackoverflow so I hope I have follow all rules and my question in the correct section. Few notes on the project: Using

How can you download WatchKit? [closed]

狂风中的少年 提交于 2019-12-02 21:19:46
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Does anyone know when WatchKit will be available for download for iOS developers? Will Xcode 6 include an emulator to allow for a Apple Watch app to be created/tested on a Mac? Update: 11/18/14 - WatchKit is officially available on apple's website . You must download the latest version of Xcode from the developer center. WatchKit allows developers to build Apple Watch apps. According to apple, Apple Watch apps using the

Where does the iOS Simulator save screen shots?

寵の児 提交于 2019-12-02 21:00:23
I can't find iOS simulator screenshots (supposedly created using cmd + S ) since updating to Xcode 4.3 (running on 10.7.3 Lion). They aren't in ~Library/Application Support/Developer/Shared/Xcode/Screenshots . Presumably they moved when Xcode moved from Developer , but Spotlight can't tell me where they are either. iOS Simulator screen shots are saved to your desktop ( ~/Desktop ). The file names are of the form iOS Simulator Screen shot Feb 28, 2012 12.16.23 PM.png . You can also choose Edit > Copy Screen (default shortcut: ⌃⌘C ) to copy the screen shot directly to your clipboard. Saad Ur

Xcode 9 - Could not attach to pid for Frameworks unit tests

泪湿孤枕 提交于 2019-12-02 20:46:48
I am getting the following error after migrating from one mac to another using time machine. Could not attach to pid Ensure "project title" is not already running, and "system username" has permission to debug it. The error occurs only when running the unit tests for (any) Framework project. Running an application on simulator and device works fine. Running unit tests for an application works, but running it for any framework can't be launched due to this error. I am getting this error even with Alamofire or PromiseKit unit tests. I tested the solutions suggested on similar questions on

Xcode 6.4 “Could not download and install iOS 8.3 simulator”

时光总嘲笑我的痴心妄想 提交于 2019-12-02 20:28:22
I've been trying to install iOS simulators 8.3 & 8.4 on Xcode 6.3.2 an 6.4 beta respectively. In the first case is not even an option to download this simulator while in Xcode 6.4 it shows an error "Could not download and install iOS 8.3 Simulator. Authorization is required to install the packages". I've searched the web but I could not find anything so I tries reinstalling Xcode from Apple developer website as well as from the app store with no change at all. The only simulator I can use is 8.2. I cannot install any other version. Any help would be really appreciated. This is the error on

Xcode cannot run using the selected device after upgrade to Xcode 5.0

淺唱寂寞╮ 提交于 2019-12-02 20:20:27
I upgraded to xcode 5.0 today. I then pressed play to run my project in the iOS simulator. This initially worked. Then I decided that I wanted to run the profiler. When I did that, I got the message: Xcode cannot run using the selected device. Choose a destination with a supported architecture in order to run on this device. I looked at a couple past posts on this problem and decided to do a Clean and Build. Now I can no longer run in the profiler or the simulator. I consistently get the message: Xcode cannot run using the selected device. Choose a destination with a supported architecture in

Does iPhone 6 / 6 Plus simulator supports changing of Display Zoom mode?

流过昼夜 提交于 2019-12-02 20:17:21
How to change Display Zoom feature in iPhone 6 and 6 Plus simulators? Original iPhone 6 and 6 Plus have this feature in Settings -> Display & Brightness -> Display Zoom (View) with values Standard and Zoomed. Display Zoom is not available in the simulator (as of Xcode 6.0). The answer is correct, Display Zoom is not available as an option in the current Xcode 7 iOS simulator settings. However , it is actually possible to 'simulate' Display Zoom when running your app in the simulator. Background When building a typical project for iPhone, you generally specify a LaunchScreen.storyboard file and

Reduce the size of the iPhone Simulator window? [duplicate]

浪子不回头ぞ 提交于 2019-12-02 20:16:53
This question already has answers here : How to resize the iPhone/iPad Simulator? (11 answers) Is it possible to resize the iPhone Simulator? I'm using screen capture software to record a demo of my iPhone application, and it would be handy to be able to resize the iPhone Simulator window. Thanks! You should try cmd 2 or cmd 3 on your keyboard to scale down. And cmd 1 to get back to the original scale. Unfortunately no, it must maintain that size. We had the same issue. I wish I could give you a more complete answer, however it seems reasonable for the accurate rendering profiling that it

How to generate iPhone simulator build or .zip file for submit in Facebook for review in iOS

寵の児 提交于 2019-12-02 19:37:35
I submit my_app.ipa file to Facebook but its rejected by Facebook. And send me this message "Notes from our review team iPhone Can you please resubmit for review providing a simulator build of your iOS app, and not an .ipa file? I'm reviewing your submission in an iOS simulator that needs your app to be built following these instructions: (.zip) https://developers.facebook.com/docs/ios/creating-ios-simulator-build-for-review " But i was enable to create .zip file of simulator build. and i tried below steps also Step 1: open finder and press option+ shift+g Step 2: paste "~/Library/Developer