Skip to content

Unable to build on M1 Mac #4739

@canxkoz

Description

@canxkoz

Bug report

  • AirSim Version/#commit: Latest version as of 6688d27
  • UE/Unity version: 4.2
  • autopilot version: N/A
  • OS Version: MacOS 12.6

What's the issue you encountered?

I can setup.sh and build.sh without any problems but when I open Xcode and build the Blocks.workspace I get the following errors.
"Shell Script Invocation Error Group" and "/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Classes/Materials/Material.h:1279:26: Variable 'LayerNames' set but not used"

Screen Shot 2022-11-07 at 17 45 51

Settings

I don't have any specific settings. But here are some outputs from setup.sh and build.sh
Screen Shot 2022-11-07 at 19 44 43

How can the issue be reproduced?

  1. have a mac with an M1 chip, install brew.
  2. go through the setup instructions on
    AirSim MacOS Setup Instructions
  3. I am stuck on the last step "Open the XCode workspace, and press the Build and run button in the top left." on the setup instructions link.

Include full error message in text form

"Shell Script Invocation Error Group" and "/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Classes/Materials/Material.h:1279:26: Variable 'LayerNames' set but not used

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