Avatar
こんにちは、村上です。flutterを始めたばかりです。 最初のアプリとして、VSCodeでmacOSアプリを新規Applicationのテンプレートのままの状態でビルド&起動してところ、以下のようなエラー文言が出力されて失敗しました。 Launching lib/main.dart on macOS in debug mode... --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:arm64, id:00008112-000C082E3C8B401E, name:My Mac } { platform:macOS, arch:x86_64, id:00008112-000C082E3C8B401E, name:My Mac } .../namer_app/build/macos/Build/Products/Debug/namer_app.app: replacing existing signature .../namer_app/build/macos/Build/Products/Debug/namer_app.app: resource fork, Finder information, or similar detritus not allowed Command CodeSign failed with a nonzero exit code ** BUILD FAILED ** Error: Build process failed Exited (1). 出力されたプロジェクトを確認したところ、Xcodeプロジェクトが生成されていましたので、Xcodeで開いてビルド&実行したところ、問題なく起動できました。 VSCodeからflutter SDKを通して、CodeSign コマンドを呼んだ際に、セキュリティ的な理由で制限されているのかなと予想したのですが、原因お分かりのかたはいらっしゃるでしょうか?