验证错误:无效的包。在...包含不允许的文件'框架' [英] Validation Error: Invalid Bundle. The bundle at … contains disallowed file 'Frameworks'

查看:280
本文介绍了验证错误:无效的包。在...包含不允许的文件'框架'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用Xcode 6.1 GM上的今日扩展程序提交我的应用时,我收到了这两个错误。我试过两者 这些解决方案,但都没有work:

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

应用程序和今天的扩展都是用Swift编写的。我已经尝试清理项目并删除Xcode派生数据,但我仍然得到相同的2个错误。有什么想法吗?

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?

推荐答案

当然我在发帖后30分钟找到答案。我的问题是我不小心将AlamoFire框架添加到了我的扩展目标的Build Phases中的Copy Files部分。删除此修复的一切。

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.

这篇关于验证错误:无效的包。在...包含不允许的文件'框架'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆