iOS development essay 30:xcode work interval xxxx.xcworkspace does not contain xxxx.xcodeproj

Source: Internet
Author: User

Problem description

The project uses the Cocoapods to manage the third-party framework, so it needs to open xxxx.xcworkspace,pods normal display, but xxxx.xcodeproj shows Red, does not contain xxxx.xcodeproj and cannot be manipulated .

Try to remove all podfile, Podfile.lock, Xxxx.xcworkspace, and Pods folders.

Then open xxxx. xcodeproj, open podfile file

Edit podfile file

Performing the installation of the appropriate third-party class library

But there is an error [!] Attempt to read non existent folder

began to think Cocoapods problem, and try to reload Cocoapods.

Online says to execute the following command

" Echo ' 117.18.237.29   ocsp.digicert.com ' >>/etc/hosts

But the problem is still unsolved, and it's really maddening.!!!!!

Problem analysis

Looking for a long time, finally found the problem. In fact, the problem is not cocoapods, install the corresponding third-party class library is no problem. In the beginning, it should be addressed to the working range Xxxx.xcworkspace without xxxx.xcodeproj, since it is not included, possibly because Xxxx.xcworkspace describes the Xxxx.xcodeproj path error, or the path of the xxxx.xcodeproj itself is wrong. I guess it should be the former problem.

< Span style= "color: #000000;" > open Discover paths really and I xxxx.xcodeproj is different.

Problem solving

Open xxxx.xcworkspace, click xxxx.xcodeproj

Then click on the right side of the screen, click the folder icon under Location to modify the path, select the correct xxxx.xcodeproj file.

Save the path,xxxx.xcodeproj is included, and the running program is normal.

Attention:

To select the correct project to run or not run

iOS development essay 30:xcode work interval xxxx.xcworkspace does not contain xxxx.xcodeproj

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.