New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install with cocoapods using frameworks #24
Comments
Hi, @seanadkinson. Due to the fact that OpenTok iOS SDK is a static library and the rule of CocoaPods, you can not use |
Thanks for the response @Lucashuang0802. So there is no way for me to use |
Seems like that's currently no way to resolve it by using CocoaPods because you need |
Thanks @Lucashuang0802, will try some things out. Would be nice for OT to publish a swift version of the code, but that's just a feature request. I appreciate your time. |
@seanadkinson In case you are curious, http://stackoverflow.com/questions/28917651/building-a-cocoapod-with-swift-and-dependency-on-objective-c-framework/28937580#28937580. We might do some modifications. |
Thanks @Lucashuang0802, I'll dig more into that. |
hi @Lucashuang0802 , I ran into the same issue, have you guys done some modifications regarding this, or it is yet to be done, |
Hi, @chitvan832. If you don't have to use |
@Lucashuang0802 I've almost completed a project with video chat feature and In my project, I need a chat functionality now. At this stage, I can not comment |
Hi @basiralam, it doesn't seem that's a plan for now. In order to launch your project as quickly as you can, Carthage is the only option now. It's super easy to use. I also put up a template mixing with CocoaPods with Carthage here: https://github.com/Lucashuang0802/CocoaPodsWithCarthage. Hope it helps. |
Hi @Lucashuang0802 ,My pod file platform :ios, '9.0' pod 'Alamofire' target 'XXX' do end I was used both swift (Alamofire)&Objective c (PRTween) Its working fine.But The 'Pods-xxx' target has transitive dependencies that include static binaries: (/Users/gsreddy/Desktop/Final/SpearC/Pods/OTKAnalytics/OTKAnalytics.framework and /Users/gsreddy/Desktop/Final/SpearC/Pods/OpenTok/OpenTok.framework) |
@Evolgence Basically, you can't get it to work by using CocoaPods only. Like I mentioned #24 (comment), you need to work with Carthage. Hope this helps. |
Thanks @Lucashuang0802 ,I was import the all source files by manually.Its working fine in my devices .But when i was trying to create a build its telling (bitcode bundle could not be generated because '/xxx/OpenTalkFiles/OTKAnalytics.framework/OTKAnalytics(OTKLogger.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/xxx/OpenTalkFiles/OTKAnalytics.framework/OTKAnalytics' for architecture arm64 |
New issue checklist
README
General information
Bug report
My Podfile uses
use_frameworks!
since I'm using Swift. When trying to installOTAcceleratorCore
, I get an error that there are static binaries:Expected behavior
Should I be able to install using frameworks? Not 100% sure honestly.
Actual behavior
pod install
errors outSteps to reproduce
Example
Podfile
:Crash log? Screenshots? Videos? Sample project?
Question or Feature Request
Should I be able to install with frameworks? If I comment one
use_frameworks!
then I can't install other pods that I'm using.The text was updated successfully, but these errors were encountered: