How to remove CocoaPods from a project?

前端 未结 19 1626
深忆病人
深忆病人 2020-11-22 05:17

What\'s the right way of removing CocoaPods from a project? I want to remove the whole CocoaPod. Due to some limitations imposed by my client I can\'t use it. I need to have

19条回答
  •  野性不改
    2020-11-22 05:54

    I am gonna write what iv done very briefly (to delete any CocoaPods from my project)..

    1. delete any added folder (frameworks, Pods,...)
    2. delete any added files (PROJECT.xcworkspace, PodFile, PodFile.lock, Pods-PROJECT.debug.xcconfig, Pods-PROJECT.release.xcconfig,...)
    3. just leave your original ones (PROJECT, PROJECT_Tests, PROJECT.xcodeproj)
    4. remove framework reference from the project on xcode

    To remove the framework reference from xcode:

    1. Use the Project Navigator
    2. Select Project
    3. Select Target PROJECT
    4. Select Build Phases from the top options
    5. leave the default groups (Target Dependencies, Compile Sources, Linked Binary with Libraries, Copy Bundle Resources) and delete any other

提交回复
热议问题