react-native: CocoaPods 1.15.0 : `File exists @ syserr_fail2_in` Error - Workaround available
Description
This is brand new install following the RN development guide. The error code is not giving a lot of context even with verbose flag.
Steps to reproduce
cd ios
bundle install
bundle exec pod install --verbose
React Native Version
0.73.2
Affected Platforms
Build - MacOS
Output of npx react-native info
System:
OS: macOS 14.2.1
CPU: (8) arm64 Apple M1 Pro
Memory: 521.81 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.18.2
path: ~/.nvm/versions/node/v18.18.2/bin/node
Yarn:
version: 1.22.21
path: ~/.nvm/versions/node/v18.18.2/bin/yarn
npm:
version: 9.8.1
path: ~/.nvm/versions/node/v18.18.2/bin/npm
Watchman: Not Found
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 21.0.2
path: /opt/homebrew/opt/openjdk/bin/javac
Ruby:
version: 3.2.1
path: /Users/nikodraca/.rvm/rubies/ruby-3.2.1/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.2
wanted: 0.73.2
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
Stacktrace or Logs
/.../vendor/bundle/ruby/3.2.0/bin/pod install
Stack
CocoaPods : 1.15.0
Ruby : ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin23]
RubyGems : 3.4.6
Host : macOS 14.2.1 (23C71)
Xcode : 15.2 (15C500b)
Git : git version 2.39.3 (Apple Git-145)
Ruby lib dir : /Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
Plugins
cocoapods-deintegrate : 1.0.5
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.1
cocoapods-trunk : 1.6.0
cocoapods-try : 1.2.0
Podfile
# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', __dir__]).strip
platform :ios, min_ios_version_supported
prepare_react_native_project!
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
#
# module.exports = {
# dependencies: {
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
end
target 'fitcheq' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'fitcheqTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
end
end
Error
Errno::EEXIST - File exists @ syserr_fail2_in - /Users/nikodraca/Library/Caches/CocoaPods/Pods/External/hermes-engine/6ef44e4a609ea85b35328bf8b605bebb-b361c/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64_x86_64-maccatalyst/hermes.framework/Resources
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2266:in `symlink'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2266:in `copy'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:1058:in `block in copy_entry'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2397:in `wrap_traverse'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2400:in `block in wrap_traverse'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2399:in `each'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2399:in `wrap_traverse'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:1055:in `copy_entry'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:1000:in `block in cp_r'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2481:in `block in fu_each_src_dest'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2490:in `block in fu_each_src_dest0'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2488:in `each'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2488:in `fu_each_src_dest0'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:2479:in `fu_each_src_dest'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/fileutils.rb:999:in `cp_r'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:343:in `block (2 levels) in copy_files'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:341:in `each'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:341:in `block in copy_files'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:128:in `lock'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:99:in `write_lock'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:332:in `copy_files'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:269:in `block (2 levels) in uncached_pod'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:265:in `each'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:265:in `block in uncached_pod'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:291:in `in_tmpdir'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:238:in `uncached_pod'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader.rb:42:in `download'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer/pod_source_downloader.rb:69:in `download!'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer/pod_source_installer.rb:117:in `download_source'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer/pod_source_installer.rb:67:in `install!'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:621:in `install_source_of_pod'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:539:in `block (2 levels) in install_pod_sources'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/user_interface.rb:86:in `titled_section'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:538:in `block in install_pod_sources'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:535:in `each'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:535:in `install_pod_sources'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:258:in `block in download_dependencies'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/user_interface.rb:64:in `section'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:257:in `download_dependencies'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:163:in `install!'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/command/install.rb:52:in `run'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/lib/cocoapods/command.rb:52:in `run'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.15.0/bin/pod:55:in `<top (required)>'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/bin/pod:25:in `load'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/bin/pod:25:in `<top (required)>'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/Users/nikodraca/Documents/Projects/fitcheq/vendor/bundle/ruby/3.2.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/bin/bundle:25:in `load'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/bin/bundle:25:in `<main>'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/bin/ruby_executable_hooks:22:in `eval'
/Users/nikodraca/.rvm/rubies/ruby-3.2.1/bin/ruby_executable_hooks:22:in `<main>'
Reproducer
https://github.com/nikodraca/fitcheq
Screenshots and Videos
No response
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Reactions: 52
- Comments: 48 (8 by maintainers)
Commits related to this issue
- Cocoapods 1.15 current breaks the build Summary: Users aren't able to build (#42698). We're restricting the version to known good version of Cocoapods until the next release. Changelog: [iOS][Fixed]... — committed to facebook/react-native by blakef 5 months ago
- Cocoapods 1.15 current breaks the build Summary: Users aren't able to build (#42698). We're restricting the version to known good version of Cocoapods until the next release. Changelog: [iOS][Fixed]... — committed to facebook/react-native by blakef 5 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to facebook/react-native by blakef 5 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to facebook/react-native by blakef 5 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to facebook/react-native by blakef 5 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to facebook/react-native by hurali97 5 months ago
- fix: print error message for CocoaPods 1.15.0 CocoaPods 1.15.0 is not compatible with React Native; for details and workaround, see https://github.com/facebook/react-native/issues/42698 — committed to microsoft/react-native-test-app by tido64 5 months ago
- fix: print error message for CocoaPods 1.15.0 (#1804) CocoaPods 1.15.0 is not compatible with React Native; for details and workaround, see https://github.com/facebook/react-native/issues/42698 — committed to microsoft/react-native-test-app by tido64 5 months ago
- [ci] Pin cocoapods to version 1.14.3 in nightly workflow (#26835) # Why Cocoapods released version 1.15.0 a few days ago and ended up breaking react-native pod install https://github.com/faceboo... — committed to expo/expo by gabrieldonadel 5 months ago
- fix(ios): fix error on ci due to errno::EEXIST - File exists @ syserr_fail2_in The reason for the issue seems to be a bug in cocoapods < 15.2 See https://github.com/facebook/react-native/issues/42698 — committed to apivideo/api.video-reactnative-uploader by ThibaultBee 5 months ago
- fix: Update React Native to 0.73.4, change Cocoapods version (#2032) ## Description Because of the bug with Cocoapods, our CIs are failing on the cached dependencies. This issue has been fixed in... — committed to software-mansion/react-native-screens by tboba 4 months ago
- fix(ios): fix error on ci due to errno::EEXIST - File exists @ syserr_fail2_in The reason for the issue seems to be a bug in cocoapods < 15.2 See https://github.com/facebook/react-native/issues/42698 — committed to apivideo/api.video-reactnative-live-stream by ThibaultBee 4 months ago
- Fix cocoapods 1.15.0 issue See https://github.com/facebook/react-native/issues/42698 — committed to authgear/authgear-sdk-js by louischan-oursky 4 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to blakef/template by blakef 5 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to react-native-community/template by blakef 5 months ago
- Avoid using Cocoapods 1.15 until it fixes an issue affection RN. (#42702) Summary: Cocoapods 1.15 (https://github.com/facebook/react-native/issues/42698) current breaks the build, limit to version >=... — committed to react-native-community/template by blakef 5 months ago
- Use Cocoapods 1.15.2 which fixes #42698 Summary: Previously we had to limit (#42702) Cocoapods to avoid a broken version, this is no longer the case. Changelog: [iOS][Changed] - Remove limit on Coco... — committed to blakef/react-native by blakef 2 months ago
- Use Cocoapods 1.15.2 which fixes #42698 (#44143) Summary: Previously we had to limit (#42702) Cocoapods to avoid a broken version, this is no longer the case. Changelog: [iOS][Changed] - Remove lim... — committed to blakef/react-native by blakef 2 months ago
I’m seeing this only happen when using CocoaPods 1.15.0, which was released 7 hours ago. Using CocoaPods 1.14 works without error for me.
It appears the stack traces posted here are all using 1.15.0 as well.
As a workaround, you could pin the CocoaPods version to the last stable release for 1.14 until it gets resolved for 1.15. For gem:
Or using brew (brew doesn’t have version pinning for cocoapods):
Indeed, looks like 1.15.2 has the fix https://github.com/CocoaPods/CocoaPods/commit/f4097d1ad4f47f96bbcbe82f7d6b8e4ad8762171
I’d like to report the same issue with additional info.
I’ve tried:
rm -rf /Users/user/Library/Caches/CocoaPods/Pods/External/hermes-engine/
All yielded the same result.
Here is my setup,
Command
Stack
Plugins
@glennweb I had the same problem with AppCenter builds. I solved it by creating a file named ‘appcenter-pre-build.sh’ in the root project folder.
Its contents are like this:
@A320Peter @DutchPrince Please run
pod --version
in the root of your project and ensure you are using1.14.3
. If you are:cd ios
and runpod install
. This should work properly unless there’s something else at play. Thencd ..
and runexpo run:ios --no-install
, the--no-install
flag will skip the failing step you’re reporting (Expo CLI docs for more info).Thanks for your help @allynsweet! It does work now. The way I did it is the following on M2 macbook with Brew:
brew unlink cocoapods
. Then I used the script you mentioned above to install the1.14.3
:At this point it’s still the
1.15
. I usedbrew uninstall cocoapods
to get rid of the current version and thenbrew link cocoapods
to link it to1.14.3
which was installed previously.I deleted the
ios
andnode_modules
folders. From the project directory I usednpm install
and thennpx expo run:ios --no-install
just to generate theios
folder again. Then following your stepspod install
in theios
folder,cd ..
and run the expo again with--no-install
flag.amazing, thank you very much, downgrading to 1.14 solved my problem.
gem install cocoapods -v 1.14.3
@cipolleschi Would it make sense to revert or update #42702 | 3869ae4d80d1da8c4e3fe7449f2926c5e1575beb
Running
pnpm expo prebuild --platform ios
on GitHub Actions (runs-on: macos-12
), we had to uninstall CocoaPods and install the fixed version 1.15.2 in a previous step:FYI CocoaPods 1.15.1 is now out which is meant to fix this issue: https://github.com/CocoaPods/CocoaPods/releases/tag/1.15.1
@taylorkline no, I don’t think it is worth.
The reason is the following:
So, to avoid ruptures in anyone workflows, it is much safer to keep the limitation in place to avoid issues.
You can always customise your Gemfile to pin Cocoapods to 1.15.2, if that’s what your team prefer! 😄
Closing the issue as Cocoapods 15.2 fixes it.
Can confirm as well that 1.15.1 was still giving issues, but 1.15.2 fixed it for me as well.
cd ios && bundle install && bundle exec pod install
I was 100% same with you(three pictures below are proof)
And now I solve like this way
Our only problem was cocoapods 1.1.15. Just Downgrade it! I think many feel the same way like this. I hope this works for you🥹
hi there! we do not ship a Gemfile in our template, so if you have added one to your project then you can modify the CocoaPods version in it to use 1.14.3. if you have installed CocoaPods directly via
gem install
orbrew
, uninstall it and reinstall 1.14.3 or whichever you were using most recently for your project.For any Expo users out here. Expo does not include a
Gemfile
file on its default template and thus you don’t need to change anything on your project. The only thing that you need to do for now is to downgrade the cocoapods version on your computer.e.g.
gem install cocoapods -v 1.14.3
I already tried to downgrade cocopods as @allynsweet mentioned. But it turns out that it still using the 1.15 cocopads, does anyone know how to solve it?
error info
Same. Downgrading to 1.14 worked for me as well.
I had this issue and downgrading cocoapods did work for me too
for xcode cloud
curl https://raw.githubusercontent.com/Homebrew/homebrew-core/1364b74ebeedb2eab300d62c99e12f2a6f344277/Formula/c/cocoapods.rb > cocoapods.rb brew install cocoapods.rb
solved the problem
+1 Same issue here when using expo
@Louis-C7 @A320Peter It’s hard to be sure without seeing more info, but check your Gemfile in the root of your project, does it say
gem 'cocoapods', '1.15.0'
?If so, change this to read
gem 'cocoapods', '1.14.3'
and try again.