Comments (18)
Any progress?
from chat-sdk-ios.
Hi,
Could you provide me with a copy of your Podfile?
Thanks,
Ben
from chat-sdk-ios.
Hi @maizer999,
Are you trying to add Chat SDK to a Swift project?
I found a potential guide here that might help your problem.
If you could post more details on your project and podfile we can identify the problem more easily.
Simon
from chat-sdk-ios.
Same problem here.
`source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9'
workspace 'TwoBitTrader'
project 'TwoBitTrader'
#inhibit_all_warnings!
use_frameworks!
target 'TwoBitTrader' do
pod 'Alamofire'
pod 'Sync'
pod 'PKHUD_Swift_3'
pod 'SwiftyJSON'
pod 'Siren'
pod 'Groot'
pod 'Charts'
pod 'BigBoard', :path => '~/Documents/Development/BigBoard'
pod "ChatSDK", :path => "."
pod "ChatSDKModules/Backendless", :path => "./ChatSDKModules"
pod "MIBadgeButton-Swift", :git => 'https://github.com/mustafaibrahim989/MIBadgeButton-Swift.git', :branch => 'master'
pod 'PopupDialog', '~> 0.5'
pod 'Bolts'
#pod 'Webhose', :git => 'https://github.com/tiagomartinho/webhose-cocoa'
#pod 'Fabric'
#pod 'TwitterKit'
end`
error:
[!] The 'Pods-TwoBitTrader' target has transitive dependencies that include static binaries: (/Users/James/Documents/Development/INDX420/Pods/Google/Frameworks/GGLCore.framework, /Users/James/Documents/Development/INDX420/Pods/Google/Frameworks/GGLSignIn.framework, and /Users/James/Documents/Development/INDX420/Pods/TwitterKit/TwitterKit.framework)
from chat-sdk-ios.
This is because you're using the use_frameworks! flag. Some of the dependencies of the Chat SDK won't work if that flag is enabled - from memory they are the Google and Twitter frameworks. You should either remove the use_frameworks! flag or try to implement the workaround detailed here.
from chat-sdk-ios.
from chat-sdk-ios.
The problem is that any libraries that support iOS 7 will be built as static libraries so they won't work with the use_frameworks! flag.
In most cases even in Swift based projects, the use_frameworks! flag isn't necessary (see the Chat SDK Swift example). But if you do need it for your project, you should remove the dependencies to the static libraries from the podspec files of the Chat SDK. You should then drag these frameworks into your Xcode project manually.
from chat-sdk-ios.
Ok,,, got everything.... I think but now it just can't find the FBCore header. I looked at all my search path headers and frameworks... all looks Ok. Any thoughts about this?
from chat-sdk-ios.
Ok, removed FB from the pod spec, and did manual install. That worked. But now I get a FirebaseAnalytics issue. argh.
from chat-sdk-ios.
What kind of error are you getting?
from chat-sdk-ios.
There are way too many dependency issues for me at this point. I need to get a beta out, so, went with a simple Firebase Chat controller. All the pods worked and I was able to get Chat working good enough for demo purposes. I would like to later, use your SDK, but we will see. I will probably wait until ALL frameworks work with pod use-Frameworks! flag set.
from chat-sdk-ios.
I managed to fix this issue. In the next few days we will release a new version which moves the social login dependencies to a separate pod. That will make it much easier to remove them if they are not needed. It will also enable use_frameworks!
.
I'd check the repository early next week to get the new version.
from chat-sdk-ios.
Great news and great work. I will look forward to it next week.
from chat-sdk-ios.
You should checkout the use_frameworks_beta_1
branch. I found that the issues were caused by the way that Firebase have setup their pods.
The solution was to compile the Firebase frameworks manually using Carthage and then add them using the vendored_framework
attribute in the podfile.
You'll see that in the new version, we have had to change the project structure a little - we broke up the core library into separate pods rather than using subspecs. You'll have to rename your imports accordingly.
Currently, the modules don't work with this version. We will need to do some additional work to get them supported. We also split the social login into a separate pod.
By the end of the week we're hoping to have a final version ready.
from chat-sdk-ios.
Sounds like good progress. I still have time as I am deep into working on other features and also trying to get my little app out the door that doesn't use any chat. I will however, be monitoring this as I expect to come back to some serious chat work in about a month. Thanks for the work.
from chat-sdk-ios.
Ok - I am coming back to this and I noticed you now have 3 use_frameworks branches. Which one are you recommending now?
from chat-sdk-ios.
I would recommend use_frameworks_beta_x
where x
is the highest number. Currently 1 but soon to be 2.
from chat-sdk-ios.
We have now merged the use_frameworks version of the project with the master branch so I'm closing this issue. If you need to use the old non-frameworks version of the project you can by using the master_no_frameworks
branch.
from chat-sdk-ios.
Related Issues (20)
- could not join a group HOT 8
- iOS 15 upgrade
- [Assert] Error in UIKit client: -[UIWindow setScreen:]
- When a sender sends message(when receiver is in background or killed state) and kills the app. When receiver reads the message and kills the app after this when sender opens the hatbox read receipts is not working.
- support for firebase 9.5.0
- Help On including Google-Mobile-Ads-SDK
- UX and UI within Chat SDK : Customise
- ios unable to send image message from gallery or camera HOT 4
- IPhone app crash HOT 5
- Any updated instructions for implementing in existing Firebase project?
- Messages wont decrypt after using the method EncryptionHandler.importKeyPair(keyPairString
- '(child:) Must be a non-empty string and not contain '.' '#' '$' '[' or ']'
- http://chatsdk.co/features/ link listed in README.md is broken, page not found
- See Original and Translated Message
- Upload Image to GetStream CDN
- Messages are not marked as read on IOS HOT 2
- Send image not working
- Action sheet closes app
- Core Data mess - Does it do anything on background? HOT 3
- run ios app give this error it was working before 9 months now its show this error
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 chat-sdk-ios.