Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Blocks on Mac OS Sonoma with Apple Silicon chip #4922

Open
NikitaYeryomin opened this issue Feb 1, 2024 · 5 comments
Open

Building Blocks on Mac OS Sonoma with Apple Silicon chip #4922

NikitaYeryomin opened this issue Feb 1, 2024 · 5 comments

Comments

@NikitaYeryomin
Copy link

Question

What's your question?

I was previously able to successfully build AirSim Blocks environment on MacOS BigSur with intel chip. However, getting issues building it on new Mac with Mac OS Sonoma 14.1 and Xcode 15.2 (please see attached screenshot). There are a bunch of deprecation warnings/errors which can't be removed, e.g.
IsTriviallyCopyAssignable.h:13:17 builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]

I tried to enable the -Wno-deprecated-builtins flag as shown on the screenshot, but it still does not help.
Also tried to follow the workaround described here: https://forums.unrealengine.com/t/wdeprecated-builtins-error-when-trying-to-build-ue4-on-xcode-15-0-1/1404880/3
But Xcode 13.4.1 is crashing when launched on Sonoma unfortuntely.

Kindly looking for an advice.

Include context on what you are trying to achieve

image

Context details

Include details of what you already did to find answers

@NikitaYeryomin NikitaYeryomin changed the title Building AirSim on Mac OS Sonoma with Apple Silicon chip Building Blocks on Mac OS Sonoma with Apple Silicon chip Feb 2, 2024
@juan5705
Copy link

juan5705 commented Feb 6, 2024

Same issue here... seems like we need Xcode 13 for building the engine.
I tried to build with Xcode 14 with Project Format "Xcode 13 - compatible" but I got the same problem.

Did you find a solution?

@NikitaYeryomin
Copy link
Author

Same issue here... seems like we need Xcode 13 for building the engine. I tried to build with Xcode 14 with Project Format "Xcode 13 - compatible" but I got the same problem.

Did you find a solution?

Nope, switched to my old mac for now, but definitely it's a huge issue.

@juan5705
Copy link

juan5705 commented Feb 9, 2024

Ok, on my side I was finally able to build Blocks environment on Sonoma using Colosseum and XCode 14.3.1.

@nikita-noteunlimited
Copy link

Ok, on my side I was finally able to build Blocks environment on Sonoma using Colosseum and XCode 14.3.1.

Great, can you share some details?

@greglo
Copy link

greglo commented Mar 1, 2024

@nikita-noteunlimited I just got Colosseum running on a M1/Sonoma/XCode 15.2 with the following steps

1. Fresh install of Colosseum and Unreal 5.2 (set as current)
2. In Colosseum, update setup.sh and build.sh to use llvm 13 (not 8)
3. Update setup.sh to add `-DCMAKE_OSX_ARCHITECTURES=x86_64` to CMAKE_FLAGS
4. After opening the XCode Workspace, in Blocks and blocks_build > Build Settings > Search for arm64
  - Update all values to x86_64
5. XCode Top menu > Product > Destinations > Destination Architectures > Enable "Show both"
6. Build using "My Mac (Rosetta)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants