Description
TLDR;
Add the Cocoa SDK back as a submodule, allow for building it and use the SetupCocoaSDK
as part of downloading the native SDK shortcut.
Context
Instead of building the Cocoa SDK from scratch we moved to downloading it from the Releases instead.
We're using this target to make that work
sentry-unity/Directory.Build.targets
Lines 188 to 191 in 43cf833
The target runs as part for the regular build (i.e. dotnet build
) and this caused issues on Windows due to unzip
not being available and Expand-Archive
messing with the symlinks.
Since it's technically not required and building for iOS/macOS on Windows is very niche, this has been "fixed" by skipping the target in #2156.
Ideally, we'd move the SetupCocoaSDK
into the DownloadNativeSDKs
target
sentry-unity/Directory.Build.targets
Line 593 in 43cf833
and have a dedicated target that builds the Cocoa SDK like we do for Android or native
sentry-unity/Directory.Build.targets
Line 232 in 43cf833
Metadata
Metadata
Assignees
Type
Projects
Status