我已将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(build 9)
- Xamarin.iOS 9.0.1.18(商业版)
- Xcode 7.0(8227)Build 7A220
我得到的最接近的线索是 https ://forums.xamarin/discussion/28480/upload-to-appstore-failed-contains-an-invalid-key-cfbundleresourcespecification-in-bundle ,但我在Xamarin Studio中找不到该选项提到。
The closest clue I got was forums.xamarin/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.
非公开Bug 31424 - [Xamarin Studio] [iOS] Mac上的Classic API:资源规则文件未找到。部分解决方法:启用项目选项 - >常规 - >使用MSBuild构建引擎(此项目类型不支持)并清理并重建项目。 (MSBuild构建引擎现在可用于许多Classic API项目。)
更多推荐
Xamarin Studio 5.9.7(build 9)和Xamarin.iOS 9.0.1.18中的Codesign错误
发布评论