2021打包ipa时报错error: Explicit load/store type does not match pointee type of pointer operand (Produ...

最近打包上架报error: Explicit load/store type does not match pointee type of pointer operand (Producer: 'APPLE_1_1205.0.22.11_0' Reader: 'LLVM APPLE_1_1205.0.22.11_0')

在下图位置找到Enable bitcode  设置为No

下面是具体的报错:

Xcode's output:↳Whilebuilding module'Bugly'importedfrom/Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/bugly_flutter-1.0.0/ios/Classes/BuglyFlutterPlugin.m:2:Infile includedfrom<module-includes>:1:Infile includedfrom/Users/mac/Works/ehs-master/ios/Pods/Bugly/Bugly.framework/Headers/Bugly.h:11:/Users/mac/Works/ehs-master/ios/Pods/Bugly/Bugly.framework/Headers/BuglyConfig.h:46:21:warning:empty paragraph passed to'@param'command[-Wdocumentation]*@param tacticInfo~~~~~~~~~~~~~~~~^1warning generated.1warning generated.Whilebuilding module'Bugly'importedfrom/Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/bugly_flutter-1.0.0/ios/Classes/BuglyFlutterPlugin.m:2:Infile includedfrom<module-includes>:1:Infile includedfrom/Users/mac/Works/ehs-master/ios/Pods/Bugly/Bugly.framework/Headers/Bugly.h:11:/Users/mac/Works/ehs-master/ios/Pods/Bugly/Bugly.framework/Headers/BuglyConfig.h:46:21:warning:empty paragraph passed to'@param'command[-Wdocumentation]*@param tacticInfo~~~~~~~~~~~~~~~~^1warning generated.1warning generated./Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/ios/Classes/BarcodeScannerViewController.m:10:17:warning:method definitionfor'initWithOptions:'not found[-Wincomplete-implementation]@implementation BarcodeScannerViewController{^Infile includedfrom/Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/ios/Classes/BarcodeScannerViewController.m:5:/Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/ios/Classes/BarcodeScannerViewController.h:19:3:note:method'initWithOptions:'declared here-(id)initWithOptions:(NSDictionary*)options;^1warning generated./Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/ios/Classes/BarcodeScannerViewController.m:10:17:warning:method definitionfor'initWithOptions:'not found[-Wincomplete-implementation]@implementation BarcodeScannerViewController{^Infile includedfrom/Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/ios/Classes/BarcodeScannerViewController.m:5:/Users/mac/Applications/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/ios/Classes/BarcodeScannerViewController.h:19:3:note:method'initWithOptions:'declared here-(id)initWithOptions:(NSDictionary*)options;^1warning generated./Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLThumbnailViewController.m:290:122:warning:values of type'NSUInteger'should not be usedasformat arguments;addanexplicitcast to'unsigned long'instead[-Wformat][self.btnDone setTitle:[NSStringstringWithFormat:@"%@(%ld)",GetLocalLanguageTextValue(ZLPhotoBrowserDoneText),nav.arrSelectedModels.count]forState:UIControlStateNormal];~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~%lu(unsignedlong)1warning generated./Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLShowBigImgViewController.m:239:63:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]_titleLabel.text=[NSStringstringWithFormat:@"%ld/%ld",_currentPage,self.models.count];~~~^~~~~~~~~~~~%ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLShowBigImgViewController.m:239:77:warning:values of type'NSUInteger'should not be usedasformat arguments;addanexplicitcast to'unsigned long'instead[-Wformat]_titleLabel.text=[NSStringstringWithFormat:@"%ld/%ld",_currentPage,self.models.count];~~~^~~~~~~~~~~~~~~~~%lu(unsignedlong)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLShowBigImgViewController.m:612:118:warning:values of type'NSUInteger'should not be usedasformat arguments;addanexplicitcast to'unsigned long'instead[-Wformat][_btnDone setTitle:[NSStringstringWithFormat:@"%@(%ld)",GetLocalLanguageTextValue(ZLPhotoBrowserDoneText),nav.arrSelectedModels.count]forState:UIControlStateNormal];~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~%lu(unsignedlong)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLShowBigImgViewController.m:782:67:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]_titleLabel.text=[NSStringstringWithFormat:@"%ld/%ld",_currentPage,self.models.count];~~~^~~~~~~~~~~~%ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLShowBigImgViewController.m:782:81:warning:values of type'NSUInteger'should not be usedasformat arguments;addanexplicitcast to'unsigned long'instead[-Wformat]_titleLabel.text=[NSStringstringWithFormat:@"%ld/%ld",_currentPage,self.models.count];~~~^~~~~~~~~~~~~~~~~%lu(unsignedlong)5warnings generated./Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoManager.m:350:56:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]return[NSStringstringWithFormat:@"00:%02ld",duration];~~~~~^~~~~~~~%02ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoManager.m:354:59:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]return[NSStringstringWithFormat:@"%02ld:%02ld",m,s];~~~~~^%02ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoManager.m:354:62:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]return[NSStringstringWithFormat:@"%02ld:%02ld",m,s];~~~~~^%02ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoManager.m:359:65:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]return[NSStringstringWithFormat:@"%02ld:%02ld:%02ld",h,m,s];~~~~~^%02ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoManager.m:359:68:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]return[NSStringstringWithFormat:@"%02ld:%02ld:%02ld",h,m,s];~~~~~^%02ld(long)/Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoManager.m:359:71:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]return[NSStringstringWithFormat:@"%02ld:%02ld:%02ld",h,m,s];~~~~~^%02ld(long)6warnings generated./Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoBrowserCell.m:48:63:warning:values of type'NSInteger'should not be usedasformat arguments;addanexplicitcast to'long'instead[-Wformat]self.labCount.text=[NSStringstringWithFormat:@"(%ld)",model.count];~~~^~~~~~~~~~~%ld(long)1warning generated./Users/mac/Works/ehs-master/ios/Pods/ZLPhotoBrowser/ZLPhotoBrowser/PhotoBrowser/ZLPhotoActionSheet.m:590:124:warning:values of type'NSUInteger'should not be usedasformat arguments;addanexplicitcast to'unsigned long'instead[-Wformat][self.btnCancel setTitle:[NSStringstringWithFormat:@"%@(%ld)",GetLocalLanguageTextValue(ZLPhotoBrowserDoneText),self.arrSelectedModels.count]forState:UIControlStateNormal];~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~%lu(unsignedlong)

error: Explicit load/store type does not match pointee type of pointer operand (Producer: 'APPLE_1_1205.0.22.11_0' Reader: 'LLVM APPLE_1_1205.0.22.11_0')


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 状态栏添加图标 在系统的菜单栏上添加App的图标 状态栏是MacOSX常驻应用的必争之地,代码如下 NSStatu...
    MonkeyHan阅读 3,232评论 0 4
  • ![Flask](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW...
    极客学院Wiki阅读 7,288评论 0 3
  • 不知不觉易趣客已经在路上走了快一年了,感觉也该让更多朋友认识知道易趣客,所以就谢了这篇简介,已做创业记事。 易趣客...
    Physher阅读 3,447评论 1 2
  • 双胎妊娠有家族遗传倾向,随母系遗传。有研究表明,如果孕妇本人是双胎之一,她生双胎的机率为1/58;若孕妇的父亲或母...
    邺水芙蓉hibiscus阅读 3,724评论 0 2
  • 今天理好了行李,看到快要九点了,就很匆忙的洗头洗澡,(心存一份念想,你总会打给我的🐶)然后把洗头液当成沐浴液了😨,...
    bevil阅读 2,795评论 1 1