iOS JVaas SDK 集成指南
最近更新:2021-12-15
iOS JVaas SDK 集成指南
SDK 集成-Vaas
最低支持系统: iOS 10.0。需要在 Podfile 中指定仓库和加入依赖如下:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/aliyun/aliyun-specs.git'
source 'https://cdn.cocoapods.org/'
platform :ios, '10.0'
use_frameworks!
inhibit_all_warnings!
target '你的工程target' do
pod 'KSAdSDK', '3.3.4'
pod 'Bytedance-UnionAD', '~> 3.1.0.9'
pod 'GDTMobSDK', '4.11.8'
pod 'AlicloudHTTPDNS', '~> 1.19.2.6'
pod 'JCore'
pod 'Alamofire'
pod 'AlamofireImage'
end
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/aliyun/aliyun-specs.git'
source 'https://cdn.cocoapods.org/'
platform :ios, '10.0'
use_frameworks!
inhibit_all_warnings!
target '你的工程target' do
pod 'KSAdSDK', '3.3.4'
pod 'Bytedance-UnionAD', '~> 3.1.0.9'
pod 'GDTMobSDK', '4.11.8'
pod 'AlicloudHTTPDNS', '~> 1.19.2.6'
pod 'JCore'
pod 'Alamofire'
pod 'AlamofireImage'
end
此代码块在浮窗中显示
- OC 项目接入:
- 将 JVaasContent.framework 和 JVaasContentResource.bundle 文件拖入工程。
- 在项目中新建一个 swift 文件,并跟随指引创建桥接文件(若已有桥接文件可跳过此步骤)。
- Swift 项目接入:将 JVaasContent.framework 和 JVaasContentResource.bundle 文件拖入工程。
- 注意事项
- 不支持 bitcode
- 不支持模拟器编译
更多 API
其他 API 的使用方法请参考接口文档:iOS SDK API
技术支持
邮件联系:support@jiguang.cn
文档内容是否对您有帮助?