Comments (8)
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.
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.
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.
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.
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.
Tried your instructions... No dice. Very frustrating - thanks though.
from branch-ios-invite-sdk.
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.
This should be working fine as of my last commit.
from branch-ios-invite-sdk.
Related Issues (20)
- Create an example contact provider in the sample project
- Create Facebook Contact Provider HOT 2
- Create Twitter Contact Provider
- Proactively Load Provider Contacts
- De-hardcode myself as the inviting user in the example app.
- Will not build in Swift HOT 19
- Contacts should be filtered when Provider is changed HOT 1
- Not able to integrate in Swift HOT 20
- Getting Error Loading Invite View HOT 22
- Getting build error when added through pods in Swift HOT 14
- Missing iPad xibs
- Crash after app went in brackground HOT 1
- BranchInviteControllerDelegate Swift HOT 2
- Update to support 0.12.4 HOT 5
- Pod Integration, no visible interface HOT 4
- Black welcome screen when use_frameworks! set in Podfile HOT 8
- Invite controller also broken for iPad HOT 4
- ABRecordRef depreciated in iOS 9 HOT 1
- BranchInviteDefaultContactCell make Xcodebuild error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from branch-ios-invite-sdk.