第28月第22天 iOS动态库

1.

NIMSDK 在 5.1.0 版本之后已改为动态库,集成方式有所改变,若需要集成高于此版本的 SDK,只需要做以下步骤: 将下载的 SDK 拖动到 Targets -> General -> Embedded Binaries 里,如下图 

https://dev.yunxin.163.com/docs/product/IM%E5%8D%B3%E6%97%B6%E9%80%9A%E8%AE%AF/SDK%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/iOS%E5%BC%80%E5%8F%91%E9%9B%86%E6%88%90/%E9%9B%86%E6%88%90%E6%96%B9%E5%BC%8F

 

https://www.jianshu.com/p/30d7996fb597

https://segmentfault.com/a/1190000004920754

 

2.aggregate

 

http://www.cocoachina.com/ios/20141126/10322.html

 

3.fastlane

 

default_platform(:ios)

platform :ios do
  desc "Description of what the lane does"
  lane :NonTeacher do  #函数名称,执行打包的时候使用

    time = Time.new.strftime("%Y%m%d") #获取时间格式
    version = get_version_number#获取版本号
    ipaName = "Release_#{version}_#{time}.ipa"
    gym(
       scheme:"NonTeacher", #项目名称
       export_method:"ad-hoc",#打包的类型
       configuration:"Release",#模式,默认Release,还有Debug
       output_name:"#{ipaName}",#输出的包名
       output_directory:"./build"#输出的位置
  
     )

  end
end

 

  506  ruby -v

  507  xcode-select --install

  508  gem sources

  509  cd /Users/mac/Downloads/AnyChatCoreSDK_iOS_r8125/src/helloAnyChat 

  510  sudo gem install fastlane -NV

  511  fastlane init

  512  fastlane build

  513  fastlane build

  514  fastlane add_plugin pgyer

 

https://www.jianshu.com/p/6ab8d2b7253a

 

 pgyer(api_key: "7f15xxxxxxxxxxxxxxxxxx141", user_key: "4a5bcxxxxxxxxxxxxxxx3a9e")

https://github.com/shishirui/fastlane-plugin-pgyer

 

posted @ 2019-01-22 13:40  lianhuaren  阅读(143)  评论(0编辑  收藏  举报