Skip to content
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

Feat(apple): Add cocoapods support #350

Merged
merged 35 commits into from
Jul 18, 2023
Merged

Conversation

brustolin
Copy link
Contributor

Added cocoapods support for the iOS wizard.

If the user has a Podfile, the wizard will add reference to Sentry with CocoaPod instead of SPM.

@github-actions
Copy link

github-actions bot commented Jul 11, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 238d0b7

src/apple/cocoapod.ts Outdated Show resolved Hide resolved
@kahest kahest mentioned this pull request Jul 11, 2023
src/apple/cocoapod.ts Outdated Show resolved Hide resolved
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from the wizard side!

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question about the --silent option. Apart from that LGTM.

src/apple/cocoapod.ts Outdated Show resolved Hide resolved
);

try {
await bash.execute("pod install --silent");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Why --silent? Don't we show that to the user? If there is a problem, the user doesn't get the error message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wizard has a nice UI, If I dont use --sillent, pod install will spill a lot of text and break the flow.

If it fails we suggest the user to run the command themself to figure it out whats happening, the project will be already setup anyway. No need to run wizard again.

src/apple/cocoapod.ts Outdated Show resolved Hide resolved
@brustolin brustolin merged commit 8ec1f38 into master Jul 18, 2023
6 checks passed
@brustolin brustolin deleted the feat(apple)/cocoapods-support branch July 18, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants