Developing a local Swift Package alongside an app
WHAT IT TESTS: local package development workflow. OUTLINE: add the package as a local dependency by dragging its folder into the project or workspace, so Xcode references the source on disk and rebuilds edits immediately.
WHAT IT TESTS: whether you know local packages override remote ones for fast iteration. ANSWER OUTLINE: add the package as a local package by dragging its directory into the app project or workspace, or via Add Package with a local path; Xcode then references the source files on disk rather than a resolved Git revision, so editing the package and rebuilding the app picks up changes instantly with no commit or version bump. A local package even overrides a same-named remote dependency.
Read the original → interview
- #ios
- #swift-package-manager
- #local-package
- #xcode-workspace
- #developer-workflow
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.