Fra*_*rew 5 xcode ios swift react-native react-native-ios
我在构建发布 React Native ios 时遇到问题,我尝试寻找许多示例,但全部失败。
这是错误消息:
Undefined symbols for architecture armv7:
"_RCTDefaultLogFunction", referenced from:
-[momsindonesiaTests testRendersWelcomeScreen] in momsindonesiaTests.o
"_RCTSharedApplication", referenced from:
-[momsindonesiaTests testRendersWelcomeScreen] in momsindonesiaTests.o
"_RCTSetLogFunction", referenced from:
-[momsindonesiaTests testRendersWelcomeScreen] in momsindonesiaTests.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
我不知道如何再次解决这个错误,请帮我解决这个问题。
谢谢。
我对 Xcode 10.1 和 React Native 0.61.5 也有同样的问题。要解决此问题,请尝试此操作。
希望这个解决方案也适合您。
| 归档时间: |
|
| 查看次数: |
4775 次 |
| 最近记录: |