Saturday, May 4, 2024
HomeiOS Developmentios - Unable to construct/archive react native app in Xcode

ios – Unable to construct/archive react native app in Xcode


I’ve a React Native app that works on Android and works within the iOS simulator when ran utilizing npm run ios and npm run ios -- --mode="Launch" nevertheless when making an attempt to run/construct inside Xcode I’m ging in circles with numerous construct errors.

Surroundings:
Xcode: 15.3
node: 21.7.1
pod: 1.15.2
React Native: 0.73.2

The present error I’m going through is:

/bin/bash: /Customers/user257599/Paperwork/[..]/[..]/ios/Pods/../../node_modules/react-native/ReactCommon/../scripts/xcode/with-environment.sh: Operation not permitted
Command PhaseScriptExecution failed with a nonzero exit code
  • I’ve no whitespaces in my folders
  • which node returns /choose/homebrew/bin/node and my .xcode.env.native config is: export NODE_BINARY="/choose/homebrew/bin/node"
  • I’ve tried clearing the construct information in xcode

I’m at a lack of what to try subsequent. I’m additionally utilizing a “mac in cloud” resolution so haven’t any admin entry



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments