How to reference another project in iOS tutorial

Source: Internet
Author: User

Presumably a lot of programmers have seen those third-party frameworks. Side reference other engineering code, initially feel very tall on, but completely no clue, has been holding the mentality of envy so nothing. Later, we need to introduce the project Googledrive framework, encountered some problems, there is no way can only hold the computer to find the eldest brother to solve, explained to me a pass, seemingly is the path problem, at that time just solved the problem, oneself also did not go to study, today see someone ask related questions, want to take this opportunity to summarize ~

Xcode uses workspace to manage multiple projects:

The following:

1. Create workspace

2. Right-click Add Files to "Xxworkspace"

3. Then select the Xcodeproj

4 that you want to add the item to.

So that we can manage multiple projects in one project; So how do we implement the inter-project linking?

1. Create a new. A static library project

2. Add a path to the header search path

3 that requires referencing the static Library project. Add Association build phases Link Binary With Libraries (the. A or. app file for another project file)

This step is important, otherwise it compiles the error

4. Next, the test was introduced. Methods in

TESTC:

References in

Testb:

Output result:

Summary

Above is the whole content of this article, I hope the content of this article to everyone's study or work has a certain reference learning value, If you have any questions, we can exchange messages, thank you for the support of the programmer's home.

http://www.kmjdad.com/
http://www.jnsjzyy.com/
http://www.czhkwl.com/
http://www.express-o2o.com/
http://www.gzjindao.com/
http://www.chumingchuanmeiyishu.com/
http://www.thcxb.com/
http://www.xingguangkeji.com/
http://www.gdrhsy.com/
http://www.clhuiji.com/
http://www.nxjianye.com/
http://www.tjmingsheng.com/
http://www.gangguan022.com/
http://www.zyjbp.com/
http://www.qianhangmy.com/
http://www.tzminbell.com/

How to reference another project in iOS tutorial

Related Article

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.