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

ios: missing binding method #2436

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

bruno-garcia
Copy link
Member

Building a new checkout of main reruns the script to create bindings and makes a change.

In CI, do we break if we end up with a dirty workspace? It's probably a good idea to catch cases such as this.

Additionally, modules/sentry-cocoa was dirty, with 2 files deleted:

-Subproject commit d277532e1c8af813981ba01f591b15bbdd735615
+Subproject commit d277532e1c8af813981ba01f591b15bbdd735615-dirty
..
        modified:   modules/sentry-cocoa (modified content)
..
        deleted:    Sentry.xcodeproj/xcshareddata/xcschemes/SentryPrivate.xcscheme
        deleted:    Sentry.xcodeproj/xcshareddata/xcschemes/SentrySwiftUI.xcscheme

d277532e1c8af813981ba01f591b15bbdd735615 is 8.8.0 so nothing wrong on the .NET end, @brustolin were these deleted after the release? Or is it something with the way we build things with Carthage?

@brustolin
Copy link
Contributor

were these deleted after the release? Or is it something with the way we build things with Carthage?

How we build things with Carthage. The build cocoa script delete this files in order for Carthage to work.

Copy link
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

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

I'm assuming you know what you're doing with the src/Sentry.Bindings.Cocoa/ApiDefinitions.cs so happy to approve 😉

@bruno-garcia bruno-garcia merged commit ea1c0cf into main Jun 21, 2023
@bruno-garcia bruno-garcia deleted the chore/ios-binding-swift-async-stacktrace branch June 21, 2023 07:39
@bruno-garcia
Copy link
Member Author

were these deleted after the release? Or is it something with the way we build things with Carthage?

How we build things with Carthage. The build cocoa script delete this files in order for Carthage to work.

How do we resolve this? On your CI you end up with these changes pending and that doesnt' break the build?

@brustolin
Copy link
Contributor

We don't do this changes in cocoa CI, only dotnet specific Carthage requires this.

I dont get why you need to resolve this. The workflow pull sentry-cocoa, modified it and build it, copy the binaries to another place to be able to test it, and then, discard everything no?

But, I just open a PR that will solve this: #2439

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