-
Notifications
You must be signed in to change notification settings - Fork 198
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
Could not find module 'SwiftLinkPreview' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator` #137
Comments
I'm closing this issue because I couldn't reproduce. Are you still having this problem? |
I got this error too, with XCode 13. I've cleaned out my DerivedData and artifacts, and built using Carthage: Problem occurs when I run: I was able to resolve the problem by removing the "user-defined" VALID_ARCHS lines from the xcodeproj file. It was not sufficient to remove it in the GUI I had to manually remove from every configuration. I believe this is an old setting that was needed back in the day. #154 fixes. |
This is peripherally mentioned in the XCode 12 release notes:
|
I just got my first M1 mac and I get the exact same error! What is the fix here? |
It's right there in my comment along with a merge request. You can pin to my branch or fork and fix it for yourself. |
I tried pinning the pod to your branch (valid_archs), but cocoapods failed to find it! Indeed, there’s no branch with that name! |
Ah sorry... I'm used to Carthage which lets you easily point to different repos. I can't help you any further than google but maybe check out "cocoapods private repo" |
Getting this error when running on Intel and M1 both macs with xcode 12.4, on latest OS BigSur
The text was updated successfully, but these errors were encountered: