Xamarin Studio 5.9.7(内部版本 9)和 Xamarin.iOS 9.0.1.18 中的代码设计错误 [英] Codesign error in Xamarin Studio 5.9.7 (build 9) and Xamarin.iOS 9.0.1.18

查看:18
本文介绍了Xamarin Studio 5.9.7(内部版本 9)和 Xamarin.iOS 9.0.1.18 中的代码设计错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 Xamarin Studio 升级到测试版频道中的最新版本.当我尝试运行该应用程序时,出现以下错误:

I have upgraded Xamarin Studio to the latest version in the beta channel. When I try to run the app I get the following error:

Signing application
codesign -v --force --sign "[hex]" --entitlements "/Users/[username]/devel/git/[app]/bin/iPhone/Debug/[app].xcent" "/Users/[username]/devel/git/[app]/bin/iPhone/Debug/[app].app"
/Users/[username]/devel/git/[app]/bin/iPhone/Debug/[app].app: invalid resource specification rule(s)
codesign exited with code 1

为什么会这样?我该如何解决?

Why could this be? And how can I get around it?

  • Xamarin Studio 5.9.7(内部版本 9)
  • Xamarin.iOS 9.0.1.18(商业版)
  • Xcode 7.0 (8227) 内部版本 7A220

我得到的最接近的线索是 https://forums.xamarin.com/discussion/28480/upload-to-appstore-failed-contains-an-invalid-key-cfbundleresourcespecification-in-bundle,但我在提到了 Xamarin Studio.

The closest clue I got was https://forums.xamarin.com/discussion/28480/upload-to-appstore-failed-contains-an-invalid-key-cfbundleresourcespecification-in-bundle , but I can't find the option in Xamarin Studio mentioned.

推荐答案

这是一个提到的已知问题 此处.部分解决方法对我有用.

It's a known issue mentioned here. Partial workaround did the trick for me.

非公开错误 31424 - [Xamarin Studio] [iOS] 仅限 Mac 上的经典 API:未找到资源规则文件".部分解决方法:启用项目选项 -> 常规 -> 使用 MSBuild 构建引擎(此项目类型不支持)"并清理并重建项目.(MSBuild 构建引擎现在适用于许多经典 API 项目.)

这篇关于Xamarin Studio 5.9.7(内部版本 9)和 Xamarin.iOS 9.0.1.18 中的代码设计错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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