Integrated reveal with Cocoapods does not work problem record

Source: Internet
Author: User

A project wants to use reveal to look at the interface organization, then use the reveal, create a new podfile, add the following code:

Platform:ios, ' 7.0 '

Pod ' REVEAL-IOS-SDK ',: configurations = = [' Debug ']post_install do |installer_representation|        Installer_representation.project.targets.each do |target|            Target.build_configurations.each do |config|            config.build_settings[' archs ' = ' armv7 arm64 ' config.build_settings[' valid_archs '] = ' armv7 arm64 ' config.build_settings[' only_active_arch '] = ' NO ' End EndEnd

Then use the pod install--verbose Update, and then open the. xcworkspace file, real-machine debugging. Never wanted to open the reveal software, and did not show the real machine interface.


Go back to the pod install log and find the following prompt:

[!] The ' test [Debug] ' target overrides the ' other_ldflags ' build setting defined in ' Pods/target support Files/pods/pods.debu G.xcconfig '. This can leads to problems with the CocoaPods installation-use the ' $ (inherited) ' flag, or-remove the build Setti NGS from the target.

Then find the build Settings, find the other Linker Flags, the inside of the-objc-allloads similar to remove, replace with $ (inherited), and then re-pod install to solve the problem


Integrated reveal with Cocoapods does not work problem record

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.