I’ve been attempting to construct an ios app on my macbook professional M2 chip from final couple of days, however sadly i used to be not profitable in doing so, I’ve been getting errors which i’m not in a position to clear up. If anybody of you might assist me then it could be nice 👍 😄
- I’m utilizing Node.js v20.12.0
- Error that i’m getting is
The next construct instructions failed:
CompileC /Customers/check/Library/Developer/Xcode/DerivedData/billing-bdwqgkmjwzxwzibukdnkzpjstgkf/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/react-native-image-picker.construct/Objects-normal/arm64/ImagePickerManager.o /Customers/check/Desktop/Growth/Billi/node_modules/react-native-image-picker/ios/ImagePickerManager.mm regular arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in goal 'react-native-image-picker' from venture 'Pods')
(1 failure)
- My Atmosphere configuration is
System:
OS: macOS 14.4
CPU: (8) arm64 Apple M2
Reminiscence: 183.06 MB / 16.00 GB
Shell:
model: "5.9"
path: /bin/zsh
Binaries:
Node:
model: 20.12.0
path: ~/Library/pnpm/node
Yarn:
model: 1.22.22
path: ~/Library/pnpm/yarn
npm:
model: 10.5.0
path: ~/Library/pnpm/npm
Watchman: Not Discovered
Managers:
CocoaPods:
model: 1.15.2
path: /usr/native/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Discovered
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10406996
Xcode:
model: 15.0/15A240d
path: /usr/bin/xcodebuild
Languages:
Java:
model: 11.0.20
path: /usr/bin/javac
Ruby:
model: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Discovered
react:
put in: 18.2.0
wished: ^18.2.0
react-native:
put in: 0.72.6
wished: ^0.72.5
react-native-macos: Not Discovered
npmGlobalPackages:
"*react-native*": Not Discovered
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
{
"identify": "billing",
"model": "0.0.1",
"non-public": true,
"scripts": {
"android": "react-native run-android",
"ios": "cd ios && pod set up && cd .. && react-native run-ios --simulator 'iPhone SE (third era)'",
"begin": "react-native begin",
"launch": "cd android && ./gradlew clear&& ./gradlew assembleRelease",
"check": "jest",
"lint": "eslint .",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"@firebase/auth": "^1.3.0",
"@firebase/auth-types": "^0.12.0",
"@firebase/firestore": "^4.2.0",
"@react-native-async-storage/async-storage": "^1.19.3",
"@react-native-community/slider": "^4.4.3",
"@react-native-firebase/app": "^18.5.0",
"@react-native-firebase/auth": "^18.5.0",
"@react-native-firebase/firestore": "^18.5.0",
"@react-native-firebase/storage": "^18.5.0",
"@react-native-google-signin/google-signin": "7.2.2",
"@react-native-twitter-signin/twitter-signin": "^1.2.0",
"@react-navigation/drawer": "^6.6.4",
"@react-navigation/native": "^6.1.8",
"@react-navigation/stack": "^6.3.18",
"axios": "^1.5.1",
"firebase": "^10.4.0",
"second": "^2.29.4",
"react": "^18.2.0",
"react-is": "^18.2.0",
"react-native": "^0.72.5",
"react-native-dropdown-picker": "^5.4.6",
"react-native-fbsdk-next": "^12.1.1",
"react-native-gesture-handler": "^2.13.1",
"react-native-image-picker": "^7.0.0",
"react-native-inset-shadow": "^1.0.3",
"react-native-linear-gradient": "^2.8.3",
"react-native-media-controls": "^2.3.0",
"react-native-normalize": "^1.0.1",
"react-native-orientation-locker": "^1.6.0",
"react-native-progress": "^5.0.0",
"react-native-reanimated": "^3.5.4",
"react-native-safe-area-context": "^4.7.2",
"react-native-screens": "^3.25.0",
"react-native-shadow": "^1.2.2",
"react-native-slider": "^0.11.0",
"react-native-svg": "^13.14.0",
"react-native-svg-transformer": "^1.1.0",
"react-native-swiper-flatlist": "^3.2.3",
"react-native-timeline-flatlist": "^0.8.0",
"react-native-vector-icons": "^10.0.0",
"react-native-video": "^5.2.1",
"react-native-video-controls": "^2.8.1",
"react-native-video-player": "^0.14.0",
"react-native-webview": "^13.6.0",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.11",
"babel-jest": "^29.2.1",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.8",
"prettier": "^2.4.1",
"react-test-renderer": "18.2.0"
},
"jest": {
"preset": "react-native"
}
}
- I get error when i’m operating
pnpm ios