简体   繁体   中英

Flutter iOS Xcode build throwing errors?

I'm fairly new to Xcode and have no idea why my build failed. The following is a part of the output, the parts that I omitted are just warnings about deprecations.

 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.

It works against an iOS 14.4 simulator and Google Maps appear on the app correctly.(M1 machine)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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