[英]XCode static library project share scheme?
I have an XCode
iPhone app project that includes a secondary project that builds a static library. 我有一个XCode
iPhone应用程序项目,其中包括构建静态库的辅助项目。
On the main project I have multiple schemes for building: 在主要项目中,我有多种构建方案:
Debug, Release, AdHoc, AppStore
I duplicated these schemes in the imported library project. 我在导入的库项目中复制了这些方案。
My question is: 我的问题是:
If I set the scheme to build for AppStore on the main project, will the static library be built with the AppStore scheme too? 如果我将方案设置为在主项目上为AppStore构建,那么静态库也将由AppStore方案构建吗?
Or do I need to set the scheme on both projects to make it work? 还是我需要在两个项目上都设置该方案才能使其正常工作?
因此,正如trojanfoe所建议的那样,检查XCode中的构建日志可以清楚地表明,我为主项目选择的方案也用于构建静态库项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.