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

CocoaPods support added in 3.0.4 release is not working #141

Closed
JOikarinen opened this issue Mar 25, 2021 · 2 comments
Closed

CocoaPods support added in 3.0.4 release is not working #141

JOikarinen opened this issue Mar 25, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JOikarinen
Copy link
Contributor

When using PolarBleSdk pod the app crashes on launch.

dyld: Symbol not found: _$s7RxSwift10ObservableCMo
  Referenced from: /private/var/containers/Bundle/Application/C4CE12D6-5A43-4D4B-8E52-59BB96F6B57E/polarBleSdkTestApp.app/Frameworks/PolarBleSdk.framework/PolarBleSdk
  Expected in: /private/var/containers/Bundle/Application/C4CE12D6-5A43-4D4B-8E52-59BB96F6B57E/polarBleSdkTestApp.app/Frameworks/RxSwift.framework/RxSwift
 in /private/var/containers/Bundle/Application/C4CE12D6-5A43-4D4B-8E52-59BB96F6B57E/polarBleSdkTestApp.app/Frameworks/PolarBleSdk.framework/PolarBleSdk
dyld: launch, loading dependent libraries
@JOikarinen JOikarinen self-assigned this Mar 25, 2021
@JOikarinen JOikarinen pinned this issue Mar 25, 2021
@JOikarinen JOikarinen added the bug Something isn't working label Mar 25, 2021
@JOikarinen
Copy link
Contributor Author

JOikarinen commented Mar 27, 2021

Solution (or at least workaround), the client using PolarBleSdk pod must add this to client Podfile:

post_install do |installer|
        installer.pods_project.targets.each do |target|
          target.build_configurations.each do |config|
            config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
          end
        end
      end

The issue is discussed in CocoaPods/CocoaPods#9232

@JOikarinen
Copy link
Contributor Author

Readme updated 8a6343a

@JOikarinen JOikarinen unpinned this issue Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant