Giter Site home page Giter Site logo

Comments (4)

tapashmajumder avatar tapashmajumder commented on August 23, 2024 1

Hi @osawhoop thanks for your response. I see that you are using an Objective C project so there is no concept of namespace there. We will look into it.

from swift-sdk.

tapashmajumder avatar tapashmajumder commented on August 23, 2024

Hi @osawhoop,

Can you please try to disambiguate LogLevel by setting it as IterableSDK.Loglevel or OtherSDK.LogLevel?

Also can you please post the error message here?

from swift-sdk.

osawhoop avatar osawhoop commented on August 23, 2024

Hi Tapash,
I don't think I can do that since both SDK defined the class LogLevel with the same name so I would need to change the definition of the class in the source code and every time I update the pod I will need to do that. So I wonder if you could do something that Google did with their log class declared as GAILogLevel so maybe you can defined as ITBLLogLevel, we will really appreciate.
This is the error:
In file included from /.../Code/AppDelegate/WHPAppDelegate.mm:40: /.../Build/Products/Debug-iphoneos/Iterable-iOS-SDK/IterableSDK.framework/Headers/IterableSDK-Swift.h:1194:31: error: redefinition of 'LogLevel' typedef SWIFT_ENUM(NSInteger, LogLevel, closed) { ^ In file included from /.../Code/AppDelegate/WHPAppDelegate.mm:33: In file included from ...-Bridging-Header.h:108: /.../Build/Products/Debug-iphoneos/iOSDFULibrary/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:929:31: note: previous definition is here typedef SWIFT_ENUM(NSInteger, LogLevel, closed) { ^ 1 error generated.

from swift-sdk.

roninopf avatar roninopf commented on August 23, 2024

Hi @osawhoop, we've put a fix for this in 6.2.2; it's been given an Objective-C specific name (IterableLogLevel) so it shouldn't be colliding anymore. Please feel free to open a new issue if one arises. Thanks!

from swift-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.