Latest 3.5.1
Homepage https://github.com/gaoxiaosong/HyphenateDeploy
License Copyright Hyphenate Inc. 2017
Platforms ios 8.0, requires ARC
Authors

这是环信的iOS SDK,经过lipo处理后的,专用于armv7和arm64真机打包的Pod库。

安装方法

在iOS工程的Podfile中,添加如下语句。

pod 'HyphenateDeploy'

具体用法参照环信官网:http://docs.easemob.com/

更新流程

更新zip文件

  • 查看最新的Hyphenate.podspec:pod spec cat Hyphenate
  • 在Hyphenate的podspec文件中,找到source,下载zip包。
  • 解压缩后,运行如下命令:
    • mv iOS_Pods_IMFullSDK_VX.X.X iOS_Pods_IMDeploySDK_VX.X.X
    • cd iOS_Pods_IMDeploySDK_VX.X.X
    • lipo Hyphenate.framework/Hyphenate -thin armv7 -output Hyphenate_armv7
    • lipo Hyphenate.framework/Hyphenate -thin arm64 -output Hyphenate_arm64
    • lipo -create Hyphenate_armv7 Hyphenate_arm64 -output Hyphenate
    • mv Hyphenate Hyphenate.framework/
    • rm -f Hyphenate_arm*
  • 重新压缩成iOS_Pods_IMDeploySDK_VX.X.X.zip
  • 新建一个目录,将zip文件拷贝到其中,然后运行如下命令:
    • git init初始化git配置。
    • git remote add origin [email protected]:gaoxiaosong/HyphenateDeploy.git添加远程仓库。
    • git stage .暂存zip文件。
    • git commit -m 'update'提交新的zip文件。
    • git push -f origin zip强行推送到Github上。

更新Pod配置

  • 进入当前仓库目录,切换本地到master分支,更新HyphenateDeploy.podspec文件,包括其中的主版本号,和source下载链接版本号,以及路径中的版本号,使之与Hyphenate.podspec的版本号保持一致。
  • git push origin master推送到Github上。
  • pod trunk push ./HyphenateDeploy.podspec发布podspec到CocoaPod上。

Latest podspec

{
    "name": "HyphenateDeploy",
    "version": "3.5.1",
    "summary": "u73afu4fe1iOS SDKuff0cu7528u4e8eu771fu673au6253u5305",
    "description": "u73afu4fe1IMu7684iOS SDKu4e2duff0cu5176frameworku6587u4ef6u7ecfu8fc7lipou5904u7406u540euff0cu4e13u7528u4e8earmv7u548carm64u5e73u53f0u7684u771fu673au6253u5305u7684u5e93u3002",
    "homepage": "https://github.com/gaoxiaosong/HyphenateDeploy",
    "license": {
        "type": "Copyright",
        "text": "Hyphenate Inc. 2017"
    },
    "authors": {
        "Xiaosong Gao": "[email protected]"
    },
    "source": {
        "http": "https://raw.githubusercontent.com/gaoxiaosong/HyphenateDeploy/zip/iOS_Pods_IMDeploySDK_V3.5.1.zip"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "preserve_paths": "iOS_Pods_IMDeploySDK_V3.5.1/Hyphenate.framework",
    "vendored_frameworks": "iOS_Pods_IMDeploySDK_V3.5.1/Hyphenate.framework",
    "pod_target_xcconfig": {
        "OTHER_LDFLAGS": "-ObjC"
    }
}

Pin It on Pinterest

Share This