I have a project where I use SQLite.swift. Recently I got a MacBook Pro with a M1 chip. After that the project runs fine on a device but when I try to run on simulator I get this error message from Xcode:
Could not find module ‘SQLite’ for target ‘x86_64-apple-ios-simulator’; found: arm64, arm64-apple-ios-simulator
I use cocoa pods for adding SQLite.swift to my project. I tried to move it to SPM but the error is still present.
After searching for this error I found a work around: Open Xcode with this option: Open using Rosetta, but this to me seems as a hack.
Can this be fixed somehow at the SQLite.swift level?
SQLite.swift version 0.13.0
Xcode 13.2.1
Hello,
I have a project where I use SQLite.swift. Recently I got a MacBook Pro with a M1 chip. After that the project runs fine on a device but when I try to run on simulator I get this error message from Xcode:
Could not find module ‘SQLite’ for target ‘x86_64-apple-ios-simulator’; found: arm64, arm64-apple-ios-simulator
I use cocoa pods for adding SQLite.swift to my project. I tried to move it to SPM but the error is still present. After searching for this error I found a work around: Open Xcode with this option:Open using Rosetta
, but this to me seems as a hack.Can this be fixed somehow at the SQLite.swift level? SQLite.swift version
0.13.0
Xcode13.2.1
Thank you.