You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After Xcode and Mac updated, my app could not load the libraries properly. Images were not working, as well as other components for some reason. I have made some research and it was because of the faulty Xcode update they handled. (More details in this issue I have opened).
I have seen people saying that upgrading to 0.63 solved the problem. However, I did not manage to update it successfully. My project began in RN 0.61.2 and I have only managed to update to 0.62.2. It probably has some file differences if starting a brand new app at 0.62.2.
I have followed the Upgrade Helper and I have applied the patch-package, but none of them successfully upgrades to 0.63.3.
Errors: Changing the package.json only (RN 0.62.2 to 0.63.3).
When building the app, I immediately get this error: In file included from .../node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp:8: .../node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.h:15:10: fatal error: 'ReactCommon/CallInvoker.h' file not found #include <ReactCommon/CallInvoker.h>
I have followed this method but the same error happens.
Using patch-package and Upgrade Helper
When building the app, Metro is executed, however, a huge error log is shown with this error at the end:
`ld: warning: directory not found for option '-L-L/Users/.../Library/Developer/Xcode/DerivedData/Project-dnhaxcpjqvjtxjbqrzsimsmqaebh/Build/Products/Debug-iphonesimulator/BoringSSL-GRPC'
ld: library not found for -lBoringSSL-GRPC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/.../Library/Developer/Xcode/DerivedData/Project-dnhaxcpjqvjtxjbqrzsimsmqaebh/Build/Products/Debug-iphonesimulator/Project.app/PlugIns/ProjectTests.xctest/ProjectTests normal x86_64
(1 failure)`
I have removed all the quotes from the Library Search Paths like this reply shows but the error persisted.
Reproduce demo
Create an RN project at Version 0.61.2
Update the same project to Version 0.62.2
Update it to Version 0.63.3
I am able to return to 0.62.2 at any time. I appreciate the time taken to read all this! Thanks!
The text was updated successfully, but these errors were encountered:
Environment
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
Memory: 266.89 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.3.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0. - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 12.0.1/12A7300 - /usr/bin/xcodebuild
Languages:
Java: 14.0.2 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Upgrading version
0.63.3
Description
After Xcode and Mac updated, my app could not load the libraries properly. Images were not working, as well as other components for some reason. I have made some research and it was because of the faulty Xcode update they handled. (More details in this issue I have opened).
I have seen people saying that upgrading to 0.63 solved the problem. However, I did not manage to update it successfully. My project began in RN 0.61.2 and I have only managed to update to 0.62.2. It probably has some file differences if starting a brand new app at 0.62.2.
I have followed the Upgrade Helper and I have applied the patch-package, but none of them successfully upgrades to 0.63.3.
Errors:
Changing the package.json only (RN 0.62.2 to 0.63.3).
When building the app, I immediately get this error:
In file included from .../node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp:8: .../node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.h:15:10: fatal error: 'ReactCommon/CallInvoker.h' file not found #include <ReactCommon/CallInvoker.h>
I have followed this method but the same error happens.
Using patch-package and Upgrade Helper
When building the app, Metro is executed, however, a huge error log is shown with this error at the end:
`ld: warning: directory not found for option '-L-L/Users/.../Library/Developer/Xcode/DerivedData/Project-dnhaxcpjqvjtxjbqrzsimsmqaebh/Build/Products/Debug-iphonesimulator/BoringSSL-GRPC'
ld: library not found for -lBoringSSL-GRPC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/.../Library/Developer/Xcode/DerivedData/Project-dnhaxcpjqvjtxjbqrzsimsmqaebh/Build/Products/Debug-iphonesimulator/Project.app/PlugIns/ProjectTests.xctest/ProjectTests normal x86_64
(1 failure)`
I have removed all the quotes from the Library Search Paths like this reply shows but the error persisted.
Reproduce demo
I am able to return to 0.62.2 at any time. I appreciate the time taken to read all this! Thanks!
The text was updated successfully, but these errors were encountered: