-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Labels
Description
Describe the bug
I'm attempting to use the latest Segment Swift Packing in my Objective C project,
I've added it my project using Swift package Manager.
In the Segment-Swift.h file going straight to the unsupported Swift architecture error.
Any guidance would be appreciated.
#if defined(__OBJC__)
OBJECTIVE-C CODE
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#if defined(__cplusplus)
#endif
#pragma clang diagnostic pop
#endif
#else
#error unsupported Swift architecture
#endif
Expected behavior
Able to import Segment successfully
@import Segment;
*Screenshots
*
Platform (please complete the following information):
- Library Version in use: 1.6.2
- Platform being tested: [e.g. iOS]