mixpanel-iphone: Runtime duplicate class warnings
Integration Method: CocoaPods Xcode Version: Version 8.2.1 (8C1002) Library Version: Mixpanel (3.0.9) Mixpanel-AppExtension (3.0.9) Platform: iOS Device: Simulator + iPhone 6s+ Language: Swift
[ ] A/B Testing Manually Disabled? (DISABLE_MIXPANEL_AB_DESIGNER)
Description:
Using Mixpanel-AppExtension in iOS share extension.
Warnings logged at runtime.
objc[12145]: Class Mixpanel is implemented in both /private/var/containers/Bundle/Application/E93F93BA-CE5F-4C3D-AEA5-E755BB2A8FE7/The Grid.app/Frameworks/Mixpanel_AppExtension.framework/Mixpanel_AppExtension (0x101bc4928) and /private/var/containers/Bundle/Application/E93F93BA-CE5F-4C3D-AEA5-E755BB2A8FE7/The Grid.app/Frameworks/Mixpanel.framework/Mixpanel (0x101b2db48). One of the two will be used. Which one is undefined.
objc[12145]: Class MixpanelPeople is implemented in both /private/var/containers/Bundle/Application/E93F93BA-CE5F-4C3D-AEA5-E755BB2A8FE7/The Grid.app/Frameworks/Mixpanel_AppExtension.framework/Mixpanel_AppExtension (0x101bc4978) and /private/var/containers/Bundle/Application/E93F93BA-CE5F-4C3D-AEA5-E755BB2A8FE7/The Grid.app/Frameworks/Mixpanel.framework/Mixpanel (0x101b2dbe8). One of the two will be used. Which one is undefined.
objc[12145]: Class MPNetwork is implemented in both /private/var/containers/Bundle/Application/E93F93BA-CE5F-4C3D-AEA5-E755BB2A8FE7/The Grid.app/Frameworks/Mixpanel_AppExtension.framework/Mixpanel_AppExtension (0x101bc49c8) and /private/var/containers/Bundle/Application/E93F93BA-CE5F-4C3D-AEA5-E755BB2A8FE7/The Grid.app/Frameworks/Mixpanel.framework/Mixpanel (0x101b2e548). One of the two will be used. Which one is undefined.
Expected Behavior: No duplicate class warnings when used in main app and extension.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (7 by maintainers)
Closing this since the Swift library has reached parity and it looks like this was specific to projects in Swift using the Objective C library.