ios - React Native IOS build clang : error: linker command failed with exit code 1 (use -v to see invocation)

标签 ios react-native

当我尝试使用命令 react-native run-ios 运行 react-native ios 应用程序时。构建失败并显示以下错误:-

ld: warning: directory not found for option '-L/Users/User/Documents/react-test-app/ios/build/Build/Products/Debug-iphonesimulator/React' ld: library not found for -lRNSVG clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following build commands failed: Ld build/Build/Products/Debug-iphonesimulator/react-test-app.app/react-test-app normal x86_64 (1 failure)

Installing build/Build/Products/Debug-iphonesimulator/react-test-app.app An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application The bundle identifier of the application could not be determined. Ensure that the application's Info.plist contains a value for CFBundleIdentifier. Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/oldapollo.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist.



请帮我解决这个问题。
先感谢您

最佳答案

开通 Melkana.xcworkspace而不是 Melkana.xcodeprojXcode

关于ios - React Native IOS build clang : error: linker command failed with exit code 1 (use -v to see invocation),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53589313/

相关文章:

ios - Objective c 在 View Controller 之间解析 XML 数据

javascript - 移动Webkit和Hammer JS上的多个元素响应触摸事件

android - 在自定义广播接收器中从推送通知打开时 react native 应用程序崩溃

javascript - undefined 不是对象(评估 '_react.PropTypes.object' )

ios - 我仅在使用 iOS Facebook 集成时获得 Facebook Active Access Token

ios - 使用唯一ID推送到Firebase

ios - React-native:使用 zo0r/react-native-push-notification 显示前台通知,如后台通知

javascript - 错误路径sdk react native linux

javascript - 导入 mobx 的方式之间的区别

ios - CAReplicatorLayer 背后的魔力是什么?