upgrade-support icon indicating copy to clipboard operation
upgrade-support copied to clipboard

Library not found for -lFBReactNativeSpec after upgrading to RN 0.69.3

Open pottercomuneo opened this issue 2 years ago • 2 comments

Environment

System: OS: macOS 12.4 CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Memory: 3.43 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.16.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.11.0 - /usr/local/bin/npm Watchman: 2022.06.27.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/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: 29, 33 Build Tools: 28.0.3, 33.0.0 System Images: android-30 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7935034 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 1.8.0_201 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.0.0 => 18.0.0 react-native: 0.69.4 => 0.69.4 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Things I’ve done to figure out my issue

I've already tried ALL the suggestion in this previous issue: #138

Upgrading version

0.69.3

Description

Since I've finished my upgrade from 0.62.3 to 0.69.3 when I build for iOS I get this same error: ld: library not found for -lFBReactNativeSpec clang: error: linker command failed with exit code 1 (use -v to see invocation) at the very end of the building process (in the linking app execution).

I've never used nvm. As I'm seeing in the last comments on issue #138 I'm not the only one facing this problem. I also tried to upgrade to the very recent 0.69.4 (as you can see on the environment section) but nothing changed. What can be done? I can provide any further information needed. Thanks!

pottercomuneo avatar Aug 09 '22 14:08 pottercomuneo

Same issue here after RN 0.69.4 upgrade

lucienbl avatar Aug 22 '22 15:08 lucienbl

By now I just removed libFBReactNativeSpec.a from the target's Link Binary With Libraries list, let's see if it's solved

pottercomuneo avatar Sep 09 '22 13:09 pottercomuneo