美文网首页
2021打包ipa时报错error: Explicit load

2021打包ipa时报错error: Explicit load

作者: i_MT | 来源:发表于2021-12-06 17:01 被阅读0次

    最近打包上架报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')


    相关文章

      网友评论

          本文标题:2021打包ipa时报错error: Explicit load

          本文链接:https://www.haomeiwen.com/subject/clqnxrtx.html