Closed Htoomyat99 closed 1 year ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
scheme ninepay -destination id=F9517398-050F-4BD1-8714-FFEE9BCBD9AE") error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening ninepay.xcworkspace. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace ninepay.xcworkspace -configuration Debug -scheme ninepay -destination id=F9517398-050F-4BD1-8714-FFEE9BCBD9AE
My package.json { "name": "ninepay", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@craftzdog/react-native-buffer": "^6.0.5", "@react-native-community/clipboard": "^1.5.1", "@react-native-community/netinfo": "^8.2.0", "@react-native-firebase/app": "^14.11.0", "@react-native-firebase/messaging": "^14.11.0", "@react-native-masked-view/masked-view": "^0.2.6", "@react-navigation/bottom-tabs": "^6.5.3", "@react-navigation/native": "^6.1.2", "@react-navigation/native-stack": "^6.9.8", "@react-navigation/stack": "^6.3.11", "@twotalltotems/react-native-otp-input": "^1.3.11", "crypto-js": "^4.1.1", "deprecated-react-native-prop-types": "2.3.0", "form-data": "^4.0.0", "lottie-react-native": "^5.1.4", "moment": "^2.29.4", "react": "18.1.0", "react-native": "0.70.6", "react-native-action-sheet": "^2.2.0", "react-native-background-timer": "^2.4.1", "react-native-base64": "^0.2.1", "react-native-camera": "^4.2.1", "react-native-collapsible": "^1.6.0", "react-native-config": "^1.4.5", "react-native-contacts": "^7.0.4", "react-native-date-picker": "^4.2.0", "react-native-device-info": "^8.7.0", "react-native-dropdown-picker": "^5.3.0", "react-native-fingerprint-scanner": "^6.0.0", "react-native-gesture-handler": "2.8.0", "react-native-hash": "^3.0.0", "react-native-image-picker": "^4.7.3", "react-native-indicators": "^0.17.0", "react-native-iphone-x-helper": "^1.3.1", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-maps": "^1.3.0", "react-native-material-menu": "^2.0.0", "react-native-mmkv": "2.5.1", "react-native-permissions": "^3.3.0", "react-native-progress": "^5.0.0", "react-native-qrcode-scanner": "^1.5.5", "react-native-quick-crypto": "^0.5.0", "react-native-reanimated": "^2.14.4", "react-native-reanimated-carousel": "^3.3.0", "react-native-responsive-screen": "^1.4.2", "react-native-safe-area-context": "^4.5.0", "react-native-screens": "^3.18.2", "react-native-select-contact": "^1.6.3", "react-native-snap-carousel": "^1.3.1", "react-native-splash-screen": "^3.3.0", "react-native-svg": "^12.1.1", "react-native-swipe-list-view": "^3.2.9", "react-native-tip": "^0.0.18", "react-native-toast-message": "^2.1.1", "react-native-video": "^5.2.1", "react-native-video-controls": "^2.8.1", "react-query": "^3.39.2", "react-redux": "^7.2.6", "redux": "^4.1.2", "redux-thunk": "^2.4.0", "rn-qr-generator": "^1.2.0", "stream-browserify": "^3.0.0" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@react-native-community/eslint-config": "^2.0.0", "babel-jest": "^26.6.3", "babel-plugin-module-resolver": "^5.0.0", "eslint": "^7.32.0", "jest": "^26.6.3", "metro-react-native-babel-preset": "0.72.3", "react-test-renderer": "18.1.0" }, "jest": { "preset": "react-native" } }
my Podfile
require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.4' install! 'cocoapods', :deterministic_uuids => false
target 'ninepay' do config = use_native_modules!
flags = get_default_flags()
use_react_native!( :path => config[:reactNativePath],
# Upcoming versions of React Native may rely on get_default_flags(), but
# we make it explicit here to aid in the React Native upgrade process.
:hermes_enabled => true,
:fabric_enabled => flags[:fabric_enabled],
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => FlipperConfiguration.enabled,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'ninepayTests' do inherit! :complete
end
post_install do |installer| react_native_post_install( installer,
mac_catalyst_enabled
to true
in order to apply patches # necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end end
My podfile.lock
PODS:
DEPENDENCIES:
../node_modules/react-native/third-party-podspecs/boost.podspec
)../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
)../node_modules/react-native/Libraries/FBLazyVector
)../node_modules/react-native/React/FBReactNativeSpec
)../node_modules/react-native/third-party-podspecs/glog.podspec
)../node_modules/react-native/sdks/hermes/hermes-engine.podspec
)../node_modules/lottie-react-native
)../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
)../node_modules/react-native/Libraries/RCTRequired
)../node_modules/react-native/Libraries/TypeSafety
)../node_modules/react-native/
)../node_modules/react-native/ReactCommon
)../node_modules/react-native/ReactCommon/callinvoker
)build/generated/ios
)../node_modules/react-native/
)../node_modules/react-native/
)../node_modules/react-native/
)../node_modules/react-native/React/CoreModules
)../node_modules/react-native/ReactCommon/cxxreact
)../node_modules/react-native/ReactCommon/hermes
)../node_modules/react-native/ReactCommon/jsi
)../node_modules/react-native/ReactCommon/jsiexecutor
)../node_modules/react-native/ReactCommon/jsinspector
)../node_modules/react-native/ReactCommon/logger
)../node_modules/react-native-background-timer
)../node_modules/react-native-camera
)../node_modules/react-native-config
)../node_modules/react-native-contacts
)../node_modules/react-native-date-picker
)../node_modules/react-native-fingerprint-scanner
)../node_modules/react-native-hash
)../node_modules/react-native-image-picker
)../node_modules/react-native-maps
)../node_modules/react-native-mmkv
)../node_modules/@react-native-community/netinfo
)"../node_modules/react-native-quick-crypto
)../node_modules/react-native-safe-area-context
)../node_modules/react-native-select-contact
)../node_modules/react-native-splash-screen
)../node_modules/react-native-video
)../node_modules/react-native/ReactCommon/reactperflogger
)../node_modules/react-native/Libraries/ActionSheetIOS
)../node_modules/react-native/Libraries/NativeAnimation
)../node_modules/react-native/Libraries/Blob
)../node_modules/react-native/Libraries/Image
)../node_modules/react-native/Libraries/LinkingIOS
)../node_modules/react-native/Libraries/Network
)../node_modules/react-native/Libraries/Settings
)../node_modules/react-native/Libraries/Text
)../node_modules/react-native/Libraries/Vibration
)../node_modules/react-native/ReactCommon/runtimeexecutor
)../node_modules/react-native/ReactCommon
)../node_modules/@react-native-community/clipboard
)"../node_modules/@react-native-masked-view/masked-view
)"../node_modules/react-native-device-info
)../node_modules/@react-native-firebase/app
)"../node_modules/@react-native-firebase/messaging
)"../node_modules/react-native-gesture-handler
)../node_modules/react-native-permissions
)../node_modules/rn-qr-generator
)../node_modules/react-native-reanimated
)../node_modules/react-native-screens
)../node_modules/react-native-svg
)../node_modules/react-native/ReactCommon/yoga
)SPEC REPOS: trunk:
EXTERNAL SOURCES: boost: :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" DoubleConversion: :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" FBLazyVector: :path: "../node_modules/react-native/Libraries/FBLazyVector" FBReactNativeSpec: :path: "../node_modules/react-native/React/FBReactNativeSpec" glog: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" hermes-engine: :podspec: "../node_modules/react-native/sdks/hermes/hermes-engine.podspec" lottie-react-native: :path: "../node_modules/lottie-react-native" RCT-Folly: :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" RCTRequired: :path: "../node_modules/react-native/Libraries/RCTRequired" RCTTypeSafety: :path: "../node_modules/react-native/Libraries/TypeSafety" React: :path: "../node_modules/react-native/" React-bridging: :path: "../node_modules/react-native/ReactCommon" React-callinvoker: :path: "../node_modules/react-native/ReactCommon/callinvoker" React-Codegen: :path: build/generated/ios React-Core: :path: "../node_modules/react-native/" React-CoreModules: :path: "../node_modules/react-native/React/CoreModules" React-cxxreact: :path: "../node_modules/react-native/ReactCommon/cxxreact" React-hermes: :path: "../node_modules/react-native/ReactCommon/hermes" React-jsi: :path: "../node_modules/react-native/ReactCommon/jsi" React-jsiexecutor: :path: "../node_modules/react-native/ReactCommon/jsiexecutor" React-jsinspector: :path: "../node_modules/react-native/ReactCommon/jsinspector" React-logger: :path: "../node_modules/react-native/ReactCommon/logger" react-native-background-timer: :path: "../node_modules/react-native-background-timer" react-native-camera: :path: "../node_modules/react-native-camera" react-native-config: :path: "../node_modules/react-native-config" react-native-contacts: :path: "../node_modules/react-native-contacts" react-native-date-picker: :path: "../node_modules/react-native-date-picker" react-native-fingerprint-scanner: :path: "../node_modules/react-native-fingerprint-scanner" react-native-hash: :path: "../node_modules/react-native-hash" react-native-image-picker: :path: "../node_modules/react-native-image-picker" react-native-maps: :path: "../node_modules/react-native-maps" react-native-mmkv: :path: "../node_modules/react-native-mmkv" react-native-netinfo: :path: "../node_modules/@react-native-community/netinfo" react-native-quick-crypto: :path: "../node_modules/react-native-quick-crypto" react-native-safe-area-context: :path: "../node_modules/react-native-safe-area-context" react-native-select-contact: :path: "../node_modules/react-native-select-contact" react-native-splash-screen: :path: "../node_modules/react-native-splash-screen" react-native-video: :path: "../node_modules/react-native-video" React-perflogger: :path: "../node_modules/react-native/ReactCommon/reactperflogger" React-RCTActionSheet: :path: "../node_modules/react-native/Libraries/ActionSheetIOS" React-RCTAnimation: :path: "../node_modules/react-native/Libraries/NativeAnimation" React-RCTBlob: :path: "../node_modules/react-native/Libraries/Blob" React-RCTImage: :path: "../node_modules/react-native/Libraries/Image" React-RCTLinking: :path: "../node_modules/react-native/Libraries/LinkingIOS" React-RCTNetwork: :path: "../node_modules/react-native/Libraries/Network" React-RCTSettings: :path: "../node_modules/react-native/Libraries/Settings" React-RCTText: :path: "../node_modules/react-native/Libraries/Text" React-RCTVibration: :path: "../node_modules/react-native/Libraries/Vibration" React-runtimeexecutor: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: :path: "../node_modules/react-native/ReactCommon" RNCClipboard: :path: "../node_modules/@react-native-community/clipboard" RNCMaskedView: :path: "../node_modules/@react-native-masked-view/masked-view" RNDeviceInfo: :path: "../node_modules/react-native-device-info" RNFBApp: :path: "../node_modules/@react-native-firebase/app" RNFBMessaging: :path: "../node_modules/@react-native-firebase/messaging" RNGestureHandler: :path: "../node_modules/react-native-gesture-handler" RNPermissions: :path: "../node_modules/react-native-permissions" RNQrGenerator: :path: "../node_modules/rn-qr-generator" RNReanimated: :path: "../node_modules/react-native-reanimated" RNScreens: :path: "../node_modules/react-native-screens" RNSVG: :path: "../node_modules/react-native-svg" Yoga: :path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS: boost: a7c83b31436843459a1961bfd74b96033dc77234 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: 48289402952f4f7a4e235de70a9a590aa0b79ef4 FBReactNativeSpec: dd1186fd05255e3457baa2f4ca65e94c2cd1e3ac Firebase: 5f8193dff4b5b7c5d5ef72ae54bb76c08e2b841d FirebaseCore: 5743c5785c074a794d35f2fff7ecc254a91e08b1 FirebaseCoreDiagnostics: 92e07a649aeb66352b319d43bdd2ee3942af84cb FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd FirebaseMessaging: 5e5118a2383b3531e730d974680954c679ca0a13 Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0 Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30 Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3 Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446 Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9 Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541 FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b GoogleDataTransport: ea169759df570f4e37bdee1623ec32a7e64e67c4 GoogleUtilities: c2bdc4cf2ce786c4d2e6b3bcfd599a25ca78f06f hermes-engine: 2af7b7a59128f250adfd86f15aa1d5a2ecd39995 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 lottie-ios: 8f97d3271e155c2d688875c29cd3c74908aef5f8 lottie-react-native: b702fab740cdb952a8e2354713d3beda63ff97b0 MMKV: 7f34558bbb5a33b0eaefae2de4b6a20a2ffdad6f MMKVCore: ddf41b9d9262f058419f9ba7598719af56c02cd3 nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96 OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda RCTRequired: e1866f61af7049eb3d8e08e8b133abd38bc1ca7a RCTTypeSafety: 27c2ac1b00609a432ced1ae701247593f07f901e React: bb3e06418d2cc48a84f9666a576c7b38e89cd7db React-bridging: 572502ec59c9de30309afdc4932e278214288913 React-callinvoker: 6b708b79c69f3359d42f1abb4663f620dbd4dadf React-Codegen: 74e1cd7cee692a8b983c18df3274b5e749de07c8 React-Core: b587d0a624f9611b0e032505f3d6f25e8daa2bee React-CoreModules: c6ff48b985e7aa622e82ca51c2c353c7803eb04e React-cxxreact: ade3d9e63c599afdead3c35f8a8bd12b3da6730b React-hermes: ed09ae33512bbb8d31b2411778f3af1a2eb681a1 React-jsi: 5a3952e0c6d57460ad9ee2c905025b4c28f71087 React-jsiexecutor: b4a65947391c658450151275aa406f2b8263178f React-jsinspector: 60769e5a0a6d4b32294a2456077f59d0266f9a8b React-logger: 1623c216abaa88974afce404dc8f479406bbc3a0 react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe react-native-camera: 3eae183c1d111103963f3dd913b65d01aef8110f react-native-config: 6502b1879f97ed5ac570a029961fc35ea606cd14 react-native-contacts: 1bff4c47816d611f26b06fa8b3eaf2db4d1b2c86 react-native-date-picker: d83ab9cccbc497642a93fdca783ae76ecd6b17b6 react-native-fingerprint-scanner: ac6656f18c8e45a7459302b84da41a44ad96dbbe react-native-hash: 4489726b1495385925f351349fcf7cb0dd5a2c73 react-native-image-picker: 4e6008ad8c2321622affa2c85432a5ebd02d480c react-native-maps: ca4946228cb514d8f2bca95e0482753b4edde100 react-native-mmkv: 69b9c003f10afdd01addf7c6ee784ce42ee2eff3 react-native-netinfo: e922cb2e3eaf9ccdf16b8d4744a89657377aa4a1 react-native-quick-crypto: a903ff39ac8fea78bb9d37cccc5cc0596afc9670 react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc react-native-select-contact: f88ccd9dbee6c4d1c32507291b431cf558a2ed42 react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457 react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253 React-perflogger: 8c79399b0500a30ee8152d0f9f11beae7fc36595 React-RCTActionSheet: 7316773acabb374642b926c19aef1c115df5c466 React-RCTAnimation: 5341e288375451297057391227f691d9b2326c3d React-RCTBlob: b0615fc2daf2b5684ade8fadcab659f16f6f0efa React-RCTImage: 6487b9600f268ecedcaa86114d97954d31ad4750 React-RCTLinking: c8018ae9ebfefcec3839d690d4725f8d15e4e4b3 React-RCTNetwork: 8aa63578741e0fe1205c28d7d4b40dbfdabce8a8 React-RCTSettings: d00c15ad369cd62242a4dfcc6f277912b4a84ed3 React-RCTText: f532e5ca52681ecaecea452b3ad7a5b630f50d75 React-RCTVibration: c75ceef7aa60a33b2d5731ebe5800ddde40cefc4 React-runtimeexecutor: 15437b576139df27635400de0599d9844f1ab817 ReactCommon: 349be31adeecffc7986a0de875d7fb0dcf4e251c RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495 RNCMaskedView: c298b644a10c0c142055b3ae24d83879ecb13ccd RNDeviceInfo: 36286df381fcaf1933ff9d2d3c34ba2abeb2d8d8 RNFBApp: e4439717c23252458da2b41b81b4b475c86f90c4 RNFBMessaging: 40dac204b4197a2661dec5be964780c6ec39bf65 RNGestureHandler: 62232ba8f562f7dea5ba1b3383494eb5bf97a4d3 RNPermissions: bcd846e8f5a7f39e921cc7ca7172e2de0e698b6f RNQrGenerator: 34beaf1996de4a2f2122c7019dccd1717b22d8d7 RNReanimated: 6668b0587bebd4b15dd849b99e5a9c70fc12ed95 RNScreens: ea4cd3a853063cda19a4e3c28d2e52180c80f4eb RNSVG: 6adc5c52d2488a476248413064b7f2832e639057 SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608 Yoga: 99caf8d5ab45e9d637ee6e0174ec16fbbb01bcfc YogaKit: f782866e155069a2cca2517aafea43200b01fd5a ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb
PODFILE CHECKSUM: b6d5ba2a8cb201790b7cd185884a603cc24aadae
COCOAPODS: 1.11.3
react-native-screens
issues along with additional information I asked above. delete your yarn.lock / package.lock.json file
Delete:
root: rm -rf ~/Library/Developer/Xcode/DerivedData/*
Run:
and check! works for me!
Description
/Users/htoomyatlwin/Nine_complex_Projects/ninepay_mobile/ios/Pods/Headers/Private/React-Codegen/react/renderer/components/rnscreens/EventEmitters.h:12:10 'react/renderer/components/view/ViewEventEmitter.h' file not found. I don't have view in my react/renderer/components folders.
Steps to reproduce
CompileC /Users/htoomyatlwin/Library/Developer/Xcode/DerivedData/ninepay-hkwsijysxoxecmeonmzfeyyexdkg/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Objects-normal/arm64/ShadowNodes-e08a88b00b72f006b04670c2d4fe3d36.o /Users/htoomyatlwin/Nine_complex_Projects/ninepay_mobile/ios/build/generated/ios/react/renderer/components/rnscreens/ShadowNodes.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-Codegen' from project 'Pods') (1 failure)
Snack or a link to a repository
https://stackoverflow.com/help/mcve
Reanimated version
2.14.4
React Native version
0.70.6
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
ios 16.2
Acknowledgements
Yes