Skip to content

Failed to build iOS project #57

@sonnel

Description

@sonnel

I just installed the package and tried to run in an iOS simulator but got the following results. Is it because I'm using expo?

❌  ld: in ${some_path}/sample-app/node_modules/react-native-tappay/ios/TPDirect.framework/TPDirect(TPDLog.o), building for iOS Simulator, but linking in object file built for iOS, file '${some_path}/sample-app/node_modules/react-native-tappay/ios/TPDirect.framework/TPDirect' for architecture arm64

❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Here's the package.json

{
  "name": "sample-app",
  "version": "2.0.0",
  "scripts": {
    "tran": "./tool/tran.mjs --js=js --jsSaveDir=js/translations",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "start": "expo start --dev-client"
  },
  "dependencies": {
    "@apollo/client": "^3.7.7",
    "@config-plugins/react-native-blob-util": "^4.0.0",
    "@config-plugins/react-native-pdf": "^4.0.0",
    "@react-native-async-storage/async-storage": "~1.17.3",
    "@react-native-firebase/app": "^17.3.2",
    "@react-native-firebase/messaging": "^17.3.2",
    "@react-navigation/bottom-tabs": "^6.5.4",
    "@react-navigation/drawer": "^6.5.8",
    "@react-navigation/native": "^6.1.3",
    "@react-navigation/native-stack": "^6.9.9",
    "@stripe/stripe-react-native": "0.19.0",
    "expo": "~47.0.12",
    "expo-application": "~5.0.1",
    "expo-build-properties": "~0.4.1",
    "expo-constants": "~14.0.2",
    "expo-device": "~5.0.0",
    "expo-linear-gradient": "~12.0.1",
    "expo-localization": "~14.0.0",
    "expo-notifications": "~0.17.0",
    "expo-splash-screen": "~0.17.5",
    "expo-status-bar": "~1.4.2",
    "fbjs": "^3.0.4",
    "i18next": "^22.4.10",
    "intl": "^1.2.5",
    "luxon": "^3.2.1",
    "moment": "^2.29.4",
    "numeral": "^2.0.6",
    "react": "18.1.0",
    "react-native": "0.70.5",
    "react-native-blob-util": "^0.17.2",
    "react-native-calendars": "^1.1293.0",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-linear-gradient": "^2.6.2",
    "react-native-pager-view": "6.0.1",
    "react-native-pdf": "^6.6.2",
    "react-native-qrcode-svg": "^6.2.0",
    "react-native-reanimated": "~2.12.0",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-section-list-get-item-layout": "^2.2.3",
    "react-native-share": "^8.2.1",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-svg": "13.4.0",
    "react-native-tappay": "^1.7.0",
    "react-native-vector-icons": "^9.2.0",
    "react-native-webview": "11.23.1"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@react-native-community/eslint-config": "^3.2.0",
    "@typescript-eslint/eslint-plugin": "^5.50.0",
    "eslint": "^8.33.0",
    "eslint-config-prettier": "^8.6.0",
    "eslint-config-standard-with-typescript": "^34.0.0",
    "eslint-plugin-import": "^2.27.5",
    "eslint-plugin-lodash": "^7.4.0",
    "eslint-plugin-n": "^15.6.1",
    "eslint-plugin-promise": "^6.1.1",
    "eslint-plugin-react": "^7.32.2",
    "eslint-plugin-react-hooks": "^4.6.0",
    "i18next-scanner": "^4.1.1",
    "minimist": "^1.2.8",
    "node-opencc": "^2.0.1",
    "sharp-cli": "^4.1.0",
    "typescript": "^4.9.5",
    "vinyl-fs": "^3.0.3"
  },
  "private": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions