Skip to content

ld: library not found for -lRCTBlob #15767

@crajesh238

Description

@crajesh238

created a new project with react-native init
{
"name": "Test1",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.0.0-alpha.12",
"react-native": "0.47.1"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}

ld: library not found for -lRCTBlob
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following commands produced analyzer issues:

Analyze /Users/rajeshchilukuri/Documents/Projects/reactNative/Test1/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/rajeshchilukuri/Documents/Projects/reactNative/Test1/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c

(2 commands with analyzer issues)

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

Installing build/Build/Products/Debug-iphonesimulator/Test1.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/Test1.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

react-native -version
react-native-cli: 2.0.1
react-native: 0.47.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: iOSiOS applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions