{"id":13696189,"url":"https://github.com/wildfirechat/ios-chat","last_synced_at":"2025-05-14T13:06:11.087Z","repository":{"id":37924517,"uuid":"167198690","full_name":"wildfirechat/ios-chat","owner":"wildfirechat","description":"即时通讯，聊天，野火IM iOS客户端","archived":false,"fork":false,"pushed_at":"2025-05-09T06:22:20.000Z","size":2712534,"stargazers_count":1181,"open_issues_count":27,"forks_count":519,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-09T07:31:05.097Z","etag":null,"topics":["chat","chat-room","im","instant-message","messaging","mqtt","voip","wechat","weixin"],"latest_commit_sha":null,"homepage":"http://docs.wildfirechat.cn","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wildfirechat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-23T14:41:53.000Z","updated_at":"2025-05-09T06:22:24.000Z","dependencies_parsed_at":"2023-10-24T03:28:59.044Z","dependency_job_id":"4b9f684c-73a8-4a38-807a-d716327e32c8","html_url":"https://github.com/wildfirechat/ios-chat","commit_stats":{"total_commits":1577,"total_committers":11,"mean_commits":"143.36363636363637","dds":"0.46480659480025366","last_synced_commit":"e2deff25a7fcf2e9020ba2d97b6f6f17cac597ea"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildfirechat%2Fios-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildfirechat%2Fios-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildfirechat%2Fios-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wildfirechat%2Fios-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wildfirechat","download_url":"https://codeload.github.com/wildfirechat/ios-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149948,"owners_count":22022851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat","chat-room","im","instant-message","messaging","mqtt","voip","wechat","weixin"],"created_at":"2024-08-02T18:00:37.156Z","updated_at":"2025-05-14T13:06:06.072Z","avatar_url":"https://github.com/wildfirechat.png","language":"Objective-C","funding_links":[],"categories":["UI Frameworks"],"sub_categories":[],"readme":"## 野火IM解决方案\n\n野火IM是专业级即时通讯和实时音视频整体解决方案，由北京野火无限网络科技有限公司维护和支持。\n\n主要特性有：私有部署安全可靠，性能强大，功能齐全，全平台支持，开源率高，部署运维简单，二次开发友好，方便与第三方系统对接或者嵌入现有系统中。详细情况请参考[在线文档](https://docs.wildfirechat.cn)。\n\n主要包括一下项目：\n\n| [GitHub仓库地址(主站)](https://github.com/wildfirechat)      | [码云仓库地址(镜像)](https://gitee.com/wfchat)        | 说明                                                                                      | 备注                                           |\n| ------------------------------------------------------------ | ----------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------- |\n| [im-server](https://github.com/wildfirechat/im-server)       | [im-server](https://gitee.com/wfchat/im-server)          | IM Server                                                                                 |                                                |\n| [android-chat](https://github.com/wildfirechat/android-chat) | [android-chat](https://gitee.com/wfchat/android-chat) | 野火IM Android SDK源码和App源码                                                           | 可以很方便地进行二次开发，或集成到现有应用当中 |\n| [ios-chat](https://github.com/wildfirechat/ios-chat)         | [ios-chat](https://gitee.com/wfchat/ios-chat)         | 野火IM iOS SDK源码和App源码                                                               | 可以很方便地进行二次开发，或集成到现有应用当中 |\n| [pc-chat](https://github.com/wildfirechat/vue-pc-chat)       | [pc-chat](https://gitee.com/wfchat/vue-pc-chat)       | 基于[Electron](https://electronjs.org/)开发的PC 端                                        |                                                |\n| [web-chat](https://github.com/wildfirechat/vue-chat)         | [web-chat](https://gitee.com/wfchat/vue-chat)         | 野火IM Web 端, [体验地址](http://web.wildfirechat.cn)                                     |                                                |\n| [wx-chat](https://github.com/wildfirechat/wx-chat)           | [wx-chat](https://gitee.com/wfchat/wx-chat)           | 小程序平台的Demo(支持微信、百度、阿里、字节、QQ 等小程序平台)                             |                                                |\n| [app server](https://github.com/wildfirechat/app_server)     | [app server](https://gitee.com/wfchat/app_server)     | 应用服务端                                                                                |                                                |\n| [robot_server](https://github.com/wildfirechat/robot_server) | [robot_server](https://gitee.com/wfchat/robot_server) | 机器人服务端                                                                              |                                                |\n| [push_server](https://github.com/wildfirechat/push_server)   | [push_server](https://gitee.com/wfchat/push_server)   | 推送服务器                                                                                |                                                |\n| [docs](https://github.com/wildfirechat/docs)                 | [docs](https://gitee.com/wfchat/docs)                 | 野火IM相关文档，包含设计、概念、开发、使用说明，[在线查看](https://docs.wildfirechat.cn/) |                                                |\n\n\n## 说明\n本工程为野火IM iOS App。开发过程中，充分考虑了二次开发和集成需求，可作为SDK集成到其他应用中，或者直接进行二次开发。\n\n开发一套IM系统真的很艰辛，请路过的朋友们给点个star，支持我们坚持下去🙏🙏🙏🙏🙏\n\n### 联系我们\n\n\u003e 商务合作请优先采用邮箱和我们联系。技术问题请到[野火IM论坛](http://bbs.wildfirechat.cn/)发帖交流。\n\n1. heavyrain.lee  邮箱: heavyrain.lee@wildfirechat.cn  微信：wildfirechat\n2. imndx  邮箱: imndx@wildfirechat.cn  微信：wfchat\n\n### 问题交流\n\n1. 如果大家发现bug，请在GitHub提issue\n2. 其他问题，请到[野火IM论坛](http://bbs.wildfirechat.cn/)进行交流学习\n3. 微信公众号\n\n\u003cimg src=\"http://static.wildfirechat.cn/wx_wfc_qrcode.jpg\" width = 50% height = 50% /\u003e\n\n\u003e 强烈建议关注我们的公众号。我们有新版本发布或者有重大更新会通过公众号通知大家，另外我们也会不定期的发布一些关于野火IM的技术介绍。\n\n#### 体验Demo\n我们提供了体验demo，请使用微信扫码下载安装体验\n\n![野火IM](http://static.wildfirechat.cn/download_qrcode.png)\n\n#### 应用截图\n![ios-demo](http://static.wildfirechat.cn/ios-demo.gif)\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-message-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-contact-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-discover-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-settings-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-messagelist-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-chat-setting-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-takephoto-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-record-voice-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-location-view.png\" width = 50% height = 50% /\u003e\n\n\u003cimg src=\"http://static.wildfirechat.cn/ios-voip-view.png\" width = 50% height = 50% /\u003e\n\n\n### 工程说明\n\n工程中有3个项目，其中1个是应用，另外两个2个是库。chatclient库是IM的通讯能力，是最底层的库，chatuikit是IM的UI控件库，依赖于chatclient。chat是IM的demo，依赖于这两个库，chat需要正确配置服务器地址。\n\n### 配置\n\n在项目的Config.m文件中，修改IM服务器地址配置。把```IM_SERVER_HOST```和```IM_SERVER_PORT```设置成火信的地址和端口。另外需要搭配应用服务器，请按照说明部署好[应用服务器](https://github.com/wildfirechat/app_server)，然后把```APP_SERVER_HOST```和```APP_SERVER_PORT```设置为应用服务器的地址和端口。\n\n### 登陆\n使用手机号码及验证码登陆，\n\u003e 在没有短信供应商时，可以使用[superCode](https://github.com/wildfirechat/app_server#短信资源)进行测试验证。\n\n### 集成\n在集成到其他应用中时，如果使用了UIKit库，需要在应用的```Info.plist```文件中添加属性```CFBundleAllowMixedLocalizations```值为true。项目下的脚本[release_libs.sh](./release_libs.sh)可以把chatclient和chatuikit打包成动态库，把生成的库和资源添加到工程依赖中，注意库是动态库，需要\"Embed\"。此外还可以把chatclient和chatuikit项目直接添加到工程依赖中。\n\n### 第三方动态库\n1. [SDWebImage](https://github.com/SDWebImage/SDWebImage)\n2. [ZLPhotoBrowser](https://github.com/longitachi/ZLPhotoBrowser)\n\u003e UI层使用了它们的动态库，如果需要源码可以去对应地址下载，可以自己编译替换第三方动态库。\n\n### 推送\n当应用在后台几秒钟后就会被冻结和杀掉，此时收到消息需要APNS通知。请部署推送服务，推送服务代码可以在[Github](https://github.com/wildfirechat/push_server)和[码云](https://gitee.com/wfchat/push_server)下载。具体使用方式，请参考推送服务项目上的说明。\n\n### 升级说明\n2022.11.05 iOS SDK修改了```kUserInfoUpdated```、```kGroupInfoUpdated```和```kChannelInfoUpdated````通知。把之前的单个通知，改成了批量通知，请注意这个变化。\n\n### 感谢\n本工程使用了[mars](https://github.com/tencent/mars)及其它大量优秀的开源项目，对他们的贡献表示感谢。本工程使用的Icon全部来源于[icons8](https://icons8.com)，对他们表示感谢。Gif动态图来源于网络，对网友的制作表示感谢。如果有什么地方侵犯了您的权益，请联系我们删除🙏🙏🙏\n\n### License\n1. Under the Creative Commons Attribution-NoDerivs 3.0 Unported license. See the [LICENSE](https://github.com/wildfirechat/ios-chat/blob/master/LICENSE) file for details.\n2. Under the 996ICU License. See the [LICENSE](https://github.com/996icu/996.ICU/blob/master/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildfirechat%2Fios-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwildfirechat%2Fios-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildfirechat%2Fios-chat/lists"}