Skip to content

Build failed on macos ( executable file not found in $PATH) #19

@fixitt6

Description

@fixitt6

Mohits-MacBook-Pro:CExampleProject mohit$ spatial worker build --target macos
Extracting packages 1/1 [====================] 100%
Generating bridge settings for client_direct.
Generating bridge settings for client_vtable.
Generating bridge settings for physics.
Generating managed worker configuration for physics.
Generating descriptor. 1/1 [====================] 100%
Running task 'build' for worker 'client_direct', target 'macos'
[1/7] > Build Codegen
[1/1] > Codegen Insert custom codegen step here
[1/1] < Codegen Insert custom codegen step here (100ms)
[1/7] < Build Codegen (100ms)
[2/7] > Build Install dependencies
Extracting packages 1/1 [====================] 100%
[2/7] < Build Install dependencies (720ms)
[3/7] > Build CMake configure
[3/7] < Build CMake configure (40ms)
[4/7] > Build CMake configure for Windows

  • Skipping step windows as it does not match target 'macos'.
    [4/7] < Build CMake configure for Windows (< 10ms)
    [5/7] > Build CMake configure for Linux
  • Skipping step linux as it does not match target 'macos'.
    [5/7] < Build CMake configure for Linux (< 10ms)
    [6/7] > Build CMake configure for macOS
    [6/7] < Build CMake configure for macOS (4s)
    [7/7] > Build CMake build
    [7/7] < Build CMake build (3.63s)
    succeeded (8.49s)
    Running task 'build' for worker 'client_vtable', target 'macos'
    [1/7] > Build Codegen
    [1/1] > Codegen Insert custom codegen step here
    [1/1] < Codegen Insert custom codegen step here (20ms)
    [1/7] < Build Codegen (20ms)
    [2/7] > Build Install dependencies
    [2/7] < Build Install dependencies (50ms)
    [3/7] > Build CMake configure
    [3/7] < Build CMake configure (20ms)
    [4/7] > Build CMake configure
  • Skipping step windows as it does not match target 'macos'.
    [4/7] < Build CMake configure (< 10ms)
    [5/7] > Build CMake configure
  • Skipping step linux as it does not match target 'macos'.
    [5/7] < Build CMake configure (< 10ms)
    [6/7] > Build CMake configure
    [6/7] < Build CMake configure (2.23s)
    [7/7] > Build CMake build
    [7/7] < Build CMake build (4.92s)
    succeeded (7.24s)
    Running task 'build' for worker 'physics', target 'macos'
    [1/4] > Build Codegen
    [1/2] > Codegen Dependencies
    Extracting packages 1/1 [====================] 100%
    Extracting packages 3/3 [====================] 100%
    [1/2] < Codegen Dependencies (410ms)
    [2/2] > Codegen C#
    Generating code for csharp. 1/1 [====================] 100%
    [2/2] < Codegen C# (270ms)
    [1/4] < Build Codegen (690ms)
    [2/4] > Build Linux
  • Skipping step Linux as it does not match target 'macos'.
    [2/4] < Build Linux (< 10ms)
    [3/4] > Build macOS
    Encountered an error running command: 'msbuild' with arguments '/p:Configuration=Release /p:Platform=macOS64 CsharpWorker.sln': exec: "msbuild": executable file not found in $PATH
    Please make sure the step 'macOS' defined in file '/Users/mohit/CExampleProject/workers/csharp_physics/spatialos.csharp.build.json' is configured correctly.
    [3/4] x Build macOS (< 10ms)
    error: exec: "msbuild": executable file not found in $PATH
    failed (690ms)
    Error during command execution: exec: "msbuild": executable file not found in $PATH
    'spatial worker build' failed (16.7s)
    Encountered an error during command execution.
    exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions