-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hybrids SDKs need to test integration with new Cocoa version #69
Comments
What has to be tested? what is the paradigm shift? more info would be nice so we can focus our testing on what really matters. |
We just really need to know if it compiles and run with no problem. So, if the project compiles and don't complain about something missing is good enough. |
Are we bumping a major @brustolin? That would be news to me. |
Aren't we? |
I get that, but then we should also do getsentry/sentry-cocoa#1842 getsentry/sentry-cocoa#1100 and getsentry/sentry-cocoa#1844 for 8.0.0 |
For .NET (MAUI, etc.), it built for iOS but failed for Mac Catalyst with an error
Full log
I see that there are now two xcframeworks being built - |
I was able to get it to build after figuring out how to get It basically came down to adding this extra property in the final application: <PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
<CodesignExtraArgs>--deep</CodesignExtraArgs>
</PropertyGroup> The question I have now is, what changed that required |
@mattjohnsonpint Thanks. This is not a bug in Microsoft's tooling. Xcode does the same. Stephan already reported this error, Im trying to figure this out. |
@mattjohnsonpint I just pushed a fix to this problem. Is working for Unity, I believe this will also work for Maui. |
I'll do some integrations tests on Capacitor and then give feedback here 🙂 |
@brustolin - That made things worse. I cannot build the xcframework with the MacCatalyst target now at all. Recall from getsentry/sentry-cocoa#2031 that I have to use a custom build of Carthage that supports
Which worked fine previously, but now gives an error:
I checked the xcodebuild log file referenced, but it doesn't show any errors. |
Also I see that one of the recent changes was to set |
@mattjohnsonpint Sorry, I forgot about this macCatalyst case. I just pushed an update to make Carthage ignore SentryPrivate, this should fix the problem. |
@brustolin the changes are workings just fine on Capacitor |
Everything works with the latest changes, and your summary makes perfect sense. Thanks! |
Thanks everybody!! |
We are close to make a new major release of our Cocoa SDK, but first we gonna launch a beta version.
This new release will introduce a paradigm shift into the project structure, and we need to make sure we don't have any issue with all the cross platform SDKs.
Here is the branch containing the new project.
For those platforms that relies on cocoapod, all you need to do to try this is add this two dependencies that points to this branch
Cordova(uses Sentry Cocoa version 6.*)The text was updated successfully, but these errors were encountered: