René's URL Explorer Experiment


Title: feat(ios): improve spm build logs, clarity and size reporting by NathanWalker · Pull Request #6085 · NativeScript/nativescript-cli · GitHub

Open Graph Title: feat(ios): improve spm build logs, clarity and size reporting by NathanWalker · Pull Request #6085 · NativeScript/nativescript-cli

X Title: feat(ios): improve spm build logs, clarity and size reporting by NathanWalker · Pull Request #6085 · NativeScript/nativescript-cli

Description: Improvements to SPM resolutions in the build logs. Current behavior? When a project uses Swift Packages, the CLI gives little insight into what is happening during -resolvePackageDependencies: There is no upfront listing of which packages will be installed or where they resolve from, so a slow or failing resolve can't be attributed to a specific dependency. A package hosted in a repository with a large git history can "fetch" for many minutes with zero output (SwiftPM clones the entire history to read Package.swift), which looks like the CLI is hung. When resolution fails, the spinner swallows xcodebuild's output — the real error is only visible by rerunning with --log trace. A local SPM package declared by a plugin with a plugin-relative path fails to resolve in non-hoisted node_modules layouts, and two plugins declaring the same package produce duplicate pbxproj references. New behavior Upfront package listing. Before applying packages, the CLI prints every package and its source: Swift Packages: FontManager (1.0.12 · https://github.com/NativeScript/font-manager.git) CanvasNative (local: node_modules/@nativescript/canvas/platforms/ios) Visible progress during long fetches. While a package is fetching, the CLI measures its growing clone in the SwiftPM repository cache and shows real progress in the spinner instead of a frozen counter: ⠇ Fetching Swift Packages (Auth0.swift)… — 2.31 MB of git history fetched (5s) If a single clone passes 250 MB, a one-time note explains that SwiftPM clones the entire repository on first fetch (and where the cache lives), so users know the wait is expected. Actionable failures. The resolve step keeps a rolling tail of raw xcodebuild output (also logged at trace) and replays the last 25 lines when resolution fails, so the actual error is visible without a verbose rerun. Local packages whose path doesn't exist are now warned about immediately instead of surfacing later as a cryptic xcodebuild failure. Plugin package fixes (ios-project-service): A plugin-declared local package path that doesn't exist relative to the app project dir now falls back to resolving against the plugin's own directory (fixes non-hoisted node_modules layouts). When multiple plugins declare the same package, only the first is added — duplicates no longer create conflicting pbxproj references. Plugin native source groups are now pinned to the main app target, so they can no longer be compiled into an extension target (e.g. a widget) that happens to own the first "Sources" build phase. Summary by CodeRabbit Bug Fixes Improved resolution of plugin-provided local Swift package paths. Prevented native source files from being associated with the wrong Xcode target. Deduplicated overlapping Swift package declarations. Improvements Added clearer Swift package listings and local-path validation. Enhanced dependency resolution progress, clone-size reporting, timing, and failure logs. Added more informative success and error messages during Swift package resolution.

Open Graph Description: Improvements to SPM resolutions in the build logs. Current behavior? When a project uses Swift Packages, the CLI gives little insight into what is happening during -resolvePackageDependencies: The...

X Description: Improvements to SPM resolutions in the build logs. Current behavior? When a project uses Swift Packages, the CLI gives little insight into what is happening during -resolvePackageDependencies: The...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6085

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c656539c-d3c7-7c8e-e5c4-06f8e2cf13da
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC2DA:19AA62:1CD0A98:24919AC:6B0159B9
html-safe-nonce45c9a0ce57679f86b93b5d45995d9cce3394ad09d2bdf7415fb389fcca01e14c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkRBOjE5QUE2MjoxQ0QwQTk4OjI0OTE5QUM6NkIwMTU5QjkiLCJ2aXNpdG9yX2lkIjoiMjM0ODU0ODYyMjQ1MjM0OTM2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac309eb8c261b4a49dea88e1be910cda5fc0172cfe45509a82990684361207eef9
hovercard-subject-tagpull_request:4111900603
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6085/files
twitter:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
og:image:altImprovements to SPM resolutions in the build logs. Current behavior? When a project uses Swift Packages, the CLI gives little insight into what is happening during -resolvePackageDependencies: The...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6085/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6085%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6085%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6085/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6085/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6085/files
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests38 (38)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
feat/spm-log-improvementshttps://github.com/NativeScript/nativescript-cli/tree/feat/spm-log-improvements
Conversation 3 https://github.com/NativeScript/nativescript-cli/pull/6085
Commits 1 https://github.com/NativeScript/nativescript-cli/pull/6085/commits
Checks 4 https://github.com/NativeScript/nativescript-cli/pull/6085/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6085/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6085/files
feat(ios): improve spm build logs, clarity and size reporting https://github.com/NativeScript/nativescript-cli/pull/6085/files#top
Show all changes 1 commit https://github.com/NativeScript/nativescript-cli/pull/6085/files
5a0ca1d feat(ios): improve spm build logs, clarity and size reporting NathanWalker Jul 22, 2026 https://github.com/NativeScript/nativescript-cli/pull/6085/commits/5a0ca1dad4de4fb578bd40951700f99a3ae74194
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6085/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6085/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6085/files
ios-project-service.ts https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f7622a4b889e37ebc0eba2bf40ac06b97262f18f3e2bb9b71375a083af8a3259
spm-service.ts https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
spm-service.ts https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-4f0c72c1fe838e284a7e4d57278fb5afed3b70b2fd9487ac66f4fa6d6ff0b5ec
lib/services/ios-project-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f7622a4b889e37ebc0eba2bf40ac06b97262f18f3e2bb9b71375a083af8a3259
View file https://github.com/NativeScript/nativescript-cli/blob/5a0ca1dad4de4fb578bd40951700f99a3ae74194/lib/services/ios-project-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6085/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f7622a4b889e37ebc0eba2bf40ac06b97262f18f3e2bb9b71375a083af8a3259
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f7622a4b889e37ebc0eba2bf40ac06b97262f18f3e2bb9b71375a083af8a3259
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f7622a4b889e37ebc0eba2bf40ac06b97262f18f3e2bb9b71375a083af8a3259
coderabbitaihttps://github.com/apps/coderabbitai
Jul 22, 2026https://github.com/NativeScript/nativescript-cli/pull/6085/files#r3633986387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/NativeScript/nativescript-dev-xcodehttps://github.com/NativeScript/nativescript-dev-xcode
https://market.nativescript.org/plugins/nativescript-dev-xcode/https://market.nativescript.org/plugins/nativescript-dev-xcode/
https://registry.npmjs.org/nativescript-dev-xcodehttps://registry.npmjs.org/nativescript-dev-xcode
NativeScript/nativescript-dev-xcode@c696dbehttps://github.com/NativeScript/nativescript-dev-xcode/commit/c696dbe865f4c0795a5343561dc2bc5e1661d55f
https://www.javatips.net/api/mage-master/Mage/src/main/java/mage/target/TargetImpl.javahttps://www.javatips.net/api/mage-master/Mage/src/main/java/mage/target/TargetImpl.java
https://github.com/Fluorohydride/ygopro-core/blob/8ffc49474903e22aa7bc013bdf76dccdc0d04253/interpreter.cpphttps://github.com/Fluorohydride/ygopro-core/blob/8ffc49474903e22aa7bc013bdf76dccdc0d04253/interpreter.cpp
https://www.javatips.net/api/mage-master/Mage/src/main/java/mage/target/Targets.javahttps://www.javatips.net/api/mage-master/Mage/src/main/java/mage/target/Targets.java
https://market.nativescript.org/plugins/nativescript-dev-xcode/https://market.nativescript.org/plugins/nativescript-dev-xcode/
https://github.com/NativeScript/nativescript-dev-xcodehttps://github.com/NativeScript/nativescript-dev-xcode
https://github.com/damiant/vscode-webnative/blob/main/xcode.d.tshttps://github.com/damiant/vscode-webnative/blob/main/xcode.d.ts
https://docs.akinon.com/technical-guides/app-maker/mobile/mobile-app-framework/dependency-integration/akinon-plugin-adapter.mdhttps://docs.akinon.com/technical-guides/app-maker/mobile/mobile-app-framework/dependency-integration/akinon-plugin-adapter.md
https://cdn.jsdelivr.net/npm/expo-updates@55.0.19/ts-declarations/xcode/index.d.tshttps://cdn.jsdelivr.net/npm/expo-updates@55.0.19/ts-declarations/xcode/index.d.ts
https://app.unpkg.com/expo-updates@0.25.25/files/ts-declarations/xcode/index.d.tshttps://app.unpkg.com/expo-updates@0.25.25/files/ts-declarations/xcode/index.d.ts
https://cloud.tencent.com/developer/ask/sof/113142426https://cloud.tencent.com/developer/ask/sof/113142426
NativeScript/nativescript-dev-xcode@49eb044https://github.com/NativeScript/nativescript-dev-xcode/commit/49eb0442803a0a2b30ef964780c1715b1985bad4
https://npmx.dev/package/nativescript-dev-xcodehttps://npmx.dev/package/nativescript-dev-xcode
https://github.com/NativeScript/nativescript-dev-xcodehttps://github.com/NativeScript/nativescript-dev-xcode
https://market.nativescript.org/plugins/nativescript-dev-xcode/https://market.nativescript.org/plugins/nativescript-dev-xcode/
https://docs.akinon.com/technical-guides/app-maker/mobile/mobile-app-framework/dependency-integration/akinon-plugin-adapter.mdhttps://docs.akinon.com/technical-guides/app-maker/mobile/mobile-app-framework/dependency-integration/akinon-plugin-adapter.md
https://github.com/expo/expo/blob/1ac66cf5dada31e7c260c0a98336f7b666560efa/packages/%40expo/cli/ts-declarations/xcode/index.d.tshttps://github.com/expo/expo/blob/1ac66cf5dada31e7c260c0a98336f7b666560efa/packages/%40expo/cli/ts-declarations/xcode/index.d.ts
https://app.unpkg.com/expo-updates@0.25.25/files/ts-declarations/xcode/index.d.tshttps://app.unpkg.com/expo-updates@0.25.25/files/ts-declarations/xcode/index.d.ts
React Native link adds tvOS library targets to the ios target react/react-native#13783https://github.com/react/react-native/issues/13783
https://github.com/damiant/vscode-webnative/blob/main/xcode.d.tshttps://github.com/damiant/vscode-webnative/blob/main/xcode.d.ts
NativeScript/nativescript-dev-xcode@c696dbehttps://github.com/NativeScript/nativescript-dev-xcode/commit/c696dbe865f4c0795a5343561dc2bc5e1661d55f
https://registry.npmjs.org/nativescript-dev-xcodehttps://registry.npmjs.org/nativescript-dev-xcode
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6085/files
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f7622a4b889e37ebc0eba2bf40ac06b97262f18f3e2bb9b71375a083af8a3259
lib/services/ios/spm-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
View file https://github.com/NativeScript/nativescript-cli/blob/5a0ca1dad4de4fb578bd40951700f99a3ae74194/lib/services/ios/spm-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6085/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-f486e4a19c996f9d75b690c972b1f0842fa8d50bb1dac97620e92fd13c03b65e
test/spm-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-4f0c72c1fe838e284a7e4d57278fb5afed3b70b2fd9487ac66f4fa6d6ff0b5ec
View file https://github.com/NativeScript/nativescript-cli/blob/5a0ca1dad4de4fb578bd40951700f99a3ae74194/test/spm-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6085/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-4f0c72c1fe838e284a7e4d57278fb5afed3b70b2fd9487ac66f4fa6d6ff0b5ec
https://github.com/NativeScript/nativescript-cli/pull/6085/files#diff-4f0c72c1fe838e284a7e4d57278fb5afed3b70b2fd9487ac66f4fa6d6ff0b5ec
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.