cisen / Open-IM-SDK-iOS

OpenIM:由IM技术专家打造的基于 Go 实现的即时通讯(IM)项目,iOS版本IM SDK 可以轻松替代第三方IM云服务,打造具备聊天、社交功能的app。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

可以免费商用,必须在app启动页加上 (由OpenIM提供技术支持)

OpenIMSDK

Version License Platform

中文文档

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

Open-IM-SDK-iOS is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'OpenIMSDK'

已知的几个问题

问题1: The 'Pods-xxx' target has transitive dependencies that include statically linked binaries: (xxx/Pods/OpenIMSDKCore/Framework/OpenIMCore.xcframework)

处理Podfile内容(a、b选择其一, 升级2.0.7.4不需要处理):
  a. 删除
      use_frameworks!
  b. 增加 
      pre_install do |installer|
        Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
      end
问题2: SDK 不支持amrv7架构,注意Xcode的设置。
问题3: 升级2.0.7.4后恢复问题1的原有内容。
问题4: 有开发者发现使用swift实现sdk的代理API未传递到业务层,需要使用@objc符号修饰。
例如: @objc public func onFriendApplicationAdded:

License

OpenIMSDK is available under the MIT license. See the LICENSE file for more info.

About

OpenIM:由IM技术专家打造的基于 Go 实现的即时通讯(IM)项目,iOS版本IM SDK 可以轻松替代第三方IM云服务,打造具备聊天、社交功能的app。

License:MIT License


Languages

Language:Objective-C 97.1%Language:C 2.0%Language:Ruby 0.9%