ra1028 / DifferenceKit

💻 A fast and flexible O(n) difference algorithm framework for Swift collection.

Home Page:https://ra1028.github.io/DifferenceKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support macOS with Apple Silicon

Shakarang opened this issue · comments

Apple will release a new type of Mac having a different architecture than x86_64. This architecture is called Apple Silicon (arm64) and requires projects with custom VALID_ARCHS to add it in their VALID_ARCHS.

Checklist

Expected Behavior

DifferenceKit can be used on macOS having the Apple Silicon architecture.

Current Behavior

The Apple Silicon architecture (arm64) is not in the valid architectures of the project.

Steps to Reproduce

Build the framework and use the lipo -info command to see that the architecture is missing.

Since VALID_ARCHS is not used by default in Xcode 12, isn't it better to remove VALID_ARCHS from the xcconfig?

Fixed #124