Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

iOS compilation error: Cannot find type 'GDPRConsentViewController' in scope #5

Description

@wiwimaster

Hi Christoph, Timo

I try to use your sourcepoint flutter plugin on our app - which seems to work out of the box on android. But on iOS I get the following compiler errors when I try to run your sample app:

/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:12:22: Cannot find type 'GDPRConsentViewController' in scope
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:43:15: Cannot find 'GDPRConsentViewController' in scope
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:46:36: Cannot find 'GDPRPropertyName' in scope
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:55:25: Type of expression is ambiguous without more context
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:75:33: Cannot find type 'GDPRAction' in scope
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:84:39: Cannot find type 'GDPRUUID' in scope
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:84:62: Cannot find type 'GDPRUserConsent' in scope
/sourcepoint_cmp-0.0.4/ios/Classes/SourcepointCmp.swift:101:29: Cannot find type 'GDPRConsentViewControllerError' in scope

I'm running flutter 2.10.1 on a M1X Macbook Pro 2021 16", XCode Version 13.2.1 (13C100), compiled for iOS 12.
the errors were thrown from your sample app, nothing adjusted.

Do you know if this is a plugin error or did I do something wrong?

Thanks for your help
Jan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions