rhymelph / r_scan

📷🖨Flutter二维码&条形码扫描插件,支持相机、文件、链接、Uint8List类型扫描
https://juejin.im/post/5dd8efb1e51d452314438515
BSD 3-Clause "New" or "Revised" License
118 stars 77 forks source link

最新版构建iOS失败,以下是报错内容 #35

Closed McPorkChop closed 3 years ago

McPorkChop commented 3 years ago

‘’‘ 5 warnings generated. 781 warnings and 3 errors generated. note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'FMDB' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'Toast' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'Reachability' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'audioplayers' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'shared_preferences' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'webview_flutter' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'wakelock' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'video_player' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'url_launcher' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'sensors' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'screen' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'permission_handler' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'path_provider' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'image_picker' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'foundation_fluttify' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'fluwx_worker' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'flutter_custom_dialog' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'flutter_adapter' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'e2e' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'core_location_fluttify' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'ZBarSDK' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'Protobuf' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'ZXingObjC' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'fluttertoast' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'connectivity' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'amap_core_fluttify' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'r_scan' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'flutter_blue' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'amap_map_fluttify' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'amap_search_fluttify' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'amap_location_fluttify' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'AMapLocation' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'AMap3DMap' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'AMapSearch' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'Flutter' from project 'Pods') warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99. (in target 'AMapFoundation' from project 'Pods')

Could not build the application for the simulator. Error launching application on iPhone 12 mini. ’‘’

qweqwqsqwwew commented 3 years ago

擦,我也是

qweqwqsqwwew commented 3 years ago

flutter升级的最新版本 编译就会报错 看老哥两天前还有更新提交,目测没凉

rhymelph commented 3 years ago

File - > Workspace Settings -> Build System : New Build System

McPorkChop commented 3 years ago

File - > Workspace Settings -> Build System : New Build System

didnt find any Workspace settings in vscode or idea

rhymelph commented 3 years ago

@McPorkChop xcode

McPorkChop commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

rhymelph commented 3 years ago

没有看到 error 的信息

qweqwqsqwwew commented 3 years ago

已经解决了,改个头文件路径就行

qweqwqsqwwew commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

McPorkChop commented 3 years ago

没有看到 error 的信息

/Users/alfredmcporkchop/Documents/SDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/r_scan-0.1.5/ios/Classes/RScanResult.h:10:9: Include of non-modular header inside framework module 'r_scan.RScanResult': '/Users/alfredmcporkchop/Library/Developer/Xcode/DerivedData/Runner-cupmrqzhxhfirldzzzqatynypcdk/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/ZXingObjC/ZXingObjC.framework/Headers/ZXingObjC.h'

McPorkChop commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

qweqwqsqwwew commented 3 years ago

image 改个头文件路径

qweqwqsqwwew commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

看下

McPorkChop commented 3 years ago

还发现一个问题,在iOS版本当中引用了UIWebView,被苹果审核拒绝

McPorkChop commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

看下

谢谢,但是发现无法提审,第三方库过老。

qweqwqsqwwew commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

看下

谢谢,但是发现无法提审,第三方库过老。

pod "ZBarSDK", :git => "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35" 大兄弟,只能帮你到这儿了

qweqwqsqwwew commented 3 years ago

作者最好出个新版本,处理一下

michaelPual commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

看下

谢谢,但是发现无法提审,第三方库过老。

pod "ZBarSDK", :git => "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35" 大兄弟,只能帮你到这儿了

这是什么意思?

qweqwqsqwwew commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

看下

谢谢,但是发现无法提审,第三方库过老。

pod "ZBarSDK", :git => "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35" 大兄弟,只能帮你到这儿了

这是什么意思?

放podfile ,终端pod install

lvsecoto commented 3 years ago

作者最好出个新版本,处理一下

可以Fork这个项目git仓库,自己修改一下,上传。然后依赖git仓库

michaelPual commented 3 years ago

@McPorkChop xcode

并不能解决通过命令行打包的报错问题

你先xcode编译,报错的地方是头文件路径引用,你改下就行

改成啥?我不了解iOS

看下

谢谢,但是发现无法提审,第三方库过老。

pod "ZBarSDK", :git => "https://github.com/phucdanghuu/ZBar.git", :commit => "b82be9cf11ec7045472e69b033461de438c1aa35" 大兄弟,只能帮你到这儿了

这是什么意思?

放podfile ,终端pod install

好的,谢谢

rhymelph commented 3 years ago

v0.1.6