当我尝试使用命令 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.xcodeproj
在 Xcode
关于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/