从昨天起,Xcode在尝试在我的iPhone上运行我的WatchKit应用程序时做了蠢事。 它给了我错误:
Since yesterday Xcode is doing stupid things while trying to run my WatchKit app on my iPhone. It gives me the error:
嵌入式二进制验证实用程序错误
Embedded Binary Validation utility Error
错误:警告:是一个目录
Error: warning: Is a directory
它不是很有用,似乎它抱怨为我的Watchkit扩展目标配置配置文件。我想我是按照这个答案。
It's not very helpful and it seems like it's complaining about provisioning profiles for my Watchkit Extension target. I think I set it up correctly by following this answer.
这就是我设置个人资料的方式。三个App ID和六个配置文件(三个用于开发,三个用于分发)。
This is how I have set up my profiles. Three App IDs and six profiles (three for development and three for distribution).
主应用程序:
WatchKit Extension:
WatchKit Watch App:
推荐答案我将自定义框架链接并嵌入到WatchKit Extension和App中。从WatchKit Extension的General> Embedded Binaries中删除框架为我修复了它。我必须删除我的Build文件夹并重新启动Xcode。
I had my custom framework linked and embedded in both the WatchKit Extension and the App. Removing the framework from General > Embedded Binaries of the WatchKit Extension fixed it for me. I did have to delete my Build folder and restart Xcode.
更多推荐
嵌入式二进制验证实用程序错误
发布评论