Commit 89c1f07
Fix CocoaPods build: guard KBHostArbiterHookObjC import with SWIFT_PACKAGE
Under CocoaPods, subspecs are merged into a single pod module, so there
is no standalone `KBHostArbiterHookObjC` Clang module to import. The
ObjC header is exposed via the pod's umbrella header. Guarding the
import with `#if SWIFT_PACKAGE` keeps SPM working while unblocking
CocoaPods consumers.
Bumps podspec to 1.0.1.
Fixes #1, #2.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f2ae17a commit 89c1f07
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments