Cocoapods no longer builds project after update?

前端 未结 2 1763
你的背包
你的背包 2021-02-10 09:21

After updating to the latest version of cocoapods I can no longer generate the project. Uninstalling the latest version and going back to the older version doesn\'t resolve the

2条回答
  •  再見小時候
    2021-02-10 09:59

    - Remove the build settings from the target.

    Open the project in Xcode. Select the Project (not a Target). Then ensure HEADER_SEARCH_PATHS are acceptable. Now, for each Target (not Project), visit the same setting. If its BOLD, then its overridden.

    To remove the override, select the setting so its highlighted (i.e., white text with blue background) and then press COMMAND+DELETE. The bold text should go away, and the Target setting will return to inheriting from the Project setting.

    In the example below, Product Name is overriden for the Target, while Wrapper Extension is highlighted. (Neither of these apply to your problem - they just show what to look for under Xcode).

    enter image description here

提交回复
热议问题