We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a57d5 commit 75e9968Copy full SHA for 75e9968
Package.swift
@@ -23,10 +23,7 @@ let package = Package(
23
name: "TZImagePickerController",
24
path: "TZImagePickerController/TZImagePickerController",
25
resources: [.process("TZImagePickerController.bundle")],
26
- publicHeadersPath: ".",
27
- cSettings: [
28
- .define("TZ_SPM")
29
- ]
+ publicHeadersPath: "."
30
)
31
]
32
TZImagePickerController/TZImagePickerController/NSBundle+TZImagePicker.m
@@ -12,7 +12,7 @@
12
@implementation NSBundle (TZImagePicker)
13
14
+ (NSBundle *)tz_imagePickerBundle {
15
-#ifdef TZ_SPM
+#ifdef SWIFT_PACKAGE
16
NSBundle *bundle = SWIFTPM_MODULE_BUNDLE;
17
#else
18
NSBundle *bundle = [NSBundle bundleForClass:[TZImagePickerController class]];
0 commit comments