Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions ios/usercentrics_sdk/Package.swift
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
// swift-tools-version: 5.9
import PackageDescription

// WORKAROUND (MSDK-4831): usercentrics-spm-sdk's published 2.32.0 tag has a corrupted
// Package.swift (invalid Sentry Cocoa version placeholder), which breaks `swift package
// resolve` for every SPM consumer, including this plugin. Pointing at vendored local copies
// (Vendor/usercentrics-spm-sdk, Vendor/usercentrics-spm-ui) with the placeholder fixed instead
// of the remote tags, until a corrected native SDK version is published. Fix tracked in
// mobile-sdk Jira MSDK-4831 / PR #2539, targeting a 2.32.1 patch — revert to the remote URLs
// below once that ships.
// .package(url: "https://bitbucket.org/usercentricscode/usercentrics-spm-ui", exact: "2.32.0"),
// .package(url: "https://bitbucket.org/usercentricscode/usercentrics-spm-sdk", exact: "2.32.0")

let package = Package(
name: "usercentrics_sdk",
platforms: [.iOS("11.0")],
products: [
.library(name: "usercentrics-sdk", targets: ["usercentrics_sdk"])
],
dependencies: [
.package(path: "Vendor/usercentrics-spm-ui"),
.package(path: "Vendor/usercentrics-spm-sdk")
// TODO before merging: confirm this is the actual version mobile-sdk published its
// MSDK-4831/MSDK-4862 fixes under (expected 2.32.1 per mobile-sdk Jira/PR, but verify
// against the real usercentrics-spm-ui/usercentrics-spm-sdk tags before relying on it).
.package(url: "https://bitbucket.org/usercentricscode/usercentrics-spm-ui", exact: "2.32.1"),
.package(url: "https://bitbucket.org/usercentricscode/usercentrics-spm-sdk", exact: "2.32.1")
],
targets: [
.target(
Expand Down
57 changes: 0 additions & 57 deletions ios/usercentrics_sdk/Vendor/usercentrics-spm-sdk/Package.swift

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions ios/usercentrics_sdk/Vendor/usercentrics-spm-ui/Package.swift

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Loading