Comments (11)
@dfsfyt, it seems that you're using cocoapods
versions 1.15.2
.
This is Gemfile
from 0.73.6
versions of react-native
:
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
# bound in the template on Cocoapods with next React Native release.
gem 'cocoapods', '>= 1.13', '< 1.15'
Please, try using cocoapods
below 1.15
.
from react-native.
i still getting this issue even with react-native 0.73.6
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/aaaaa/Library/Developer/Xcode/DerivedData/aaa-aojxrcyogtlcdqbbahkazvblxzhl/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/React-rncore.build/Script-46EB2E00031A00.sh (in target 'React-rncore' from project 'Pods')
(1 failure)
my gemfil
source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 3.3.0"
gem 'cocoapods', '~> 1.15.2'
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'
gem "fastlane"
any fix please ? i'm stuck since 2 days,
thanks
from react-native.
@dfsfyt, it seems that you're using
cocoapods
versions1.15.2
.This is
Gemfile
from0.73.6
versions ofreact-native
:# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper # bound in the template on Cocoapods with next React Native release. gem 'cocoapods', '>= 1.13', '< 1.15'
Please, try using
cocoapods
below1.15
.
I tried use cocoapods below 1.15, It doesn't work
from react-native.
i still getting this issue even with react-native 0.73.6
The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/aaaaa/Library/Developer/Xcode/DerivedData/aaa-aojxrcyogtlcdqbbahkazvblxzhl/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/React-rncore.build/Script-46EB2E00031A00.sh (in target 'React-rncore' from project 'Pods') (1 failure)
my gemfil
source 'https://rubygems.org' # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version ruby ">= 3.3.0" gem 'cocoapods', '~> 1.15.2' gem 'activesupport', '>= 6.1.7.3', '< 7.1.0' gem "fastlane"
any fix please ? i'm stuck since 2 days, thanks
haven't fixed yet, crazy!!!
from react-native.
i have same issue with my project
System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M1 Max
Memory: 1.55 GB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.11.1
path: ~/.nvm/versions/node/v20.11.1/bin/node
Yarn:
version: 1.22.19
path: ~/.nvm/versions/node/v20.11.1/bin/yarn
npm:
version: 10.2.4
path: ~/.nvm/versions/node/v20.11.1/bin/npm
Watchman:
version: 2024.01.22.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.2
path: /Users/boo/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK:
API Levels:
- "31"
- "33"
- "33"
- "34"
Build Tools:
- 30.0.3
- 33.0.0
- 33.0.1
- 33.0.2
- 34.0.0
- 34.0.0
System Images:
- android-33 | Google Play ARM 64 v8a
- android-UpsideDownCake | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.3
path: /Users/boo/.sdkman/candidates/java/current/bin/javac
Ruby:
version: 3.0.0
path: /Users/boo/.rvm/rubies/ruby-3.0.0/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.6
wanted: 0.73.6
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
from react-native.
I've the same issue too, I've tried to reinstall node, watchman, update ruby to newer version compared to the 2.6 coming originally with MacOs, trying cocoapods below v1.15 and so on; dealing with that since many days
System:
OS: macOS 14.4.1
CPU: (11) arm64 Apple M3 Pro
Memory: 691.63 MB / 18.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.11.1
path: /usr/local/bin/node
Yarn: Not Found
npm:
version: 10.2.4
path: /usr/local/bin/npm
Watchman:
version: 2024.04.08.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.14.3
path: /Users/usuario/.rvm/gems/ruby-3.2.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK:
API Levels:
- "34"
Build Tools:
- 30.0.3
- 34.0.0
System Images:
- android-34 | Google APIs ARM 64 v8a
- android-34 | Google APIs Intel x86_64 Atom
- android-TiramisuPrivacySandbox | Google APIs ARM 64 v8a
- android-TiramisuPrivacySandbox | Google APIs Intel x86_64 Atom
- android-VanillaIceCream | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2023.2 AI-232.10227.8.2321.11479570
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 3.2.0
path: /Users/usuario/.rvm/rubies/ruby-3.2.0/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.6
wanted: 0.73.6
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
from react-native.
What have worked for me is checking if ruby version is for arm64, if you've it on x86_64, this config is just for Intel chips, ain't not working for M1-M3. Also, check the parent folder containing your initial project to not have spaces. Regards!
from react-native.
What have worked for me is checking if ruby version is for arm64, if you've it on x86_64, this config is just for Intel chips, ain't not working for M1-M3. Also, check the parent folder containing your initial project to not have spaces. Regards!
how to check this please ?
if i reclone my repo app start on Iphone, but i don't understand why ; after creating some branches or pulling ones or switching to android and running it, i get this error after
EDIT
> ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
> which ruby
/opt/homebrew/opt/ruby/bin/ruby
so i guess it's for arm64, and my folder name doesn't include and space . stuck with this error since one month :(
from react-native.
what worked for me :
in files
./ios/.xcode.env
./ios/.xcode.env.local
put export NODE_BINARY=$(command -v node)
from react-native.
Same here, nothing worked above
from react-native.
Removing node
and installing back by nvm
helped me to pass through this issue as described below:
#32984 (comment)
(Don't forget to remove node_modules
and package-lock.json
and rebuild the packs by npm install
afterwards.)
I had to fix Flipper error afterwards where I used:
facebook/flipper#4457 (comment)
🤦🏻♂️ What a mess
from react-native.
Related Issues (20)
- Yarn android HOT 3
- npx [email protected] init cammnd installs the lattest version of react-native HOT 5
- android onScrollEndDrag throttled by scrollEventThrottle HOT 1
- [iOS] VoiceOver reads the placeholder in TextInput HOT 3
- List<ReactPackage> packages = new PackageList(this).getPackages(); [ANDROID] HOT 3
- Experimental debugger does not work on 0.74 with bridgeless on iOS
- [0.74.0] stress reloading leads to broken state on android bridgeless
- onPress work one time only HOT 3
- TypeError: Cannot create property 'lastUpdateCheck' on string 'lastUpdateCheck 1713956001921 nodeLinker node-modules ces nodeLinker node-modules' HOT 4
- Crash - malloc: Heap corruption detected, free list is damaged HOT 2
- [0.74.0] AppState module has an error on android HOT 11
- Emiting Events from Android in New Arch + Bridgeless + interop layer HOT 4
- react native reanimated erro in 0.74 HOT 4
- [0.74] AppRegistry.registerComponent cannot show in a new ReactRooView HOT 1
- use turboModule in app not as a libray in node_modules folder work fail, js file can not find the turboModule HOT 2
- libgojni.so MTE crash (memory unsafe code) HOT 4
- couldn't find DSO to load: libhermes.so SoSource 0: com.facebook.soloader.ApkSoSource HOT 3
- App State 0.74 in DEVELOPMENT HOT 3
- I compare 0.72.5 and 0.74.0 react native android app size,0.74.0 is 50MB,And 0.72.5 is 21.7 MB.How to reduce 0.74.0 android app size? HOT 3
- WebSocket on android works slower than on ios HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native.