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. |