-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Swift 6 Compatibility #55
Conversation
@PSchmiedmayer we currently skip the export consent form tests after opening the share sheet. With the current beta simulators the save button just stays disabled. Generally, the Files app is completely broken (you cannot create Folders etc). Looking at the current build output, it seems there are only iOS 18 simulators available, even when building with Xcode 15. Is there anyway to keep the iOS 17.5 simulators even though if we might need to manually tag the version in the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #55 +/- ##
==========================================
- Coverage 77.39% 77.15% -0.24%
==========================================
Files 23 23
Lines 1185 1190 +5
==========================================
+ Hits 917 918 +1
- Misses 268 272 +4
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Supereg Unfortunately it seems like automatically using an iOS Simulator version higher than the Xcode version was bundled with is a regression in Xcode. Only saw this with iOS 18 simulators so far.
I agree that we should disable the tests for now; they mainly just test the files app anyways (which Apple doesn't seem to do 😄) and it is not our responsibility to add UI tests for their applications.
I did a similar thing in #51 and it seemed to have worked there.
Fine with merging this as is; thanks for all the work @Supereg!
I wrote the tests in a way, that they automatically run again if they detect that saving files is possible again. In this case it's not about testing the Files App, but performing some validations for the generated PDF document. This is how we, e.g., detected that the signature field was never shown on visionOS. But we are reworking the PDF export anyways. So it might be less fragile anyways and less platform-dependent anyway. And maybe there is a way to just unit test the export? This would also be much faster to execute. |
Swift 6 Compatibility
♻️ Current situation & Problem
This PR enables strict concurrency and makes SpeziOnboarding compatible with Swift 6.
⚙️ Release Notes
📚 Documentation
--
✅ Testing
Unit tests were adjusted to be more stable and run slightly faster.
📝 Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: