Skip to content
GuidesChecked 20 November 2026

Which platforms Swift packages build on

1,367 of 1,500 sampled Swift packages checked on 1 November 2026. 86.2 percent build on iOS.

Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.

Every platform

86.2 percent of Swift packages build on iOS, and 40.2 percent on Linux.

iOS is the most common of the eight platforms, 4.0 times Wasm, which is the least common, with 291.

Packages by platform, of 1,367 sampled
PlatformPackagesPercent
iOS1,17886.2
macOS1,12582.3
visionOS94569.1
tvOS90766.3
watchOS76556.0
Linux55040.2
Android42330.9
Wasm29121.3

Linux

That is 628 packages fewer than build on iOS, and 127 more than build on Android.

550 of 1,367 packages build on Linux, 40.2 percent.

Half of the packages created in 2019 build on Linux, 50.0 percent, and 32.5 percent of those created in 2025.

Linux went from 50.0 percent for 2019 packages to 32.5 for 2025 and 44.2 for 2026, so the trend is not clear.

Each year holds 88 to 197 packages, so one year is within 7 to 10 points, 19 times in 20.

Android

423 of 1,367 packages build on Android, 30.9 percent, which is 76.9 for every 100 that build on Linux.

Android builds went from 23.9 percent in 2025 to 36.0 in 2026.

The 2026 share is 12.1 points above 2025, the largest one year move in the year table.

Percent of packages by year created
YeariOSLinuxAndroid6.4
201880.249.135.896.2
201988.650.038.697.7
202088.043.629.999.1
202186.336.330.494.1
202292.538.728.3100.0
202385.333.129.497.1
202489.533.327.899.4
202583.432.523.996.3
202685.844.236.098.5

Apple only

816 packages build on Apple platforms only and 545 on Apple platforms and Linux, 39.9 percent.

59.7 percent of packages build on Apple platforms and nothing else.

Only 5 packages build on Linux and no Apple platform, and 1 on Android or Wasm alone.

Packages by where they build
Where a package buildsPackages
Apple platforms only816
Apple platforms and Linux545
Linux only5
Android or Wasm only1

How many platforms

241 packages, 17.6 percent, build on all eight platforms, the second most common count.

292 packages build on five platforms, the most common count.

207 packages, 15.1 percent, build on one platform.

Packages by number of platforms built on
Platforms built onPackages
1207
2145
3167
4110
5292
677
7128
8241

Swift versions

96.9 percent of packages build on Swift 6.4, and 86.2 on Swift 6.1.

Swift 6.4 has 147 more packages than Swift 6.1, 10.8 percent of the 1,367.

Packages by Swift version
Swift versionPackagesPercent
6.41,32596.9
6.31,32596.9
6.21,28293.8
6.11,17886.2

iOS by year

80.2 percent of packages created in 2018 build on iOS and 92.5 percent of those created in 2022.

The iOS share runs from 80.2 to 92.5 percent across nine years.

The 2026 share is 85.8 percent, close to the overall 86.2.

The nine years run from 2018 to 2026 and hold 1,177 of the 1,367 packages. The other 190 are not in the year tables.

No year is more than 6.3 points from the overall share of 86.2 percent.

The sample

1,500 packages were read, 23 were left out as generated by one organization, and 110 of the other 1,477 have no result, 7.4 percent.

1,367 of 1,500 sampled packages have a build result.

The 1,367 with a result are 92.6 percent of the 1,477 kept.

The 1,500 were drawn from a list of 12,422, of which 11,262 are neither archived nor forks. Each share is within about 2.7 points, 19 times in 20.

The 110 without a result are left out of every share, because the index does not say whether they failed or were never built.

What is in the file

A share for each platform

Eight platforms, from iOS and macOS to Linux, Android and Wasm.

Four Swift versions

Swift 6.1 to 6.4, with the packages that build on each.

Nine years of packages

The share on iOS, Linux, Android and Swift 6.4 for each year created.

No code and no names

The file holds counts only, with no package name and no developer.

How the packages were read

A random sample and a build badge for each.

Draw 1,500 packages

The sample came from the 11,262 packages that are neither archived nor forks, with a fixed seed.

Leave out generated ones

Packages generated in bulk by one organization were dropped, 23 of the 1,500.

Read the build badge

The public badge page of each package lists the platforms and Swift versions it builds on.

Keep the counts

Each CSV row holds a group, an item, a count, a base and a percent. No package names are kept.

Which platforms a board package should build for

iOS is the platform to cover first, with 86.2 percent of the 1,367 packages that have a build result building on it, then macOS at 82.3, visionOS at 69.1 and tvOS at 66.3. A board package that builds on iOS and macOS matches the two most common targets.

Beyond Apple, Linux is built by 40.2 percent of packages, Android by 30.9 and Wasm by 21.3. A board package that builds on Linux as well lets a server or a test job use it, which only about two packages in five allow.

What these numbers leave out

  • A build result shows a successful build, and not that a package is tested or works on that platform.
  • The 110 sampled packages with no result are left out of every share.
  • The sample is 1,500 of 11,262 packages, so each share is within about 2.7 points, 19 times in 20.
  • A year holds 88 to 197 packages, so one year is within 7 to 10 points, 19 times in 20.
  • The year is when the repository was created, not when the package joined the index.
  • No package code and no manifest was read.

Swift package platform questions

How many Swift packages build on Linux?

550 of 1,367 sampled, 40.2 percent.

How many Swift packages build on Android?

423 of 1,367 sampled, 30.9 percent.

How many Swift packages build on iOS?

1,178 of 1,367 sampled, 86.2 percent.

Do most packages build on Apple platforms only?

Yes. 816 packages, 59.7 percent, build on Apple platforms and not on Linux.

How many platforms does a package build on?

Most often five, 292 packages, then all eight, 241 packages.

Which Swift versions do packages build on?

96.9 percent build on Swift 6.4 and 86.2 percent on Swift 6.1.

Is Android support growing?

It rose from 23.9 percent for 2025 packages to 36.0 percent for 2026 ones.

Is Linux support growing?

Not clearly. It was 50.0 percent for 2019 packages, 32.5 for 2025 and 44.2 for 2026.

How many packages build on every platform?

241 build on all eight, 17.6 percent, and 684 on all five Apple platforms.

Does a build result mean the package works?

No. It shows that the index recorded a successful build, not that the package is tested.

Does the file name any package?

No. It holds counts, bases and percents only.

May a site quote these figures?

Yes. A figure may be quoted when the page links back here and gives 1 November 2026 as the read date.

Collect feature requests in an iOS app

Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.