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

iOS 11+ ARCH set to ARCHS_STANDARD #373

Open
zulkis opened this issue Jun 2, 2020 · 0 comments
Open

iOS 11+ ARCH set to ARCHS_STANDARD #373

zulkis opened this issue Jun 2, 2020 · 0 comments

Comments

@zulkis
Copy link

zulkis commented Jun 2, 2020

Describe the bug

After pod install While building project for iOS 11+ I am getting:

Pods/RxBluetoothKit/Source/CBCentralManagerDelegateWrapper.swift:3:8: could not find module 'RxSwift' for target 'armv7-apple-ios'; found: arm64, arm64-apple-ios

Expected behavior
Build is successful, no compilation issues.
Since RxBluetoothKit having RxSwift as a dependency, I think it should behave same way as RxCocoa, which does not have this issue.

Environment:
Xcode 11.5
Fastlane 2.137.0
Cocoapods 1.8.4

Podfile:

platform :ios, '11.0'
...
pod 'RxSwift',  '~> 5.1.1'
pod 'RxBluetoothKit', '~> 5.3'

I've found quick fix on Podfile level, still it is just temporary:

post_install do |installer|
    installer.pods_project.targets.each do |target|
        if target.name == 'RxBluetoothKit'
            target.build_configurations.each do |config|
                config.build_settings['ARCHS'] = '$(ARCHS_STANDARD_64_BIT)'
            end
        end
    end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants