Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/113.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
设备模式下的xamarin ios生成错误_Ios_Xamarin_Build - Fatal编程技术网

设备模式下的xamarin ios生成错误

设备模式下的xamarin ios生成错误,ios,xamarin,build,Ios,Xamarin,Build,在模拟器模式下一切正常,但在设备模式下出错。 所有LIB都有arm64和armv7。 我将在第二层发布构建日志 大家好,我已经解决了这个问题 Undefined symbols for architecture arm64: 658 1> "_OBJC_CLASS_$_LBBannerKit", referenced from: 659 1> objc-class-ref in registrar.o 660 1> "_OBJC_CLASS_$_

在模拟器模式下一切正常,但在设备模式下出错。 所有LIB都有arm64和armv7。 我将在第二层发布构建日志


大家好,我已经解决了这个问题

Undefined symbols for architecture arm64: 
658 1>    "_OBJC_CLASS_$_LBBannerKit", referenced from: 
659 1>        objc-class-ref in registrar.o 
660 1>    "_OBJC_CLASS_$_SDAutoLayoutLib", referenced from: 
661 1>        objc-class-ref in registrar.o 
662 1>    "_OBJC_CLASS_$_UIView_ViewController", referenced from: 
663 1>        objc-class-ref in registrar.o 
664 1>    "_OBJC_CLASS_$_UIView_ViewFrameGeometry", referenced from: 
665 1>        objc-class-ref in registrar.o 
666 1>    "_OBJC_CLASS_$_ZYBannerViewLib", referenced from: 
667 1>        objc-class-ref in registrar.o 
668 1>    "_OBJC_CLASS_$_slideNav", referenced from: 
669 1>        objc-class-ref in registrar.o 
670 1>       (maybe you meant: _OBJC_CLASS_$_slideNavBinding_SlideHeadView_SlideHeadViewAppearance 
Undefined symbols for architecture arm64: 
658 1>    "_OBJC_CLASS_$_LBBannerKit", referenced from: 
659 1>        objc-class-ref in registrar.o 
660 1>    "_OBJC_CLASS_$_SDAutoLayoutLib", referenced from: 
661 1>        objc-class-ref in registrar.o 
662 1>    "_OBJC_CLASS_$_UIView_ViewController", referenced from: 
663 1>        objc-class-ref in registrar.o 
664 1>    "_OBJC_CLASS_$_UIView_ViewFrameGeometry", referenced from: 
665 1>        objc-class-ref in registrar.o 
666 1>    "_OBJC_CLASS_$_ZYBannerViewLib", referenced from: 
667 1>        objc-class-ref in registrar.o 
668 1>    "_OBJC_CLASS_$_slideNav", referenced from: 
669 1>        objc-class-ref in registrar.o 
670 1>       (maybe you meant: _OBJC_CLASS_$_slideNavBinding_SlideHeadView_SlideHeadViewAppearance 
在我的绑定项目的apidefinition文件中发现了一些名称,例如
LBBannerKit
,这些名称在这个类中没有任何内容,所以我猜它在库中没有任何用处,因为这个bingding api内容是基于我的xcode静态库项目的。 因此,我删除了
LBBannerKit

另一个问题是,我删除了
UIView\u ViewController
UIView\u ViewFrameGeometry
方法中的
[Category]
属性。 现在在我的项目中没有调用,所以,可以在模拟器模式下编译,在设备模式下抛出错误

令人高兴的是,在我解决了上述所有问题后,我发现了这个错误。
建设成功

大家好,我已经解决了这个问题

Undefined symbols for architecture arm64: 
658 1>    "_OBJC_CLASS_$_LBBannerKit", referenced from: 
659 1>        objc-class-ref in registrar.o 
660 1>    "_OBJC_CLASS_$_SDAutoLayoutLib", referenced from: 
661 1>        objc-class-ref in registrar.o 
662 1>    "_OBJC_CLASS_$_UIView_ViewController", referenced from: 
663 1>        objc-class-ref in registrar.o 
664 1>    "_OBJC_CLASS_$_UIView_ViewFrameGeometry", referenced from: 
665 1>        objc-class-ref in registrar.o 
666 1>    "_OBJC_CLASS_$_ZYBannerViewLib", referenced from: 
667 1>        objc-class-ref in registrar.o 
668 1>    "_OBJC_CLASS_$_slideNav", referenced from: 
669 1>        objc-class-ref in registrar.o 
670 1>       (maybe you meant: _OBJC_CLASS_$_slideNavBinding_SlideHeadView_SlideHeadViewAppearance 
Undefined symbols for architecture arm64: 
658 1>    "_OBJC_CLASS_$_LBBannerKit", referenced from: 
659 1>        objc-class-ref in registrar.o 
660 1>    "_OBJC_CLASS_$_SDAutoLayoutLib", referenced from: 
661 1>        objc-class-ref in registrar.o 
662 1>    "_OBJC_CLASS_$_UIView_ViewController", referenced from: 
663 1>        objc-class-ref in registrar.o 
664 1>    "_OBJC_CLASS_$_UIView_ViewFrameGeometry", referenced from: 
665 1>        objc-class-ref in registrar.o 
666 1>    "_OBJC_CLASS_$_ZYBannerViewLib", referenced from: 
667 1>        objc-class-ref in registrar.o 
668 1>    "_OBJC_CLASS_$_slideNav", referenced from: 
669 1>        objc-class-ref in registrar.o 
670 1>       (maybe you meant: _OBJC_CLASS_$_slideNavBinding_SlideHeadView_SlideHeadViewAppearance 
在我的绑定项目的apidefinition文件中发现了一些名称,例如
LBBannerKit
,这些名称在这个类中没有任何内容,所以我猜它在库中没有任何用处,因为这个bingding api内容是基于我的xcode静态库项目的。 因此,我删除了
LBBannerKit

另一个问题是,我删除了
UIView\u ViewController
UIView\u ViewFrameGeometry
方法中的
[Category]
属性。 现在在我的项目中没有调用,所以,可以在模拟器模式下编译,在设备模式下抛出错误

令人高兴的是,在我解决了上述所有问题后,我发现了这个错误。
建设成功

GitHub中的上面链接是VS2015的生成日志。当您在项目中复制库时,选中了复选框“如果需要复制”。您需要在生成设置中执行以下操作:1。在体系结构中,选择标准体系结构2。在有效的体系结构中添加arm7、arm7s、arm64和ARM3。您已将$(继承的)添加到其他链接器标志。@您好,在vs中,哪里可以找到“标准architecutres”?