Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error on iOS #53

Merged
merged 1 commit into from
May 8, 2021
Merged

Fix compile error on iOS #53

merged 1 commit into from
May 8, 2021

Conversation

torufuruya
Copy link
Contributor

@torufuruya torufuruya commented May 8, 2021

/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:302:49: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
            mpGroups[key] = MixpanelTypeHandler.ToMixpanelType(value)
                            ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:313:77: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
        instance?.setGroup(groupKey: groupKey, groupID: MixpanelTypeHandler.ToMixpanelType(groupID)!)
                                                        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:322:77: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
        instance?.addGroup(groupKey: groupKey, groupID: MixpanelTypeHandler.ToMixpanelType(groupID)!)
                                                        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:331:80: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
        instance?.removeGroup(groupKey: groupKey, groupID: MixpanelTypeHandler.ToMixpanelType(groupID)!)
                                                           ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:340:61: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
        guard let mixpanelTypeGroupID = MixpanelTypeHandler.ToMixpanelType(groupID) else {
                                        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:394:63: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
            guard let mixpanelTypeValue = MixpanelTypeHandler.ToMixpanelType(value) else {
                                          ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/node_modules/mixpanel-react-native/ios/MixpanelReactNative.swift:410:79: error: type 'MixpanelTypeHandler' has no member 'ToMixpane
lType'
            group.union(key: name, values: values.map() { MixpanelTypeHandler.ToMixpanelType($0)! })

It would have caused by this change

Copy link
Collaborator

@zihejia zihejia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @torufuruya for providing this and sorry about the error.

@zihejia zihejia merged commit 9a7a098 into mixpanel:master May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants