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: Resolving PBXProject dependency with reflection #601

Merged
merged 10 commits into from
Mar 4, 2022

Conversation

bitsandfoxes
Copy link
Contributor

@bitsandfoxes bitsandfoxes commented Feb 28, 2022

Resolves #588

Until now the SDK depended on Unity's iOS module to be installed. When missing this would not automatically create an error inside the editor but it would lead to issues when iterating over all types (see #525).
To resolve this the Sentry.Unity.Editor.iOS.dll deals with its dependency on the Unity iOS module via reflection now.

@bruno-garcia
Copy link
Member

Worth linking: Resolves: #588

@bitsandfoxes bitsandfoxes changed the title draft: Resolving PBXProject dependency with reflection feat: Resolving PBXProject dependency with reflection Mar 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2022

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

Generated by 🚫 dangerJS against d5a4726

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

Change looks good but I'm afraid of the fact no tests failed, and no tests were added. I expect the call site to require some exception handling when instantiating SentryXcodeProject to deal with the reflection call failing when the iOS Tools for Unity are not installed.

@bitsandfoxes bitsandfoxes merged commit 5968065 into main Mar 4, 2022
@bitsandfoxes bitsandfoxes deleted the feat/ios-editor-reflection branch March 4, 2022 10:01
@fahall
Copy link

fahall commented Mar 10, 2022

Can we get a new release with this fix included? v0.11.0 does not appear to include it.

@bitsandfoxes
Copy link
Contributor Author

It's on its way!

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.

[Regression] Sentry.h not found
5 participants