CocoaPods error Target overrides the ' other_ldflags ' ...

Source: Internet
Author: User

After Xcode upgrade to 6.0, update CocoaPods, the following warning appears

[!] The `Paopao [Debug]` target overrides the `PODS_ROOT` 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 fromthe target. [!] The `Paopao [Debug]` target overrides the `OTHER_LDFLAGS` 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 fromthe target.[!] The `Paopao [Release]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig‘. This can lead to problems with the CocoaPods installation    - Use the `$(inherited)` flag, or    - Remove the build settings fromthe target.[!] The `Paopao [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in`Pods/Target Support Files/Pods/Pods.release.xcconfig‘. This can lead to problems with the CocoaPods installation    - Use the `$(inherited)` flag, or    - Remove the build settings fromthe target.

Such warnings cannot be overlooked, and the immediate consequence is that they cannot be compiled.

The reason for this warning is that some of the settings in the Target of the project, CocoaPods also made the default settings, if the two settings results inconsistent, it will cause problems.

I want to use the settings in CocoaPods to define ' pods_root ' and ' other Linker Flags ' in my project, replace their values with ' $ (inherited) ', go to the terminal, execute

pod update

The warning was gone, back to xcode,build through.

There's another simple, crude way to be popular online.

Click on project file Project.xcodeproj, right button ' show Package Contents ', open ' project.pbxproj ' with text editor, delete ' other_ldflags ' place, save, back to Xcode, compile through.

CocoaPods error Target overrides the ' other_ldflags ' ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.