由于项目和窗格中的位代码设置不同,在pod更新时发出警告

时间:2016-03-16 03:34:34

标签: ios objective-c xcode cocoapods bitcode

我正在尝试进行Pod更新,并且最近开始收到此错误,请求您帮助我,我应该怎么做。

我已尝试过为$ inherous添加的解决方案但尚未成功。

[!] The `MYAPP_DEV [Debug]` target overrides the `ENABLE_BITCODE` build setting defined 
in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the 
CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.

[!] The `MYAPP_DEV [Release]` target overrides the `ENABLE_BITCODE` build setting defined in 
`Pods/Target Support Files/Pods/Pods.release.xcconfig'.
 This can lead to problems with the CocoaPods installation

1 个答案:

答案 0 :(得分:0)

尝试在目标的构建设置中添加request.headers={ Accept = "application/json"; "Accept-Language" = "en;q=1, fr;q=0.9, de;q=0.8, zh-Hans;q=0.7, zh-Hant;q=0.6, ja;q=0.5"; Authorization = "Basic U1lTQURNSU46aHVsNTU4ODg1OA=="; "Content-Type" = "application/json; charset=utf-8"; "User-Agent" = "iosProj/1 (iPad Simulator; iOS 8.3; Scale/2.00)"; } 这样的内容:

enter image description here

(您必须在下方菜单中选择$(inherited)才能看到文本框)