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

Fails install to Swift project with CocoaPods? #31

Closed
muukii opened this issue Jun 12, 2018 · 2 comments
Closed

Fails install to Swift project with CocoaPods? #31

muukii opened this issue Jun 12, 2018 · 2 comments
Labels

Comments

@muukii
Copy link

muukii commented Jun 12, 2018

Hi,

Can I install Sonar to Swift-Project with CocoaPods?
I faced following installing error.
I think use_frameworks! flag causes it.

A workaround is here.
react-native-maps/react-native-maps#1923

[!] The 'Pods-App' target has transitive dependencies that include static binaries: (/Users/muukii/dev/MyProject/Pods/CocoaLibEvent/lib/libevent.a, /Users/muukii/dev/MyProject/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/muukii/dev/MyProject/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/muukii/dev/MyProject/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/muukii/dev/MyProject/Pods/OpenSSL-Static/lib-ios/libcrypto.a, and /Users/muukii/dev/MyProject/Pods/OpenSSL-Static/lib-ios/libssl.a)
Command failed with status (1): [bundle exec pod install --repo-update...]
@priteshrnandgaonkar
Copy link
Contributor

Currently we do not support Sonar on Swift projects, as Swift is not interoperable with C++.We are working on it. This error The 'Pods-App' target has transitive dependencies that include static binaries: is unrelated to the project being written in swift. To solve this get rid off use_frameworks!. With new cocoapod release, you no longer need use_framework! even with swift projects.

@priteshrnandgaonkar
Copy link
Contributor

Closing it for now. Feel free to reopen if the doubt is not cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants