Xcode run device changed from Iphone/ipad to my Mac solution

Source: Internet
Author: User
First of all, how to resolve the device column display "My mac" problem: Children's shoes are known that Xcode will display the appropriate simulator for developers to choose based on the current SDK in the options bar next to the Run button, but sometimes the error "My Mac" is obviously not what we want. The main reason for this is that when you open another Mac computer copy of the project or other causes appear, then the solution is given here:

Resolution Step: First close your Xcode, find the project directory where you have resolved this issue, and then this item * * *. xcodeproj file, then right-select "Show Package Contents", in general, there are the following 3 files in the package: 1.project.pbxproj 2.project.xcworkspace 3.xcuserdata. Find the culprit of "xcuserdata" and move it all the way to the trash, OK, reopen your project, and the available simulator will be displayed normally.

Xcode run device changed from Iphone/ipad to my Mac solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.