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

M1 - Apple Silicon with arm64 excluded architecture issue #74

Open
dasoga opened this issue May 17, 2022 · 2 comments
Open

M1 - Apple Silicon with arm64 excluded architecture issue #74

dasoga opened this issue May 17, 2022 · 2 comments

Comments

@dasoga
Copy link

dasoga commented May 17, 2022

Hi all

In order to run my project in Apple Silicon I had to exclude the arch arm64.
But I'm getting this error, could you add support to this please?

Could not find module 'Then' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/.../.../Developer/Xcode/DerivedData/..../Build/Products/Debug-iphonesimulator/Then.swiftmodule

To reproduce it:

In M1 - Apple Silicon Mac:

  1. -Create new project
  2. Instal Swift package Then 6.0.0
  3. In build settings add excluded Architecture for Any iOS simulator SDK = arm64

Screen Shot 2022-05-17 at 18 18 40

4. Import Then in ViewController.swift 5. Try to compile the project

Screen Shot 2022-05-17 at 18 15 06

@s4cha
Copy link
Member

s4cha commented Jun 28, 2022

Hi Dasoga, I will have access to an M1 Mac in a few days and will report back.

@s4cha
Copy link
Member

s4cha commented Jun 30, 2022

Hi @DasOG, after running some tests, M1 has no issue on my end. I think your issue lies in the
"excluded architctures" flag. Running Then on M1 from a newly created project seems to work fine.
Could you elaborate on why you need this in the first place please?

@s4cha s4cha changed the title M1 - Apple Silicon support M1 - Apple Silicon with arm64 excluded architecture issue Jun 30, 2022
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

2 participants