Closed saada closed 7 years ago
@nertilzhuri
Hi, I cannot reproduce this locally. I've recreated the example project from scratch via react-native init
just to be sure. Also remember to run npm install
before running (in case you didn't).
Hi @oblador
I've the same issue except the error code , above it was error 2
mine is 22
(domain=NSPOSIXErrorDomain, code=22)
I'm facing it when running any ignite new app
no matter what app's name
I tried to clear npm cache and reinstall everything with no luck ,
once I create an ignite project with out react-native-vector-icons
the project build with no errors
some details :
node version v7.9.0
ignite version 2.0.0-beta.9
here is my complete package.js file :
{
"name": "foo",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"lint": "standard --verbose | snazzy",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
"fixcode": "standard --fix",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean",
"clean:android": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
"newclear": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && npm cache clean && npm i",
"test": "ava",
"test:watch": "ava --watch",
"coverage": "nyc ava && nyc report --reporter=html && open coverage/index.html || xdg-open coverage/index.html",
"android:build": "cd android && ./gradlew assembleRelease",
"android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
"android:hockeyapp": "cd android && ./gradlew assembleRelease && puck -submit=auto app/build/outputs/apk/app-release.apk",
"android:devices": "$ANDROID_HOME/platform-tools/adb devices",
"android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
"android:shake": "$ANDROID_HOME/platform-tools/adb devices | grep '\\t' | awk '{print $1}' | sed 's/\\s//g' | xargs -I {} $ANDROID_HOME/platform-tools/adb -s {} shell input keyevent 82",
"precommit": "npm run git-hook",
"prepush": "npm run git-hook",
"git-hook": "npm run lint -s && npm test -s"
},
"dependencies": {
"apisauce": "^0.10.0",
"format-json": "^1.0.3",
"lodash": "^4.17.2",
"querystringify": "0.0.4",
"ramda": "^0.23.0",
"react": "16.0.0-alpha.6",
"react-native": "0.44.0",
"react-native-animatable": "^1.1.1",
"react-native-clean-project": "^1.0.4",
"react-native-config": "^0.2.1",
"react-native-device-info": "^0.10.0",
"react-native-drawer": "^2.3.0",
"react-native-i18n": "^1.0.0",
"react-native-vector-icons": "^4.1.0",
"react-navigation": "^1.0.0-beta.9",
"react-redux": "^5.0.2",
"redux": "^3.6.0",
"redux-persist": "^4.1.0",
"redux-saga": "^0.14.3",
"reduxsauce": "0.4.1",
"seamless-immutable": "^7.0.1"
},
"devDependencies": {
"ava": "^0.18.2",
"babel-eslint": "^7.1.1",
"babel-preset-es2015": "^6.18.0",
"enzyme": "^2.6.0",
"husky": "^0.13.1",
"ignite-animatable": "^0.3.1",
"ignite-dev-screens": "^2.0.0-beta.9",
"ignite-i18n": "^0.1.1",
"ignite-ir-next": "^0.0.7",
"ignite-vector-icons": "^0.2.1",
"mockery": "^2.0.0",
"nyc": "^10.1.2",
"react-addons-test-utils": "^15.3.1",
"react-dom": "^15.4.0",
"react-native-mock": "^0.3.1",
"reactotron-apisauce": "^1.7.0",
"reactotron-react-native": "^1.7.0",
"reactotron-redux": "^1.7.0",
"reactotron-redux-saga": "^1.7.0",
"snazzy": "^6.0.0",
"standard": "8.6.0"
},
"ava": {
"files": [
"Tests/**/*.js",
"!Tests/Setup.js"
],
"require": [
"babel-register",
"babel-polyfill",
"react-native-mock/mock",
"./Tests/Setup"
],
"babel": "inherit"
},
"standard": {
"parser": "babel-eslint",
"globals": [
"describe",
"it",
"fetch",
"navigator",
"__DEV__",
"XMLHttpRequest",
"FormData",
"React$Element"
]
},
"config": {
"ghooks": {
"pre-commit": "if [ -d 'ignite-base' ]; then cd ignite-base; fi; npm run lint"
}
}
}
here is the error message I'm getting :
ld: library not found for -lRNVectorIcons-tvOS
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/foo.app/foo normal x86_64
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/foo.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/foo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
I'm willing to help , let me know if I can do anything ? should I open a new issue for this ?
I can confirm removing LiblRNVectorIcons
from xcode project will allow the app to build and it works on simulator but on packager window :
Transforming modules 99.8% (1243/1244), done.
and it never reached 100% but the apps works , and I can see vector icons as well
Hi,
I am also facing this issue.
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/samundra/personal/www/react-native-vector-icons/Examples/IconExplorer/ios/build/Build/Intermediates.noindex/IconExplorer.build/Debug-iphonesimulator/IconExplorer.build/assetcatalog_dependencies --output-partial-info-plist /Users/samundra/personal/www/react-native-vector-icons/Examples/IconExplorer/ios/build/Build/Intermediates.noindex/IconExplorer.build/Debug-iphonesimulator/IconExplorer.build/assetcatalog_generated_info.plist --app-icon AppIcon --compress-pngs --enable-on-demand-resources YES --filter-for-device-model iPhone7,2 --filter-for-device-os-version 11.3 --sticker-pack-identifier-prefix org.reactjs.native.example.IconExplorer.sticker-pack. --target-device iphone --minimum-deployment-target 9.0 --platform iphonesimulator --product-type com.apple.product-type.application --compile /Users/samundra/personal/www/react-native-vector-icons/Examples/IconExplorer/ios/build/Build/Products/Debug-iphonesimulator/IconExplorer.app /Users/samundra/personal/www/react-native-vector-icons/Examples/IconExplorer/ios/IconExplorer/Images.xcassets
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze Base/RCTModuleMethod.mm normal x86_64
Analyze RCTNetInfo.m normal x86_64
(2 commands with analyzer issues)
The following build commands failed:
CpResource /Users/samundra/personal/www/react-native-vector-icons/Examples/IconExplorer/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf build/Build/Products/Debug-iphonesimulator/IconExplorer.app/AntDesign.ttf
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/IconExplorer.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/IconExplorer.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/IconExplorer.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
at checkExecSyncError (child_process.js:616:11)
at Object.execFileSync (child_process.js:634:13)
at Promise.then (/Users/samundra/personal/www/react-native-vector-icons/Examples/IconExplorer/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)
I tried to clear the build and tried linking the icons as instructed on readme. I am still facing this issue.
When I run in Examples/IconExplorer
I get