upgrade-support
upgrade-support copied to clipboard
Build Error "Undefined symbol: _swift_getFunctionReplacement" and "Undefined symbol: _swift_getOrigOfReplaceable" when upgrading from v0.61.5 to v0.63.4
Environment
System:
OS: macOS 11.1
CPU: (4) x64 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
Memory: 27.06 MB / 8.00 GB
Shell: 5.7.1 - /usr/local/bin/zsh
Binaries:
Node: 13.5.0 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.2 - /Users/hoge/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: iOS 14.3, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
System Images: android-28 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 12.3/12C33 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_242-release - /usr/bin/javac
Python: 3.8.1 - /usr/local/var/pyenv/shims/python
npmPackages:
@react-native-community/cli: Not Found
react: ^16.13.1 => 16.14.0
react-native: ^0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Things I’ve done to figure out my issue
- [X] I used upgrade-helper to do my upgrade.
- [X] I proceeded to follow all four steps in the React Native 0.62 upgrade explanation in this repo.
- [X] As mentioned in other issues, I enabled Dead Code Stripping in Build Settings for DEBUG in EACH target of my project.
Upgrading version
v0.63.4
Description
Aithough I did three things as I said in "Things I’ve done to figure out my issue", I faced build error "Undefined symbol: _swift_getFunctionReplacement" and "Undefined symbol: _swift_getOrigOfReplaceable" when I tried to build on Xcode.