-
Notifications
You must be signed in to change notification settings - Fork 36
QIMSDK iOS 接入文档
Lidalu edited this page Nov 4, 2019
·
2 revisions
我们建议你通过 Cocoapods 来进行 QIMSDK 的集成
-
在Podfile中加入以下内容:
source 'https://github.com/qunarcorp/libqimkit-ios-cook.git' source '[email protected]:CocoaPods/Specs.git' target 'YourApp' do pod 'QIMUIKit', '~> 4.0' end post_install do |installer_representation| installer_representation.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO' end
end end
-
在项目根目录执行
pod install
-
在Podfile中加入以下内容:
source 'https://github.com/qunarcorp/libqimkit-ios-cook.git' source '[email protected]:CocoaPods/Specs.git' target 'YourApp' do pod 'QIMUIKit/QIMUIKit-NORN', '~> 4.0'
end
post_install do |installer_representation| installer_representation.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO' end
end end
-
在项目根目录执行
pod install