Skip to content

Commit 946fe86

Browse files
committed
fix a warning and try to fix ios build
1 parent 82e27a8 commit 946fe86

4 files changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
set -o pipefail && xcodebuild \
4242
-scheme CombineCoreBluetooth \
4343
-workspace ./CombineCoreBluetooth.xcworkspace/ \
44-
-destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" \
44+
-destination "platform=iOS Simulator,OS=latest,name=iPhone 14" \
4545
-sdk iphonesimulator \
4646
-enableCodeCoverage YES \
4747
-disableAutomaticPackageResolution \

CombineCoreBluetooth.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
00CF0B77288DD73700FD88E1 /* PeripheralError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PeripheralError.swift; sourceTree = "<group>"; };
6868
00D8C7422A69A6E20069EC00 /* PeripheralManagerError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PeripheralManagerError.swift; sourceTree = "<group>"; };
6969
EB443F8E27C6BCA70005CCEA /* CombineCoreBluetooth.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CombineCoreBluetooth.framework; sourceTree = BUILT_PRODUCTS_DIR; };
70-
EB443F9927C6BDE00005CCEA /* CombineCoreBluetooth.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CombineCoreBluetooth.h; sourceTree = "<group>"; };
7170
EB443F9C27C6BDE00005CCEA /* Exports.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Exports.swift; sourceTree = "<group>"; };
7271
EB443F9E27C6BDE00005CCEA /* Publisher+Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Publisher+Extensions.swift"; sourceTree = "<group>"; };
7372
EB443F9F27C6BDE00005CCEA /* Unimplemented.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Unimplemented.swift; sourceTree = "<group>"; };
@@ -171,7 +170,6 @@
171170
EB443F9827C6BDE00005CCEA /* Sources */ = {
172171
isa = PBXGroup;
173172
children = (
174-
EB443F9927C6BDE00005CCEA /* CombineCoreBluetooth.h */,
175173
EB443F9A27C6BDE00005CCEA /* CombineCoreBluetooth */,
176174
);
177175
path = Sources;

Sources/CombineCoreBluetooth.h

Lines changed: 0 additions & 9 deletions
This file was deleted.

Sources/CombineCoreBluetooth/Models/L2CAPChannel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Foundation
2-
@preconcurrency import CoreBluetooth
2+
import CoreBluetooth
33

44
public struct L2CAPChannel: @unchecked Sendable {
55
// Need to keep a reference to this so the system doesn't close the channel

0 commit comments

Comments
 (0)