- Use the `$(inherited)` flag, or - Remove the build settings from the target. CocoaPod Swift3 pod update error

前端 未结 3 1859
别那么骄傲
别那么骄傲 2020-12-13 23:30

I\'ve been running into a couple of strange errors in terminal when updating cocoapods after updating a Switf2 project to Swift3. Here are the errors:

[!] Th         


        
相关标签:
3条回答
  • 2020-12-13 23:51

    This worked for me:

    https://github.com/CocoaPods/CocoaPods/issues/5981#issuecomment-363591574

    1. Go to Build Settings
    2. Search for "Runpath Search Paths".
    3. Double click the value field and add $(inherited)
    4. Product -> Clean Build Folder

    Run the cocoapods command in the terminal and things should go fine this time.

    0 讨论(0)
  • 2020-12-13 23:53
    1. Target - > build settings- > BuildOptions-> Validate Build Product, Here the Debug value type is Boolean, Click here to change the value No to YES

    2. Perform - Build Clean

    3. Done

    0 讨论(0)
  • 2020-12-14 00:05
    1. Target - > building settings- >ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES, Value type is Boolean, click on the other, change the value to $(inherited)
    2. perform - pod update
    3. Done
    0 讨论(0)
提交回复
热议问题