Library not found for -lFirebaseDynamicLinks is the real issue that I am facing in my Xcode 12.4~ followed by linker command.
THE SPECIFIC ERROR CODE.
: Library not found for -lFirebaseDynamicLinks : Linker command failed with exit code 1 (use -v to see invocation) THE PACKAGE JSON FILE
{
"name": "Sample Project Name",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=8.15.1"
},
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start --reset-cache",
"reset": "rm -rf node_modules/ && npm cache clear && watchman watch-del-all && yarn install",
"test:file": "jest",
"test": "jest --verbose --coverage",
"test:coverage": "jest --verbose --coverage --coverageDirectory=coverage --colors",
"test:update": "jest --verbose --coverage --updateSnapshot",
"test:watch": "jest --verbose --watch",
"tsc": "tsc",
"lint:fix": "tslint --project tsconfig.json --fix",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"postinstall": "node tools/checkNodeVersion.js && npx jetify",
"android": "react-native run-android",
"android:apk:debug": "cd android && ./gradlew assembleDebug && open ./app/build/outputs/apk/",
"android:apk:install": "cd android && ./gradlew installDebug",
"android:apk:release": "cd android && ./gradlew assembleRelease && open ./app/build/outputs/apk/",
"android:build-bundle": "react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/",
"android:device": "adb reverse tcp:8081 tcp:8081 && npm run android",
"android:log": "react-native log-android",
"ios": "react-native run-ios",
"ios:log": "react-native log-ios",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@invertase/react-native-apple-authentication": "^2.1.2",
"@notifee/react-native": "^1.3.1",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/clipboard": "^1.2.3",
"@react-native-community/datetimepicker": "^3.0.2",
"@react-native-community/google-signin": "^4.0.3",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "^5.9.7",
"@react-native-community/viewpager": "^4.1.6",
"@react-native-firebase/analytics": "^12.1.0",
"@react-native-firebase/app": "^12.1.0",
"@react-native-firebase/auth": "^12.1.0",
"@react-native-firebase/dynamic-links": "^12.1.0",
"@react-native-firebase/storage": "^12.1.0",
"@react-navigation/bottom-tabs": "^5.7.3",
"@react-navigation/drawer": "^5.8.7",
"@react-navigation/material-top-tabs": "^5.2.16",
"@react-navigation/native": "^5.7.2",
"@react-navigation/stack": "^5.8.0",
"@twotalltotems/react-native-otp-input": "1.3.7",
"axios": "^0.20.0",
"moment": "^2.27.0",
"react": "16.13.1",
"react-native": "0.63.0",
"react-native-autolink": "^4.0.0",
"react-native-countdown-component": "^2.7.1",
"react-native-country-picker-modal": "^2.0.0",
"react-native-create-thumbnail": "^1.2.1",
"react-native-device-info": "^5.6.5",
"react-native-dropdownalert": "^4.3.0",
"react-native-elements": "^2.1.0",
"react-native-fs": "^2.16.6",
"react-native-gesture-handler": "^1.8.0",
"react-native-image-picker": "^2.3.4",
"react-native-keyboard-aware-scroll-view": "^0.9.4",
"react-native-localize": "^1.4.1",
"react-native-modal": "^11.5.6",
"react-native-modal-datetime-picker": "^8.9.3",
"react-native-modal-selector": "^2.0.3",
"react-native-progress": "^4.1.2",
"react-native-reanimated": "^1.10.1",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^3.1.1",
"react-native-screens": "^2.9.0",
"react-native-share": "^3.7.1",
"react-native-splash-screen": "^3.2.0",
"react-native-super-grid": "^4.0.3",
"react-native-svg": "^12.1.0",
"react-native-swipe-gestures": "^1.0.5",
"react-native-switch-selector": "^2.0.6",
"react-native-tab-view": "^2.15.1",
"react-native-vector-icons": "^7.0.0",
"react-native-video": "^5.1.0-alpha8",
"react-native-video-cache": "^2.0.5",
"react-native-videoeditorsdk": "^2.5.0",
"react-navigation": "^4.4.0",
"react-navigation-stack": "^2.8.2",
"react-navigation-tabs": "^2.9.0",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-saga": "^1.1.3",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@react-native-community/cli-debugger-ui": "^4.9.0",
"@react-native-community/eslint-config": "^1.1.0",
"@types/jest": "^25.2.3",
"@types/react-native": "^0.63.1",
"@types/react-native-vector-icons": "^6.4.5",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.59.0",
"prettier": "^2.0.4",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "16.13.1",
"typescript": "^3.8.3"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}
If I remove the React Native Firebase Dynamic Links library the project works fine otherwise it is dropping this error up above.
I have tried all previous versions the same error occurs. I have tried Build Active Architecture also didn't work. And a couple of Xcode settings also. I also tried resetting the derived data and whole Xcode but no fix. I want to use RNDynamicLinks library in my project.