IOS uses cocoapods summary----Ferris Blog

Source: Internet
Author: User

For cocoapods installation Please refer to Tang Qi's technical Blog

http://blog.devtang.com/blog/2014/05/25/use-cocoapod-to-manage-ios-lib-dependency/

Let me summarize the use of cocoapods skills

When the PODS project has been added to your project, it means that your cocoapods has been installed successfully.

But how to use the library in the Pods project?

Very simple, the first step is to add/bin/sh to the copy Pods resources in Build phases

The next step is to set the compilation path in build settings with user Head Search added "${project_dir}/pods" after adding recursive

Then add the other link flags to set the link path

Set the rules as follows

LIBPODSXXX.A file to join link set to-l "podsxxx"

Reference header File method: with ""

The above is the complete use of cocoapods.

IOS uses cocoapods summary----Ferris Blog

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.