Open brustolin opened 5 months ago
We can validate an app with
xcrun altool --validate-app
Let's use caching to speed up these GH action workflows. If they are speedy, we can run them for every PR, especially considering the recent interoperability with ObjC to Swift code, which caused numerous problems.
P1 is for iOS only. We can delay CI for the other platforms.
This will also fix https://github.com/getsentry/sentry-cocoa/issues/3350, closing that to keep this one.
Description
Most of our CI today consist in compiling different projects for different targets. The issue https://github.com/getsentry/sentry-cocoa/issues/3763 happened in runtime, which dont happen in our UITests because they embed Sentry directly from the same project.
We need to really open and run a clean app, that adds Sentry Dependency from SPM.
Preferable we should use
xcodebuild -create-xcproject <project_name>.xcodeproj
so we really have a new project every time that cannot be tempered with in advance.To add sentry to it we could use the Wizard (we need to try this tho).(Needs user interaction to choose options)for SPM we need to test Static and Dynamic linking