Open aluo44 opened 4 years ago
@CaiJingLong
谢谢,参考这个已经弄好了
折腾了俩小时才找到这里...我是不是有点蠢
@zmm2tysu 你知足吧 我等人回答这个问题等了几天 后来才发现github还有关闭了的问题这个东西
IOS打包还是有问题
我用 CI/CD 工具 https://codemagic.io/ 进行打包 codemiage 配置‘
在 PodFile 配置
config.build_settings['ARCHS'] = 'arm64'
在PodFile 配置
config.build_settings['VALID_ARCHS'] = 'arm64'
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
在PodFile 配置
config.build_settings['ARCHS'] = 'arm64'
config.build_settings['VALID_ARCHS'] = 'arm64'
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
不配置 config.build_settings ,使用项目中的 PodFile
以上测试均是注释掉其他 plugin 之后的结果,其他 plugin 均能正常配置使用
搞一天了,求解决办法
简单描述 IOS打包报错
辅助信息
在执行flutter build ios --release的时候出现如下问题 一些信息:
另外再附上文字信息: Last login: Mon Dec 30 18:40:38 on console cpdeiMac:pz_1215 cp$ flutter build ios --release Building com.cwflutter.app for device (ios-release)... Automatically signing iOS for device deployment using specified development team in Xcode project: R5K4QQHUNG Running pod install... 2.1s Running Xcode build...
├─Building Dart code... 48.7s ├─Generating dSYM file... 0.3s ├─Stripping debug symbols... 0.5s ├─Assembling Flutter resources... 1.1s └─Compiling, linking and signing... 1.8s Xcode build done. 62.2s Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED
Xcode's output: ↳ /Users/cp/.pub-cache/hosted/pub.flutter-io.cn/flutter_ijkplayer-0.3.5+1/ios/ Classes/IjkplayerPlugin.m:210:36: warning: enum values with underlying type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat] NSLog(@"orientation = %ld",orientation);