-
Notifications
You must be signed in to change notification settings - Fork 32
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
Alesab/onboarding #964
Alesab/onboarding #964
Conversation
62c3a2f
to
3317212
Compare
@@ -397,6 +397,9 @@ let package = Package( | |||
dependencies: [ | |||
"BrowserServicesKit" | |||
], | |||
resources: [ | |||
.process("Resources") |
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.
That’s interesting, according to Apple this shouldn’t be needed 🤔
When you add a resource to your Swift package, Xcode detects common resource types for Apple platforms and treats them as a resource automatically. For example, you don’t need to make changes to your package manifest for the following resources:
Interface Builder files; for example, XIB files and storyboards
Core Data files; for example, xcdatamodeld files
Asset catalogs
.lproj folders you use to provide localized resources
If you add a resource file that Xcode doesn’t treat as a resource by default, you must configure it in your package manifest, as described in the next section.
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.
Yeah… apparently macOS does not like it without 🥲
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.
LGTM! I couldn’t check the previews on BSK because the PreviewXCAgent crashed for me. But I tested iOS and it looks good to me!
I think BSK needs a minor
bump instead of patch
as we added a new library.
This reverts commit bcf3c1c.
Please review the release process for BrowserServicesKit here.
Required:
Task/Issue URL: https://app.asana.com/0/1204186595873227/1208077416568671/f
iOS PR: duckduckgo/iOS#3282
macOS PR: duckduckgo/macos-browser#3149
What kind of version bump will this require?: Minor
Optional:
Tech Design URL: https://app.asana.com/0/481882893211075/1208094950223874/f
Description: Extracts code from the onboarding that can be used by macOS as well
Steps to test this PR:
OS Testing:
Internal references:
Software Engineering Expectations
Technical Design Template