捆绑包包含不允许的嵌套捆绑包

捆绑包包含不允许的嵌套捆绑包

本文介绍了验证错误:捆绑包包含不允许的嵌套捆绑包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为对我的另一个问题的跟进,我提交我的 iOS 8 应用程序(其中包括共享扩展和框架目标)时仍有问题.在提交尝试时,我收到上述错误消息.其他有我问题的人(如前面链接的问题中所指出的)也有同样的问题,但解决的方式与我的情况无关.

As a followup to my other question, I'm continuing to have issues submitting my iOS 8 app (which includes a Sharing Extension and a framework target). On a submission attempt I receive the above error message. Others with my issue (as pointed out in the afore-linked question) have the same issue, but resolved it in ways that aren't relevant to my case.

该错误消息暗示了我的共享扩展目标,该目标链接到我编写的框架,该框架在扩展和应用程序之间共享.我很确定 Apple 很清楚我可以在扩展目标中使用框架(事实上,这是首选!).那么这个错误还有哪些其他原因呢?

The error message implicates my Sharing Extension target, which links to a framework that I wrote, which is shared between the Extension and the app. I'm pretty sure Apple was clear that I'm allowed to use frameworks in Extension targets (in fact, it's preferred!). So what other causes might there be for this error?

推荐答案

嗯,答案似乎很简单:在扩展目标中,我嵌入了框架(构建阶段 > 嵌入框架).删除该设置后,一切正常.

Well, the answer seems simple enough: in the Extension target I was embedding the framework (Build Phases > Embed Framework). Once I removed that setting, everything works fine.

叹气.

这篇关于验证错误:捆绑包包含不允许的嵌套捆绑包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:19