Skip to content

Commit 409a9ec

Browse files
authored
Fix build on cocoapods by specifying the correct location for the CocoaWithLove exception helper libraries (#1109)
1 parent bc03342 commit 409a9ec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Sources/Nimble/Nimble.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
#import <Nimble/DSL.h>
55

66
#if TARGET_OS_OSX || TARGET_OS_IOS
7+
#if COCOAPODS
8+
#import <CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.h>
9+
#import <CwlCatchExceptionSupport/CwlCatchException.h>
10+
#else
711
#import "CwlMachBadInstructionHandler.h"
812
#import "CwlCatchException.h"
913
#endif
14+
#endif
1015

1116
FOUNDATION_EXPORT double NimbleVersionNumber;
1217
FOUNDATION_EXPORT const unsigned char NimbleVersionString[];

0 commit comments

Comments
 (0)