You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feedback]: Abysmal performance of SPM since adding OneSignal #1590
Yes, I know that this is really an SPM bug rather than a OneSignal bug, but adding this dependency to a Package.swift significantly impacts the time that Xcode takes to resolve the dependency graph because it has to clone the whole git repo which is 1.64 GiB.
The XCFramework actually vended by OneSignal is reasonably sized at 5MB, which tells me that a simple solution is possible: clean the git repo's history or use another repo to make the DX pleasant.
Activity
nan-li commentedon Sep 29, 2025
Hi @piercifani thanks for your feedback. Does using
https://github.com/OneSignal/OneSignal-XCFrameworkinstead help with performance and size for you?piercifani commentedon Sep 30, 2025
Thanks a lot @nan-li ! that works a lot better. I did not see that referenced in any documentation, great find!
nan-li commentedon Oct 10, 2025
Good to hear @piercifani we'll update our SPM documentation to recommend that package.