New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cocopods 1.15.0, Error!! #12225
Comments
I have exactly the same problem after updating cocoapods |
I hope to update 1.15.1 soon. I urgently need it to solve the problem that occurred in Xcode Cloud. Thank you for your hard work. I have no problem using ‘’sudo pod install --allow-root‘’ on Mac, but the use of ‘’sudo‘’ is prohibited in Xcode Cloud. |
I installed Cocopods on Mac with the specified version 1.14.2 and there was no problem: |
If you have a Gemfile and CI is running fastlane (call the "bundle update" and "bundle install" command before starting the build processes), you can specify a version like,
I installed cocoapods 1.14.3 on my system (macbook pro m1 max) after upgrading to 1.15.0, like this:
or
P.S. this solution for arm64 mac (m1,m2,m3 etc.) |
I think, you can use this article and my solution to switch Xcod-Cloud on 1.14.3 cocoapods |
Closed in favor of duplicate #12226 |
Command
Report
Stack
Plugins
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`
# ```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 'lifesongs' 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 'lifesongsTests' 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
|
I love you |
qinshijian@Bililiooos-MBP ArtiFusion % pod install
Analyzing dependencies
Downloading dependencies
Installing Ads-Global (5.4.0.9)
Installing Alamofire (5.8.1)
Installing AppLovinSDK (11.11.3)
Installing AppsFlyer-AdRevenue (6.9.1)
Installing AppsFlyerFramework (6.12.2)
Installing BURelyFoundation_Global (0.1.2.5)
[!] Error installing BURelyFoundation_Global
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
Plugins
Podfile
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=Permission+denied+%40+rb_sysopen+-+%2FUsers%2Fqinshijian%2FLibrary%2FCaches%2FCocoaPods%2FPods%2FRelease%2FBURelyFoundation_Global%2F0.1.2.5-cd9e0%2FFrameworks%2FSDK%2FBURelyFoundationGlobalFoundation%2FBURelyFoundationGlobalFoundation.xcframework%2Fios-arm64_armv7%2FHeaders%2FNSArray%2BPAGUtilities.h&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Searching for inspections failed: undefined method `map' for nil
why?
The text was updated successfully, but these errors were encountered: