首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >flutter看不到ios-deploy

flutter看不到ios-deploy
EN

Stack Overflow用户
提问于 2019-12-03 04:59:45
回答 1查看 103关注 0票数 0

我通过官方文档安装了flutter。当我做flutter doctor -v时,我不能像我的另一本(旧的) mac书那样使用: IOS toolchain来获取信息。

代码语言:javascript
复制
[✓] 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

相反,我得到的是:

代码语言:javascript
复制
> [✓] 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.4

flutter没有看到ios-deploy。它也是我安装的。

代码语言:javascript
复制
ios-deploy --version
1.10.0-beta.3

因此,在我的新mac书上,我的项目不能正常工作。我在我的新macbook上克隆了相同的git分支,在运行"flutter build ios --release --no-codesign“后出现错误:

代码语言:javascript
复制
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)
EN

回答 1

Stack Overflow用户

发布于 2019-12-03 14:40:42

@Pro你是对的,这不是颤动问题。Answear:通过将Xcode中的部署目标从8.0更改为9.0修复了该问题

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59146579

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档