Remove Cocoapods from the project

Source: Internet
Author: User

There has been an error in the previous period: Diff:/. /podfile.lock:no such file or directory

1. Delete the Podfile, Podfile.lock, and Pods folders under the project folder

2. Delete the Xcworkspace file

3. Use the Xcodeproj file to open the project, delete the Pods.xcconfig and LIBPODS.A references under the frameworks group

4. Delete the check Pods manifest.lock and copy Pods Resources under build phases in the project setup

PS: If the cocoapods is integrated into the project after accidentally modifying or deleting its related files can not be passed for example: accidentally

Pods.xcconfig was removed and then the diff:/... /podfile.lock:no such file or directory, after removing Cocoapods with the method above,

And then re-$sudo pod install a bit better.

If a permissions issue occurs when compiling, $sudo chmod 777 to the project folder path-to-project-folder/*

$sudo Chown 777 path-to-project-folder/*

Can.

From:http://stackoverflow.com/questions/16427421/how-to-remove-cocoapods-from-a-project

Remove Cocoapods from the project

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.