xcode用archive生成ipa失败,只生成generic xcode archive的解决
1、点击主要工程,然后在右边分别点击PROJECT和TARGETS,在Building Settings中,
搜索skip,设置为NO;
2、项目中包含的其他辅助工程,点击,
然后在右边分别点击PROJECT和TARGETS,在Building Settings中,
搜索skip,设置为YES;对每个子工程做类似操作;
3、再次archive,就得到了ipa包;
参考网址:
http://stackoverflow.com/questions/10715211/cannot-generate-ios-app-archive-in-xcode-4-3
- Skip install is NO for the main project target
- Skip install is YES for framework (sub-projects) targets