VirgilSecurity / react-native-virgil-crypto

BSD 3-Clause "New" or "Revised" License
48 stars 17 forks source link

'VirgilCrypto/VirgilCrypto-Swift.h' file not found while build the IOS app #84

Open gowtham-clustrex opened 1 month ago

gowtham-clustrex commented 1 month ago

'VirgilCrypto/VirgilCrypto-Swift.h' file not found

image

SergeySeroshtan commented 1 month ago

Hi @gowtham-clustrex. Would you please provide more details? What package manager is used for project? What is xcode version?

gowtham-clustrex commented 3 weeks ago

I am using the nx react native project xcode version is 15

Package.json { "name": "@test/source", "version": "13.0.1", "license": "MIT", "scripts": { "test:link": "npx nx ensure-symlink test", "test:postinstall": "cd apps/test/ && npx react-native setup-ios-permissions", "test:pod-install": "npx nx pod-install test", "test:start": "cd apps/test/ && react-native start --reset-cache", "test:run-android": "npx nx run-android test", "test:run-ios": "nx run-ios test",

"prepare": "husky install",
"lint": "npx nx lint common",
"lint:fix": "yarn lint --fix",
"pre-commit": "lint-staged"

}, "lint-staged": { "*.{js,ts,tsx}": [ "pretty-quick --staged", "eslint --fix --config .eslintrc.json" ] }, "private": true, "dependencies": { "@native-html/table-plugin": "^5.3.1", "@notifee/react-native": "^7.8.2", "@react-native-async-storage/async-storage": "^1.18.2", "@react-native-community/datetimepicker": "^7.1.0", "@react-native-community/masked-view": "^0.1.11", "@react-native-community/netinfo": "^9.3.10", "@react-native-community/push-notification-ios": "^1.11.0", "@react-native-firebase/analytics": "^18.0.0", "@react-native-firebase/app": "^18.0.0", "@react-native-firebase/messaging": "^18.0.0", "@react-native-picker/picker": "^2.4.10", "@sentry/react-native": "^5.28.0", "appcenter": "^5.0.1", "appcenter-analytics": "^5.0.1", "appcenter-crashes": "^5.0.1", "axios": "^1.6.8", "babel-plugin-module-resolver": "^5.0.2", "d3-shape": "^3.2.0", "expo": "^51.0.25", "immutable": "^4.3.0", "lodash": "^4.17.21", "lottie-ios": "^4.5.0", "lottie-react-native": "^6.7.2", "moment": "^2.29.4", "moment-timezone": "^0.5.43", "openai": "^3.2.1", "prop-types": "^15.8.1", "radio-buttons-react-native": "^1.0.4", "random-id": "^1.0.4", "react": "^18.3.1", "react-dom": "18.2.0", "react-native": "^0.73.5", "react-native-add-calendar-event": "^4.2.0", "react-native-agora": "^3.7.0", "react-native-android-location-enabler": "^1.2.2", "react-native-animated-multistep": "^1.1.1", "react-native-another-toast": "https://github.com/ywein/react-native-another-toast.git", "react-native-background-timer": "^2.4.1", "react-native-base64": "^0.2.1", "react-native-ble-plx": "^2.0.3", "react-native-blink-view": "^0.0.6", "react-native-bluetooth-state-manager": "1.3.4", "react-native-calendar-strip": "^2.2.6", "react-native-calendars": "^1.1298.0", "react-native-chatbot": "^0.0.1-alpha.12", "react-native-check-version": "^1.1.1", "react-native-circular-progress": "^1.3.8", "react-native-code-push": "^8.2.1", "react-native-collapsible": "^1.6.1", "react-native-contacts": "^7.0.5", "react-native-countdown-circle-timer": "^3.2.1", "react-native-crypto-js": "^1.0.0", "react-native-custom-radio-group": "^1.0.1", "react-native-device-info": "^10.6.0", "react-native-dotenv": "^3.4.9", "react-native-dropdown-autocomplete": "^1.0.18", "react-native-dropdownalert": "^4.5.1", "react-native-easy-toast": "^2.3.0", "react-native-elements": "^3.4.3", "react-native-emojicon": "https://github.com/shivekkhurana/react-native-emojicon.git", "react-native-flash-message": "^0.4.1", "react-native-form-validator": "^0.5.1", "react-native-gesture-handler": "^2.11.0", "react-native-google-fit": "^0.19.1", "react-native-health": "^1.14.0", "react-native-image-picker": "^5.4.0", "react-native-image-zoom-viewer": "^3.0.1", "react-native-invertible-flatlist": "^1.2.2", "react-native-keep-awake": "^4.0.0", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-keychain": "^8.1.1", "react-native-linear-gradient": "^2.6.2", "react-native-mask-input": "^1.2.3", "react-native-masked-text": "^1.13.0", "react-native-modal": "^13.0.1", "react-native-modal-dropdown": "^1.0.2", "react-native-orientation-locker": "^1.5.0", "react-native-otp-verify": "^1.1.6", "react-native-permissions": "^3.8.0", "react-native-phone-input": "^1.3.6", "react-native-phone-number-input": "^2.1.0", "react-native-progress": "^5.0.0", "react-native-pull-to-refresh": "^2.1.3", "react-native-push-notification": "^8.1.1", "react-native-quick-base64": "^2.0.6", "react-native-quick-crypto": "^0.6.1", "react-native-ratings": "^8.1.0", "react-native-reanimated": "3.1.0", "react-native-render-html": "^6.3.4", "react-native-responsive-dimensions": "^3.1.1", "react-native-router-flux-v2": "4.3.1", "react-native-rsa-native": "^2.0.5", "react-native-safe-area-context": "^4.5.3", "react-native-safe-area-view": "^1.1.1", "react-native-screens": "^3.20.0", "react-native-sensors": "^7.3.6", "react-native-simple-crypto": "^0.2.15", "react-native-simple-radio-button": "^2.7.4", "react-native-simple-toast": "^1.1.4", "react-native-slider": "^0.11.0", "react-native-snap-carousel": "^3.9.1", "react-native-sound-player": "^0.13.2", "react-native-splash-screen": "^3.3.0", "react-native-star-rating": "^1.1.0", "react-native-stopwatch-timer": "^0.0.21", "react-native-svg": "^13.9.0", "react-native-svg-charts": "^5.4.0", "react-native-swipe-up-down": "^1.2.0", "react-native-swipeable": "^0.6.0", "react-native-tabs": "^1.0.9", "react-native-touch-id": "^4.4.1", "react-native-url-polyfill": "^1.3.0", "react-native-vector-icons": "^9.2.0", "react-native-version-check": "^3.4.7", "react-native-video": "^5.2.1", "react-native-virgil-crypto": "^0.6.4", "react-native-webview": "^13.10.5", "react-native-youtube-iframe": "^2.2.2", "react-redux": "^8.1.1", "redux": "^4.2.1", "redux-thunk": "^2.4.2", "rn-fetch-blob": "0.13.0-beta.2", "socket.io-client": "^4.7.2", "stream": "^0.0.2", "styled-components": "^6.0.0-rc.3", "tslib": "^2.3.0", "uuid": "^9.0.0" }, "devDependencies": { "@nx/detox": "16.3.2", "@nx/eslint-plugin": "16.3.2", "@nx/jest": "16.3.2", "@nx/js": "16.3.2", "@nx/linter": "16.3.2", "@nx/react-native": "^19.6.0", "@nx/workspace": "16.3.2", "@react-native-community/cli": "10.2.2", "@react-native-community/cli-platform-android": "10.2.0", "@react-native-community/cli-platform-ios": "10.2.1", "@react-native/babel-preset": "0.74.0", "@react-native/eslint-config": "0.74.0", "@react-native/metro-config": "0.74.0", "@react-native/typescript-config": "0.74.0", "@sentry/cli": "^2.29.1", "@testing-library/jest-dom": "5.16.5", "@testing-library/jest-native": "5.4.2", "@testing-library/react-native": "12.1.2", "@types/jest": "^29.4.0", "@types/node": "18.14.4", "@types/react": "^18.2.6", "@types/react-native-snap-carousel": "^3.8.11", "@types/react-native-version-check": "^3.4.8", "@types/react-native-video": "^5.0.20", "@typescript-eslint/eslint-plugin": "^5.58.0", "@typescript-eslint/parser": "^5.58.0", "detox": "^20.9.0", "eslint": "~8.15.0", "eslint-config-prettier": "8.1.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-react": "7.32.2", "eslint-plugin-react-hooks": "4.6.0", "husky": "^8.0.3", "jest": "^29.6.3", "jest-circus": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "jest-react-native": "18.0.0", "metro": "0.80.9", "metro-resolver": "0.74.1", "nx": "^19.6.0", "nx-cloud": "latest", "prettier": "2.8.8", "pretty-quick": "^3.1.3", "react-native-svg-transformer": "1.0.0", "react-test-renderer": "18.2.0", "ts-jest": "^29.1.0", "ts-node": "10.9.1", "typescript": "5.0.4" }, "resolutions": { "browserify-sign": "4.2.2" } }

gowtham-clustrex commented 3 weeks ago

I am getting this error for both IOS and android [TypeError: Cannot read property 'generateKeyPairUsingSeed' of null]