Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building iOS - symbols not found and linker command failed #763

Open
galdinoramon opened this issue Jan 2, 2025 · 1 comment
Open

Building iOS - symbols not found and linker command failed #763

galdinoramon opened this issue Jan 2, 2025 · 1 comment
Labels

Comments

@galdinoramon
Copy link

Describe the issue

Guys, I'm trying to update my @datadog/mobile-react-native and @datadog/mobile-react-navigation libs to any version above the one I have installed today, which is 1.0.0-rc5, and I'm getting the following error compilation in iOS.

Image

I've already made several adjustments and still haven't been able to find the solution, I would really appreciate it if someone could help me.

Reproduction steps

make sure you have version 1.0.0-rc5 installed and try to update and build the iOS version.

SDK logs

No response

Device Information

No response

SDK version

1.0.0-rc5

Integration Methods

NPM

React Native Version

0.72.5

Package.json Contents

{
"name": "welbeapp",
"version": "14.3.2",
"binaryTarget": ">=14.1.0",
"private": true,
"mandatoryVersion": true,
"scripts": {
"android": "watchman watch-del-all && react-native run-android",
"android:clean": "cd ./android && ./gradlew clean",
"android:release": "react-native run-android --variant=release",
"android:bundle": "cd android && ./gradlew bundleRelease;",
"android:apk": "cd android && ./gradlew assembleRelease;",
"ios": "watchman watch-del-all && react-native run-ios",
"ios:release": "react-native run-ios --configuration Release",
"ios:clean": "cd ./ios && pod deintegrate && pod setup && pod install",
"commit": "cz",
"start": "watchman watch-del-all && react-native start --reset-cache",
"test": "jest",
"lint": "eslint "./src//*.{js,ts,tsx}" --quiet --fix",
"format": "prettier --write "
/.{js,jsx,ts,tsx,json,md}"",
"postinstall": "patch-package"
},
"dependencies": {
"@datadog/mobile-react-native": "1.0.0-rc9",
"@datadog/mobile-react-navigation": "1.0.0-rc9",
"@react-native-async-storage/async-storage": "^1.15.5",
"@react-native-community/blur": "^4.2.0",
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/netinfo": "^6.0.0",
"@react-native-community/push-notification-ios": "^1.10.1",
"@react-native-firebase/app": "14.10.1",
"@react-native-firebase/dynamic-links": "14.10.1",
"@react-native-firebase/messaging": "14.10.1",
"@react-native-masked-view/masked-view": "^0.2.9",
"@react-native-picker/picker": "^1.16.4",
"@react-navigation/bottom-tabs": "^6.0.0-next.22",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.0.0-next.29",
"@reduxjs/toolkit": "^1.6.1",
"@shopify/restyle": "^2.4.4",
"amazon-cognito-identity-js": "^5.0.6",
"aws-amplify": "^4.2.2",
"axios": "^0.21.1",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"deprecated-react-native-prop-types": "^4.2.1",
"formik": "^2.2.9",
"mixpanel-react-native": "^2.3.1",
"moment": "^2.29.1",
"react": "18.2.0",
"react-error-boundary": "^3.1.4",
"react-native": "0.72.5",
"react-native-app-install-date": "^0.1.3",
"react-native-bouncy-checkbox": "^2.1.4",
"react-native-calendars": "1.1302.0",
"react-native-code-push": "8.1.0",
"react-native-date-picker": "^4.2.1",
"react-native-device-info": "^8.4.8",
"react-native-document-picker": "8.2.1",
"react-native-dropdown-picker": "^5.3.0",
"react-native-exception-handler": "^2.10.10",
"react-native-gesture-handler": "^2.12.0",
"react-native-image-picker": "4.10.3",
"react-native-iphone-x-helper": "^1.3.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "^2.6.2",
"react-native-modal": "13.0.1",
"react-native-month-year-picker": "^1.9.0",
"react-native-parsed-text": "^0.0.22",
"react-native-phone-number-input": "^2.1.0",
"react-native-picker-select": "^8.0.4",
"react-native-push-notification": "^8.1.1",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "3.22.1",
"react-native-share": "^11.0.3",
"react-native-skeleton-placeholder": "^5.2.4",
"react-native-svg": "^12.1.1",
"react-native-timezone": "^2.3.0",
"react-native-vector-icons": "^10.0.0",
"react-native-walkthrough-tooltip": "^1.5.0",
"react-native-webview": "11.26.1",
"react-redux": "^7.2.4",
"redux": "^4.1.1",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"rn-fetch-blob": "0.13.0-beta.2",
"smartlook-react-native-wrapper": "^1.2.8",
"styled-components": "^5.3.0",
"yup": "^0.32.9"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native/metro-config": "^0.72.11",
"@testing-library/react-native": "^12.4.3",
"@types/jest": "^26.0.23",
"@types/react": "^18.0.24",
"@types/react-native": "^0.72.3",
"@types/react-native-push-notification": "^8.1.0",
"@types/react-native-vector-icons": "^6.4.8",
"@types/react-test-renderer": "^16.9.2",
"@types/styled-components-react-native": "^5.1.1",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-import-helpers": "^1.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"javascript-obfuscator": "^4.1.0",
"jest": "^26.6.3",
"jest-transform-stub": "^2.0.0",
"lint-staged": "^11.0.1",
"metro-react-native-babel-preset": "^0.64.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.3.2",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "^18.2.0",
"typescript": "^4.8.4"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"resolutions": {
"@types/react": "^17"
},
"jest": {
"preset": "@testing-library/react-native",
"testMatch": [
"**/
.spec.ts",
"/.spec.tsx"
],
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"customExportConditions": [
"react-native"
]
},
"transformIgnorePatterns": [
"node_modules/(?!((jest-)?react-native(-.
)?|@react-native(-community)?)/)"
],
"testPathIgnorePatterns": [
"/src/components"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"setupFiles": [
"/jest.setup.js"
],
"timers": "fake",
"transform": {
"^.+\.js$": "babel-jest",
".+\.(svg|css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
}
},
"engines": {
"node": "^18.17.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"src/
/*.{js,jsx,ts,tsx}": [
"yarn format",
"yarn lint"
]
}
}

iOS Setup

minimum SDK target 13.0

Android Setup

minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 34
supportLibVersion = "28.0.0"
playServicesVersion = "16.1.0"
kotlinVersion = "1.8.0"

Other relevant information

No response

@galdinoramon
Copy link
Author

I have already tried what was mentioned in #41 and the problem continues to occur.

thats my library search paths

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant