Description:
After updating my swift app to swift 3.0 / Xcode 8 I have been unable to import Segment_Mixpanel. The pod is integrated, and seems to be built as a framework but when I import I have 3 errors:
Mixpanel.h file not found (in MixpanelPrivate.h)
Could not build Objective-C module 'Mixpanel' (in SEGMixpanelIntegration.h)
Could not build Objective-C module 'Segment_Mixpanel' (shown wherever import is in my code)
I have raised this issue with on the mixpanel-iphone repo as well (https://github.com/mixpanel/mixpanel-iphone/issues/584) as I'm not sure where the best place for a fix is but also listing here in case there is anything that can be done in this repo.
I had hoped a simple fix might be to use the swift mixpanel library from this library but mixpanel doesn't expose anything to objective c for that version
Expected Behavior:
Segment_Mixpanel should be able to be imported in a swift 3 code base and used as it was from the swift 2.2 app
Integration Method: CocoaPods v0.39.0 Xcode Version: 8.0 Library Version: 1.1.0 Platform: iOS Device: Simulator / iPad Language: Swift
Description: After updating my swift app to swift 3.0 / Xcode 8 I have been unable to import Segment_Mixpanel. The pod is integrated, and seems to be built as a framework but when I import I have 3 errors:
Mixpanel.h file not found
(in MixpanelPrivate.h)Could not build Objective-C module 'Mixpanel'
(in SEGMixpanelIntegration.h)Could not build Objective-C module 'Segment_Mixpanel'
(shown wherever import is in my code)I have raised this issue with on the mixpanel-iphone repo as well (https://github.com/mixpanel/mixpanel-iphone/issues/584) as I'm not sure where the best place for a fix is but also listing here in case there is anything that can be done in this repo.
I had hoped a simple fix might be to use the swift mixpanel library from this library but mixpanel doesn't expose anything to objective c for that version
Expected Behavior: Segment_Mixpanel should be able to be imported in a swift 3 code base and used as it was from the swift 2.2 app