Support Swift Package Traits - #1049
Open
PSchmiedmayer wants to merge 1 commit into
Open
Conversation
1 task
PSchmiedmayer
added a commit
to SchmiedmayerLab/Plainly-iOS
that referenced
this pull request
Aug 8, 2026
# Restore Managed Navigation Path Configuration ## ♻️ Current situation & Problem The managed-navigation state fix moved initial path configuration directly into the initializer, despite the existing Spezi workaround that keeps the direct configuration call in a helper to avoid repeated view updates with an external path. CI archives also need to preserve the Textual Swift package trait until [XcodeProj #1049](CocoaPods/Xcodeproj#1049) adds native support. ## ⚙️ Release Notes - Restore the dedicated Spezi path-configuration helper and its explanatory comment. - Retain explicit internal State initialization so the path is never accessed before SwiftUI installs it. - Pin Plainly to the corrected Spezi revision. - Preserve the Textual package trait during Fastlane deployments. ## ✅ Testing - Built the affected SpeziViews target successfully. - Passed the SpineAI questionnaire fresh-install and relaunch UI regression on iPhone 17 Pro with iOS 26.5. - Verified the questionnaire content appeared on both launches without a blank screen. - Validated the deployment trait handling from Fastlane’s working directory. - `git diff --check` ### Code of Conduct & Contributing Guidelines By creating and submitting this pull request, you agree to follow our [Code of Conduct](https://github.com/SchmiedmayerLab/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/SchmiedmayerLab/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/SchmiedmayerLab/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/SchmiedmayerLab/.github/blob/main/CONTRIBUTING.md).
Author
|
@amorde Let us know if this is of interest to be merged; we have now encountered this in two projects as Traits become more used and we started to adopt them as well. Let me know if you have any feedback; thanks for maintaining the package! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current situation & Problem
Xcodeproj treats Swift package traits as unknown attributes and removes them when saving a project.
Release Notes
Testing