Skip to content

Commit

Permalink
Fixed tvOS and watchOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jun 8, 2022
1 parent 7d41cf8 commit f8e0199
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/DarwinGATT/DarwinDescriptor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ extension DarwinDescriptor {
}
}

#if (os(macOS) || os(iOS)) && canImport(BluetoothGATT)
internal extension CBMutableDescriptor {

/// Only the characteristic user description descriptor and the characteristic format descriptor
Expand Down Expand Up @@ -153,5 +154,5 @@ internal extension CBMutableDescriptor {
self.init(descriptor)
}
}

#endif
#endif

0 comments on commit f8e0199

Please sign in to comment.