Build static library Target with main Target for proper architecture in XCode?

旧城冷巷雨未停 提交于 2019-12-12 04:18:49

问题


I am currently developing an iPhone app in XCode that requires a static library that is built from another XCode project I have made. I currently have both targets in the same project, and I need the static library project to build and run for the proper architecture when I build the project that uses it.

As of now I have to open the static library project on its own, build it from there, find where it was built, and then remove the old library and add the new one to my project that uses it.

How do I do this?


回答1:


The solution lies within the idea of workspaces. This s.o. thread might also be helpful. I think the general layout youll want to create is a new workspace where you will add both projects, the client and the library, that way they are both within reach.

Best of luck!



来源:https://stackoverflow.com/questions/22965681/build-static-library-target-with-main-target-for-proper-architecture-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!