flutter - Xcode build multiple matching destinations (xcodebuild: WARNING: Using the first of multiple matching destinations) -

I am using Flutter for the first time, so the project is just the barebones template created using the

I am using Flutter for the first time, so the project is just the barebones template created using the Flutter extension in VScode through the Palette.

Running flutter doctor -v, it seems like everything is in order. I am running on Mac and trying to build for iOS.

The error I am getting "--- xcodebuild: WARNING: Using the first of multiple matching destinations:":

--- xcodebuild: WARNING: Using the first of multiple matching destinations: 
{ platform:macOS, arch: arm64, id: 00006000-000871C43A06801E, name: My Mac } 
{ platform:macOS, arch:x86_64, id:00006000-000871C43A06801E, name: My Mac

I have looked extensively into posts with similar questions, but none have worked. One mentions pod install, but none of the folders contain pod files. Even if I init one and install, nothing happens. I have reinstalled Xcode multiple times but to no avail. I am completely lost as this is my first time, and I am just trying to run the barebones template. Any help would be appreciated.

List of errors below the warning:

I am using Flutter for the first time, so the project is just the barebones template created using the Flutter extension in VScode through the Palette.

Running flutter doctor -v, it seems like everything is in order. I am running on Mac and trying to build for iOS.

The error I am getting "--- xcodebuild: WARNING: Using the first of multiple matching destinations:":

--- xcodebuild: WARNING: Using the first of multiple matching destinations: 
{ platform:macOS, arch: arm64, id: 00006000-000871C43A06801E, name: My Mac } 
{ platform:macOS, arch:x86_64, id:00006000-000871C43A06801E, name: My Mac

I have looked extensively into posts with similar questions, but none have worked. One mentions pod install, but none of the folders contain pod files. Even if I init one and install, nothing happens. I have reinstalled Xcode multiple times but to no avail. I am completely lost as this is my first time, and I am just trying to run the barebones template. Any help would be appreciated.

List of errors below the warning:

Share Improve this question edited Mar 12 at 10:24 ankushlokhande 1,93811 silver badges31 bronze badges asked Mar 3 at 4:13 s_cs_c 133 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

This is not an error, simply a warning. This warning is due to the fact that you are using a Macbook M1/2/3/4 with Rosetta.
Meaning you can compile with both architecture.

If you don't want to have this warning, you can specify the in XCode after openning your project ONLY_ACTIVE_ARCH to NO in the build settings.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745109898a4611784.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信