我通过官方文档安装了flutter。当我做flutter doctor -v时,我不能像我的另一本(旧的) mac书那样使用: IOS toolchain来获取信息。
[✓] iOS toolchain - develop for iOS devices (Xcode 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
• ios-deploy 1.9.4
• CocoaPods version 1.8.3相反,我得到的是:
> [✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
> • Xcode at /Applications/Xcode.app/Contents/Developer
> • Xcode 11.2.1, Build version 11B500
> • CocoaPods version 1.8.4flutter没有看到ios-deploy。它也是我安装的。
ios-deploy --version
1.10.0-beta.3因此,在我的新mac书上,我的项目不能正常工作。我在我的新macbook上克隆了相同的git分支,在运行"flutter build ios --release --no-codesign“后出现错误:
8 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
ld: targeted OS version does not support use of thread local variables in __ZZN9GMSx_absl18container_internal10RandomSeedEvE7counter for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)发布于 2019-12-03 14:40:42
@Pro你是对的,这不是颤动问题。Answear:通过将Xcode中的部署目标从8.0更改为9.0修复了该问题
https://stackoverflow.com/questions/59146579
复制相似问题