question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error while installing Flipper-Boost-iOSX with use_frameworks!

See original GitHub issue

🐛 Bug Report

I know that Flipper is not compatible with use_frameworks yet but this topic will get too heated. If we enable use_frameworks! there are some issues installing statically linked binaries:

[!] The 'Pods-xxx' target has transitive dependencies that include statically linked binaries: (Flipper-Boost-iOSX)

Related issue: https://github.com/facebook/flipper/issues/2414

To Reproduce

  • Add use_frameworks! in podfile
  • Run pod install

Environment

  • Flipper desktop: 0.155.0
System:
    OS: macOS 12.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 26.71 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 1.22.18 - ~/w/dietdoctor/rnapp/node_modules/.bin/yarn
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
    Watchman: 2022.05.16.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /Users/matin/.rvm/gems/ruby-3.0.2/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK:
      API Levels: 28, 29, 30, 31
      Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 31.0.0
      System Images: android-27 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-30 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom_64, android-31 | Google APIs Intel x86 Atom_64, android-S | Google Play Intel x86 Atom_64
      Android NDK: 23.0.7344513-beta4
  IDEs:
    Android Studio: 4.2 AI-202.7660.26.42.7351085
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.10 - /usr/local/opt/openjdk@11/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:7
  • Comments:24 (4 by maintainers)

github_iconTop GitHub Comments

18reactions
bavekucommented, Jul 28, 2022

ReactNative doesn’t support use_framework!, so You need remove it on Podfile.

7reactions
MCervenkacommented, Aug 2, 2022

I have the same problem with react-native 0.69.3 and firebase 15.2.0. After updating the firebase the issue arise with Flipper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build fail when using use_frameworks! react-native
In Podfile I am installing both frameworks and library using Cocapods. Xcode will throw an error the library is not linked yet when...
Read more >
target has transitive dependencies that include statically ...
Enabling use_frameworks! with Expo 42 in a bare workflow causes pod install to fail because @unimodules/core includes statically linked binaries. Managed or ...
Read more >
Can't install MSAL library using swift and Native Modules.
I'm trying to implement a native module using swift in a react native app and I'm getting errors when I run the app....
Read more >
Xcode12 build error. The linked fr…
framework'is missing one or more architectures required by this target: arm64' occurred. I updated Cocoa pod. I removed all about pod and installed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found