简体   繁体   English

Flutter iOS Xcode 构建抛出错误?

[英]Flutter iOS Xcode build throwing errors?

I'm fairly new to Xcode and have no idea why my build failed.我是 Xcode 的新手,不知道为什么我的构建失败了。 The following is a part of the output, the parts that I omitted are just warnings about deprecations.以下是output的一部分,我省略的部分只是关于弃用的警告。

 ld: building for iOS Simulator, but linking in object file built for iOS, file '/Users/user/Documents/GitHub/bus/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework/GoogleMapsCore' for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in parallel
Could not build the application for the simulator.
Error launching application on iPhone 13.
Exited (sigterm)

What can I do to fix this issue?我该怎么做才能解决这个问题? I have no issues building my app in android.我在 android 中构建我的应用程序没有任何问题。

It works against an iOS 14.4 simulator and Google Maps appear on the app correctly.(M1 machine)它适用于 iOS 14.4 模拟器,谷歌地图正确显示在应用程序上。(M1 机器)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM