Then
Then copied to clipboard
M1 - Apple Silicon with arm64 excluded architecture issue
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:
- -Create new project
- Instal Swift package
Then 6.0.0
- In build settings add
excluded Architecture
forAny iOS simulator SDK
=arm64
- Import Then in ViewController.swift
- Try to compile the project
Hi Dasoga, I will have access to an M1 Mac in a few days and will report back.
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?