-
Notifications
You must be signed in to change notification settings - Fork 932
feat: install pods after upgrade #565
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
Merged
thymikee
merged 6 commits into
react-native-community:master
from
simka:feat/install-pods-after-upgrade
Aug 8, 2019
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
962f843
feat: install pods after upgrade
simka e57e841
fix: revert indentation changes to snapshots
simka 90edc60
fix: wrap `pod install` in try/catch block
simka 9388d74
fix: rephrase warning about manual pods installation
simka 3832e0f
chore: mock `process.platform` in tests
simka 5eb5975
fix: update snapshot
simka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we have an option to enable this for template configs - there's an issue with any custom templates that use pod specs where the template will fail to init because it could not find the pod specs (because a repo update is required)
See: invertase/react-native-firebase#2351
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
installPodschecks if the template has a Podfile, so it's gonna work in your template as wellThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strangely, this did not work for a react-native-firebase v6 user just now, in that they had stale cocoapods repo while the react-native-firebase v6 starter template was looking for some pretty recent pods, and pod install failed because pod update needed to run. A manual run of pod update for the user resolved it so I think somewhere in here is the root cause but I'm not sure what the interaction is.
I believe this is the template Podfile: https://github.com/invertase/react-native-firebase/blob/master/packages/template/project/ios/Podfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they're able to provide a repro, can you ask them to create a new issue about it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got a repro and logged it up here #752