File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,14 @@ let sdkVersionDefine = SwiftSetting.define("ANDROID_SDK_VERSION_" + sdkVersion.d
1717let package = Package (
1818 name: " AndroidBluetooth " ,
1919 platforms: [
20- . macOS( . v15)
20+ . macOS( . v15) ,
21+ // Declared to match the Bluetooth/GATT/Socket dependencies. This package only ever builds
22+ // for Android, but SwiftPM validates platform requirements across the whole graph, and
23+ // leaving these unspecified defaults them to iOS 12 — which conflicts with dependencies
24+ // that require iOS 13 and breaks any Apple-platform resolve of a package that includes it.
25+ . iOS( . v13) ,
26+ . watchOS( . v6) ,
27+ . tvOS( . v13)
2128 ] ,
2229 products: [
2330 . library(
@@ -36,6 +43,13 @@ let package = Package(
3643 . package (
3744 url: " https://github.com/PureSwift/Bluetooth.git " ,
3845 from: " 7.2.0 "
46+ ) ,
47+ // `AndroidManifest` moved out of PureSwift/Android into swift-android-native (Android PR
48+ // #40); it must now be depended on directly. The URL and branch must match the ones
49+ // PureSwift/Android and skip-android-bridge use, or the identity conflicts.
50+ . package (
51+ url: " https://github.com/MillerTechnologyPeru/swift-android-native.git " ,
52+ branch: " feature/pureswift "
3953 )
4054 ] ,
4155 targets: [
@@ -72,7 +86,7 @@ let package = Package(
7286 ) ,
7387 . product(
7488 name: " AndroidManifest " ,
75- package : " Android "
89+ package : " swift-android-native "
7690 )
7791 ] ,
7892 exclude: [ " swift-java.config " ] ,
You can’t perform that action at this time.
0 commit comments