This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ProvisioningProfile with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisMash/ProvisioningProfile.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisMash/ProvisioningProfile
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c30888e Update README.md
Cloned https://github.com/ChrisMash/ProvisioningProfile.git
Revision (git rev-parse @):
c30888e1addb29d872ec779613fb715012b72312
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ChrisMash/ProvisioningProfile.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ChrisMash/ProvisioningProfile.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling ProvisioningProfile ProvisioningProfileParser.swift
[4/7] Compiling ProvisioningProfile ProvisioningProfile.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
13 |     /// If required, ensure you set this property before accessing `profile()`.
14 |     public static var dateFormatter: DateFormatter?
   |                       |- warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 |     /// If required, ensure you set this property before accessing `profile()`.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 |     /// If required, ensure you set this property before accessing `profile()`.
17 |     public static var logger: Logger?
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// The name of the provisioning profile, if successfully parsed.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
26 |     public let formattedExpiryDate: String?
27 |
28 |     internal static var cachedProfile: ProvisioningProfile?
   |                         |- warning: static property 'cachedProfile' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'cachedProfile' with '@MainActor' if property should only be accessed from the main actor
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     internal static var bundleToLoadFrom: Bundle?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     internal static var cachedProfile: ProvisioningProfile?
29 |     internal static var bundleToLoadFrom: Bundle?
   |                         |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'bundleToLoadFrom' with '@MainActor' if property should only be accessed from the main actor
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// The provisioning profile for the current app, if available.
[5/7] Compiling ProvisioningProfile FileLoader.swift
[6/7] Compiling ProvisioningProfile Logger.swift
[7/7] Emitting module ProvisioningProfile
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
13 |     /// If required, ensure you set this property before accessing `profile()`.
14 |     public static var dateFormatter: DateFormatter?
   |                       |- warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 |     /// If required, ensure you set this property before accessing `profile()`.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17:23: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 |     /// If required, ensure you set this property before accessing `profile()`.
17 |     public static var logger: Logger?
   |                       |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// The name of the provisioning profile, if successfully parsed.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
26 |     public let formattedExpiryDate: String?
27 |
28 |     internal static var cachedProfile: ProvisioningProfile?
   |                         |- warning: static property 'cachedProfile' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'cachedProfile' with '@MainActor' if property should only be accessed from the main actor
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     internal static var bundleToLoadFrom: Bundle?
30 |
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     internal static var cachedProfile: ProvisioningProfile?
29 |     internal static var bundleToLoadFrom: Bundle?
   |                         |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'bundleToLoadFrom' with '@MainActor' if property should only be accessed from the main actor
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// The provisioning profile for the current app, if available.
Build complete! (18.92s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProvisioningProfile",
  "name" : "ProvisioningProfile",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "ProvisioningProfile",
      "targets" : [
        "ProvisioningProfile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProvisioningProfileTests",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfileTests",
      "path" : "Tests/ProvisioningProfileTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/missingdate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/invaliddate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.provisionprofile",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/test.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FileLoaderTests.swift",
        "ProvisioningProfileParserTests.swift",
        "ProvisioningProfileTests.swift",
        "TestLogger.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ProvisioningProfile"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProvisioningProfile",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfile",
      "path" : "Sources/ProvisioningProfile",
      "product_memberships" : [
        "ProvisioningProfile"
      ],
      "sources" : [
        "FileLoader.swift",
        "Logger.swift",
        "ProvisioningProfile.swift",
        "ProvisioningProfileParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.