ReactiveX / RxSwift

Reactive Programming in Swift
MIT License
24.38k stars 4.17k forks source link

M1 Mac - Could not find module 'RxSwift' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator #2261

Closed jasonlagaac closed 3 years ago

jasonlagaac commented 3 years ago

Short description of the issue:

AS Mac not resolving module for arm64 apple simulator

Expected outcome:

RxSwift to compile for the arm64 simulator

What actually happens:

Compilation error - Could not find module 'RxSwift' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

Self contained code example that reproduces the issue:

NA - Happens on code compilation

RxSwift/RxCocoa/RxBlocking/RxTest version/commit

RxSwift - 5.1.1

Platform/Environment

How easy is to reproduce? (chances of successful reproduce after running the self contained code)

Xcode version:

Xcode 12.2

Installation method:

I have multiple versions of Xcode installed: (so we can know if this is a potential cause of your issue)

Level of RxSwift knowledge: (this is so we can understand your level of knowledge and formulate the response in an appropriate manner)

freak4pc commented 3 years ago

Hey there:) won't have access to one of these M1s for a few more weeks. Happy to accept a PR / analysis if you have it.

Thanks!

jasonlagaac commented 3 years ago

https://github.com/ReactiveX/RxSwift/pull/2262 @freak4pc

freak4pc commented 3 years ago

Fixed in #2262

tahirmt commented 3 years ago

@jasonlagaac do you know why this is necessary? I'm getting an error in all of the frameworks with cocoapods