Swi*_*yJD 28 xcode ios cocoapods swift
在将Switf2项目更新到Swift3后更新cocoapods时,我在终端遇到了一些奇怪的错误.以下是错误:
[!] The `MyShowGuide [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-MyShowGuide/Pods-MyShowGuide.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.
[!] The `MyShowGuide [Release]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-MyShowGuide/Pods-MyShowGuide.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.
到目前为止,我已经尝试了许多方法来尝试解决问题,包括删除派生数据和运行pod deintegrate/ pod install.我还添加了$(inherited)对   Other Linker Flags和Header Search Paths,但仍然得到错误.
小智 58
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES,值类型为布尔值,单击另一个,将值更改为
$(inherited)the*_*ron 14
这对我有用:
https://github.com/CocoaPods/CocoaPods/issues/5981#issuecomment-363591574
$(inherited) 在终端中运行 cocoapods 命令,这次应该一切顺利。
小智 5
Target -> build settings->BuildOptions->Validate Build Product,这里Debug值类型为Boolean,点击此处将值No改为YES
执行 - 构建清洁
完毕
| 归档时间: | 
 | 
| 查看次数: | 23270 次 | 
| 最近记录: |