Cannot build to Apple silicon

Open
#828 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
macos, objective-c, unity

Research direction

Reproduce the failure in the sample project using Unity 2020.3.30f1 on an M1 Mac, then inspect the native Mac plugin and its Xcode target, which is currently set to macOS 10.13. Confirm whether the missing DLL and target configuration prevent Intel 64-bit plus Apple silicon and Apple silicon builds; done means the sample project builds for both Apple silicon settings.

Written by the indexing model from the issue text.

Description

We cannot build to Mac with the Architecture in the Build Settings being set to "Intel 64-bit + Apple silicon", nor to "Apple silicon".
A dll is missing for this. Actually, we think the problem may derive from the fact that in the native code for the Mac plugin the Xcode target is: 10.13. Could you help us with this issue? And probably you should raise it so that Apple silicon should be supported.

We've experienced this problem in the sample project provided here in this repo. We tried to build it from Unity version 2020.3.30f1 and on a Mac Mini with M1 chip running macOS version Monterey 12.4. (On Intel 64-bit there was no problem.)
issue

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gree/unity-webview

All issues in gree/unity-webview

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.