howljs / rn-card-scanner

This library provides payment card scanning functionality for your React Native app
MIT License
86 stars 11 forks source link

Failed EAS build, error related to PayCardsRecognizerResult.h #18

Open rodnoycry opened 2 months ago

rodnoycry commented 2 months ago

We got this error on the Run fastlane step of EAS build for iOS:

$ set -o pipefail && xcodebuild -workspace ./ZionBank.xcworkspace -scheme ZionBank -configuration Debug -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2024-07-03/ZionBank\ 2024-07-03\ 16.18.10.xcarchive archive | tee /Users/expo/workingdir/logs/ZionBank-ZionBank.log > /dev/null

❌  error: Multiple commands produce '/Users/expo/Library/Developer/Xcode/DerivedData/ZionBank-dgtqcfaxpmiehehgfqbvtqbiqwfz/Build/Intermediates.noindex/ArchiveIntermediates/ZionBank/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RNCardScanner.framework/Headers/PayCardsRecognizer.h'

❌  error: Multiple commands produce '/Users/expo/Library/Developer/Xcode/DerivedData/ZionBank-dgtqcfaxpmiehehgfqbvtqbiqwfz/Build/Intermediates.noindex/ArchiveIntermediates/ZionBank/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RNCardScanner.framework/Headers/PayCardsRecognizerResult.h'

I am not sure what causes that but it points to the PayCardsRecognizer header file

Our package.json:

"dependencies": {
    "@dev-plugins/react-navigation": "^0.0.6",
    "@dev-plugins/redux": "^0.0.1",
    "@expo/metro-runtime": "~3.2.1",
    "@expo/react-native-action-sheet": "4.1.0",
    "@formatjs/intl-getcanonicallocales": "^2.3.0",
    "@formatjs/intl-locale": "4.0.0",
    "@formatjs/intl-pluralrules": "5.2.14",
    "@formatjs/intl-relativetimeformat": "11.2.14",
    "@gorhom/bottom-sheet": "4.6.3",
    "@react-native-async-storage/async-storage": "1.23.1",
    "@react-native-community/netinfo": "11.3.1",
    "@react-native-firebase/app": "^20.1.0",
    "@react-native-firebase/messaging": "^20.1.0",
    "@react-navigation/elements": "^1.3.30",
    "@reduxjs/toolkit": "2.2.6",
    "@sentry/react-native": "~5.22.0",
    "@tma.js/sdk": "2.6.1",
    "@tma.js/sdk-react": "2.2.7",
    "clsx": "2.1.1",
    "concurrently": "^8.2.2",
    "expo": "^51.0.17",
    "expo-blur": "~13.0.2",
    "expo-camera": "~15.0.13",
    "expo-clipboard": "~6.0.3",
    "expo-constants": "~16.0.2",
    "expo-crypto": "~13.0.2",
    "expo-dev-client": "~4.0.19",
    "expo-device": "~6.0.2",
    "expo-font": "~12.0.7",
    "expo-haptics": "~13.0.1",
    "expo-image": "~1.12.12",
    "expo-image-picker": "~15.0.7",
    "expo-linear-gradient": "~13.0.2",
    "expo-linking": "~6.3.1",
    "expo-local-authentication": "~14.0.1",
    "expo-localization": "~15.0.3",
    "expo-network": "~6.0.1",
    "expo-notifications": "~0.28.9",
    "expo-router": "~3.5.17",
    "expo-secure-store": "~13.0.2",
    "expo-sharing": "~12.0.1",
    "expo-splash-screen": "~0.27.5",
    "expo-status-bar": "~1.12.1",
    "expo-system-ui": "~3.0.7",
    "expo-web-browser": "~13.0.3",
    "i18next": "23.11.5",
    "lodash": "^4.17.21",
    "lottie-react-native": "6.7.0",
    "moment": "^2.30.1",
    "nativewind": "^4.0.36",
    "postinstall-postinstall": "^2.1.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-i18next": "14.1.2",
    "react-native": "0.74.3",
    "react-native-gesture-handler": "~2.16.1",
    "react-native-gifted-charts": "1.4.14",
    "react-native-gifted-chat": "^2.4.0",
    "react-native-mask-input": "^1.2.3",
    "react-native-qrcode-svg": "^6.3.1",
    "react-native-reanimated": "~3.10.1",
    "react-native-safe-area-context": "4.10.1",
    "react-native-screens": "3.31.1",
    "react-native-sse": "^1.2.1",
    "react-native-svg": "15.2.0",
    "react-native-switch": "^1.5.1",
    "react-native-toast-message": "^2.2.0",
    "react-native-url-polyfill": "^2.0.0",
    "react-native-web": "~0.19.12",
    "react-redux": "9.1.2",
    "rn-card-scanner": "^1.1.2",
    "tailwind-merge": "2.3.0",
    "tailwindcss": "3.4.4",
    "usehooks-ts": "^3.1.0",
    "zod": "^3.23.8",
    "expo-build-properties": "~0.12.3"
edenmeshulam commented 1 month ago

Any news about that?