Closed sk92129 closed 3 years ago
Hi @sk92129,
Can you please provide a link to a build and enable support access?
Additionally, can you provide your Podfile in a gist.github.com?
This is the link to the app on my “org” dashboard.
https://app.bitrise.io/app/d786536fcc79416a#/builds
this is the podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '10.0'
target 'eddie2' do config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
target 'eddie2Tests' do inherit! :complete
end
#
use_flipper! post_install do |installer| flipper_post_install(installer) end end
target 'eddie2-tvOS' do
target 'eddie2-tvOSTests' do inherit! :search_paths
end end
From: Luna Graysen notifications@github.com Reply-To: bitrise-steplib/steps-cocoapods-install reply@reply.github.com Date: Tuesday, December 1, 2020 at 9:15 AM To: bitrise-steplib/steps-cocoapods-install steps-cocoapods-install@noreply.github.com Cc: sk92129 sk92129@gmail.com, Mention mention@noreply.github.com Subject: Re: [bitrise-steplib/steps-cocoapods-install] build fails with podfile related to react native (#62)
Hi @sk92129https://github.com/sk92129,
Can you please provide a link to a build and enable support access?
Additionally, can you provide your Podfile in a gist.github.com?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/bitrise-steplib/steps-cocoapods-install/issues/62#issuecomment-736693988, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAM22VG4RDFE3NW26VV2BU3SSUQB7ANCNFSM4UGATUJQ.
Can you please enable support access?
@non-binary , I am having the same issue as @sk92129
I have enabled the Support user on my app: https://app.bitrise.io/app/c31c3ce97661f8d7#/builds
The podfile is https://gist.github.com/trisapeace/704ddf37266d445886734a8e0d5fe715
Thank you!
@sk92129 , I got around this issue by adding a script to my workflow before the "Run Cocoapods install" that simply calls npm install
. This created the /Users/vagrant/git/node_modules/react-native/scripts/react_native_pods.rb
file that it appears to be looking for.
Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.
To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 90 days, so I marked it as stale.
The community would appreciate if you could check if the issue still persists. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".
If no comment left within 21 days, this issue will be closed.
I'll close this issue as it doesn't seem to be relevant anymore. We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.
I am new to bitrise and this is my first project to build on bitrise.
I took care of the code signing portion and got past that. Now this podfile failure is happening. I am not sure what is causing this because the react-native app build works locally on my macbook.
[32;1m$ pod "1.9.1" "install" "--verbose"[0m
[!] Invalid
Podfile
file: cannot load such file -- /Users/vagrant/git/node_modules/react-native/scripts/react_native_pods.from /Users/vagrant/git/ios/Podfile:1
-------------------------------------------
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:301:in'
[31;1mCommand failed, error: exit status 1[0m
| |
+---+---------------------------------------------------------------+----------+
| [31;1mx[0m | [31;1mcocoapods-install@1 (exit code: 1)[0m | 1.7 min |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-cocoapods-install/issues |
| Source: https://github.com/bitrise-io/steps-cocoapods-install |
+---+---------------------------------------------------------------+----------+
rescue in block in from_ruby' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:295:in
block in from_ruby' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:50:ininstance_eval' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:50:in
initialize' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:293:innew' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:293:in
from_ruby' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/podfile.rb:259:infrom_file' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/config.rb:200:in
podfile' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:150:inverify_podfile_exists!' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command/install.rb:46:in
run' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:inrun' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:52:in
run' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/cocoapods-1.9.1/bin/pod:55:in<top (required)>' /Users/vagrant/.rbenv/versions/2.6.5/bin/pod:23:in
load' /Users/vagrant/.rbenv/versions/2.6.5/bin/pod:23:in `This is a sample react-native project but I was kicking the tires on bitrise to get a RN app fully configured on bitrise.
a0dae8386cd3f5f5.log