2015-10-13 77 views
1

我正在尝试构建我的应用程序以在设备上进行测试。 我现在面临一个巨大的问题与调试:Xamarin Debug - > iPhone,无法编译生成的注册商代码。 (MT4109)

  • 设备已注册
  • 我使用的是开发供应配置文件
  • 如果我建立并发布“发布”发生
  • 没有问题如果我构建Debug/iPhone,我得到:

/--- PATH ----/MTOUCH:错误MT4109:无法编译生成的注册器代码。请http://bugzilla.xamarin.com(MT4109)提交错误报告(---项目名字---)

左看右看看向日志:

Process exited with code 1, command: 
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -gdwarf-2 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/9.0.1.29/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -Qunused-arguments -miphoneos-version-min=8.0 -arch arm64 -c -DDEBUG -o /---PATH---/obj/iPhone/Debug/mtouch-cache/registrar.arm64.o -Wno-receiver-forward-class -x objective-c++ -fno-caret-diagnostics -fno-diagnostics-fixit-info - 
    <stdin>:3804:35: error: type name does not allow storage class to be specified 
    <stdin>:3804:32: warning: declaration does not declare anything [-Wmissing-declarations] 

什么建议吗?

回答

0

如果有人绊倒这个问题和我一样:

尝试增加--noregistrar在项目的选择额外的mTouch参数(iPhone构建页)。

+0

不清楚你在问什么,请添加图片或与你的问题相关的一些代码。 –

+0

我的评论与上述问题有关,应该修复它 – hariom

+0

图片是有帮助的,为了清晰 – user3841581