Hi All,
I have followed all the instructions provided in the document. We were previously using https://github.com/davodesign84/react-native-mixpanel for tracking events from our react native application.
Now that we have official support from Mixpanel, we have decided to update our application to use this package. However we ran into the following issues after including it on the app.
iOS app build fails with the following errors,
`❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
▸ Compiling AnyTweak.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ApplicationStateSerializer.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling AutomaticEvents.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling AutomaticProperties.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling BaseNotificationViewController.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling BaseWebSocketMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling BindingMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling CGAffineTransformToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling CGPointToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling CGRectToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling CGSizeToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ChangeMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ClearMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Clip.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Codeless.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling CodelessBinding.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ConnectIntegrations.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Constants.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Decide.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling DecideRequest.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling DeviceInfoMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling DisconnectMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling DisplayTrigger.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Error.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling FileLogging.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Flush.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling FlushRequest.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Group.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling IdentityTransformer.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling InAppButton.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling InAppNotification.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling InAppNotifications.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling JSONHandler.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Logger.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling MD5.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling MiniNotification.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling MiniNotificationViewController.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Mixpanel.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling MixpanelInstance.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling MixpanelNotificationServiceExtension.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling MixpanelType.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Network.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling NSAttributedStringToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ObjectFilter.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ObjectIdentityProvider.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ObjectSelector.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ObjectSerializer.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ObjectSerializerConfig.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ObjectSerializerContext.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling People.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Persistence.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling PrintLogging.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling PushNotifications.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling ReadWriteLock.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling SelectorEvaluator.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling SessionMetadata.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling SHA256.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling SnapshotMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling SSLSecurity.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Swizzle.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TakeoverNotification.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TakeoverNotificationViewController.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Track.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Tweak.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakableType.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakBinding.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakClusterType.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakCollection.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakGroup.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakLibrary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakMessage.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakPersistency.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakStore.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling TweakViewData.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UIColorToNSString.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UIControlBinding.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UIEdgeInsetsToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UIFontToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UIImageToNSDictionary.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UITableViewBinding.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling UIViewSelectors.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling Variant.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling VariantAction.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling VariantTweak.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling WebSocket.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
^
▸ Compiling WebSocketWrapper.swift
❌ /Users<>/ios/Pods/Headers/Public/Mixpanel/Mixpanel-swift.modulemap:1:8: redefinition of module 'Mixpanel'
module Mixpanel {
`