Giter Site home page Giter Site logo

Comments (8)

derrick-branch avatar derrick-branch commented on August 16, 2024

We'll try to recreate when we can. Are you using Cocoapods for any other SDKs / have you had problems using them in your Swift project?

from branch-ios-invite-sdk.

samyoungnyc avatar samyoungnyc commented on August 16, 2024

This is the first time I've used Cocoapods for a project. I avoid Cocoapods generally but in this case wanted to try it out. I may try integrating the project the old-fashioned way, if this proves to be to troublesome a problem.

from branch-ios-invite-sdk.

francisjervis avatar francisjervis commented on August 16, 2024

NB the correct bridging header imports for Branch Invite are not entirely standard - the following works for me (just importing BranchInvite.h did not):

#import <Branch/Branch.h>
#import <BranchInvite/BranchInvite.h>
#import <BranchInvite/BranchInviteViewController.h>
#import <BranchInvite/BranchInviteTextContactProvider.h>
#import <BranchInvite/BranchInviteEmailContactProvider.h>
#import <BranchInvite/BranchWelcomeView.h>
#import <BranchInvite/BranchWelcomeViewController.h>
#import <BranchInvite/BranchWelcomeControllerDelegate.h>
#import <BranchInvite/BranchWelcomeDefaultView.h>

On Oct 19, 2015, at 8:14 PM, samyoungnyc [email protected] wrote:

This is the first time I've used Cocoapods for a project. I avoid Cocoapods generally but in this case wanted to try it out. I may try integrating the project the old-fashioned way, if this proves to be to troublesome a problem.


Reply to this email directly or view it on GitHub #32 (comment).

from branch-ios-invite-sdk.

samyoungnyc avatar samyoungnyc commented on August 16, 2024

Hi @francisjervis - when I do this, I get 55-60 errors mostly one of the following:

Duplicate interface definition of 'BranchXFile' is ignored
OR
Property has a previous declaration

from branch-ios-invite-sdk.

francisjervis avatar francisjervis commented on August 16, 2024

That’s odd. Though I am not using frameworks, so it may be something to do with that. Can you try un-installing (comment out all the [pod ‘podname’] lines and run pod update) then re-install without using frameworks? If what you posted is your complete pod file (i.e. you are only using Branch not a whole bunch of other frameworks) this might be an easy workaround.

On Oct 20, 2015, at 3:39 PM, samyoungnyc [email protected] wrote:

Hi @francisjervis https://github.com/francisjervis - when I do this, I get 55-60 errors mostly one of the following:

Duplicate interface definition of 'BranchXFile' is ignored
OR
Property has a previous declaration


Reply to this email directly or view it on GitHub #32 (comment).

from branch-ios-invite-sdk.

samyoungnyc avatar samyoungnyc commented on August 16, 2024

Tried your instructions... No dice. Very frustrating - thanks though.

from branch-ios-invite-sdk.

francisjervis avatar francisjervis commented on August 16, 2024

Try taking the imports for Branch and BranchInvite out of your AppDelegate. I get a spurious “module not found” error (this, again, w/o frameworks) if I include them - without the import line

class AppDelegate: UIResponder, UIApplicationDelegate, BranchWelcomeControllerDelegate {
}

works for me.

On Oct 20, 2015, at 3:47 PM, Francis Jervis [email protected] wrote:

That’s odd. Though I am not using frameworks, so it may be something to do with that. Can you try un-installing (comment out all the [pod ‘podname’] lines and run pod update) then re-install without using frameworks? If what you posted is your complete pod file (i.e. you are only using Branch not a whole bunch of other frameworks) this might be an easy workaround.

On Oct 20, 2015, at 3:39 PM, samyoungnyc <[email protected] mailto:[email protected]> wrote:

Hi @francisjervis https://github.com/francisjervis - when I do this, I get 55-60 errors mostly one of the following:

Duplicate interface definition of 'BranchXFile' is ignored
OR
Property has a previous declaration


Reply to this email directly or view it on GitHub #32 (comment).

from branch-ios-invite-sdk.

 avatar commented on August 16, 2024

This should be working fine as of my last commit.

from branch-ios-invite-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.