Validation Error: Invalid Bundle. The bundle at … contains disallowed file 'Frameworks'

蓝咒 提交于 2019-12-11 03:48:10

问题


I'm getting these 2 errors when I try to submit my app with a today extension on Xcode 6.1 GM. I've tried both of these solutions but neither of them work:

Validation Error: Invalid Bundle. The bundle at … contains disallowed file 'Frameworks'
Validation Error: Invalid Bundle. The bundle at … contains disallowed nested bundles

Both the app and the today extension are written in Swift. I've tried cleaning the project and deleting Xcode derived data but I'm still getting the same 2 errors. Any ideas?


回答1:


Of course I found the answer 30 minutes after posting. My problem was I accidentally added the AlamoFire framework to the "Copy Files" section in Build Phases of my extension target. Removing this fixed everything.




回答2:


It helped me:

Embedded Content Contains Swift Code: YES

and for the extension:

Embedded Content Contains Swift Code: NO


来源:https://stackoverflow.com/questions/26594327/validation-error-invalid-bundle-the-bundle-at-contains-disallowed-file-fram

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