提交 bc433ac3 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

update podfile

上级 97d91ebf
......@@ -159,7 +159,7 @@
2F8F66FE2B568AB4003E6DCC /* Sources */,
2F8F66FF2B568AB4003E6DCC /* Frameworks */,
2F8F67002B568AB4003E6DCC /* Resources */,
A66185A0307376DEFA68F4B0 /* [CP] Copy Pods Resources */,
CB2C206228C4ADD2C3BD94DC /* [CP] Copy Pods Resources */,
);
buildRules = (
);
......@@ -241,7 +241,7 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
A66185A0307376DEFA68F4B0 /* [CP] Copy Pods Resources */ = {
CB2C206228C4ADD2C3BD94DC /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
......
......@@ -3,63 +3,61 @@
#source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
source 'https://gitcode.net/dcloud/unimpsdk-ios'
source 'https://github.com/Cocoapods/Specs.git'
source 'https://gitcode.net/dcloud/unimpsdk-ios.git'
platform :ios, '13.0'
target 'HelloUniMPDemo' do
## 判断需要引用哪些模块请参考文档:https://nativesupport.dcloud.net.cn/AppDocs/usemodule/iOSModuleConfig/common.html#%E5%A6%82%E4%BD%95%E9%85%8D%E7%BD%AE%E6%A8%A1%E5%9D%97-%E4%B8%89%E6%96%B9sdk
## 根据功能对照表添加,建议一次不要Pod太多模块容易超时
pod 'unimp', :git => "https://gitcode.net/dcloud/unimpsdk-ios.git", :subspecs => [
'Core',
'Accelerometer', ##加速度传感器
'Contacts', ##通讯录
'Audio', ##音频
'Camera&Gallery', ##相机&相册
'File', ##文件
'Video', ##视频播放
'LivePusher', ##直播推流
'NativeJS', ##JS Reflection call Native
'Orientation', ##设备方向
'Message', ##邮件消息
'Zip', ##压缩
'Proximity', ##距离传感器
'Sqlite', ##数据库
'XMLHttpRequest', ##网络请求
'Fingerprint', ##指纹识别
'FaceId', ##人脸识别
'IBeacon', ##底功耗蓝牙
# 'BlueTooth', ##蓝牙
# 'Speech-Baidu', ##语音识别-百度
# 'Statistic-Umeng', ##友盟统计
# ##定位模块(百度高德不能同时引用)
# 'Geolocation', ##系统定位
# 'Geolocation-Gaode', ##高德定位
# 'Geolocation-Baidu', ##百度定位
# ##地图(二选一)
# 'Map-Gaode', ##高德地图
# 'Map-Baidu', ##百度地图
# ##支付
# 'Payment-IAP', ##苹果内购
# 'Payment-AliPay', ##支付宝支付
# 'Payment-Wechat', ##微信支付-同时使用微信分享或登录,必需使用包含支付的依赖库
# 'Payment-Paypal', ##Paypal支付 iOS13+
# 'Payment-Stripe', ##stripe支付 iOS13+
# ##分享
# 'Share-Wechat', ##微信分享-包含支付
# 'Share-WechatNopay', ##微信分享-不包含支付
# 'Share-QQ', ##QQ分享
# 'Share-Sina', ##新浪微博分享
# ##登录
# 'Oauth-Apple', ##苹果登录
# 'Oauth-QQ', ##QQ登录
# 'Oauth-Wechat', ##微信登录-包含支付
# 'Oauth-WechatNopay', ##微信登录-不包含支付
# 'Oauth-Sina', ##新浪微博登录
# 'Oauth-Google', ##Google登录
# 'Oauth-Facebook', ##Facebook登录 iOS12+
]
pod 'unimp/Core', :path => '../'
# pod 'unimp/Accelerometer', :path => '../'
# pod 'unimp/Audio', :path => '../'
# pod 'unimp/Contacts', :path => '../'
# pod 'unimp/Camera&Gallery', :path => '../'
# pod 'unimp/File', :path => '../'
# pod 'unimp/Video', :path => '../'
# pod 'unimp/NativeJS', :path => '../'
# pod 'unimp/Orientation', :path => '../'
# pod 'unimp/Message', :path => '../'
# pod 'unimp/Zip', :path => '../'
# pod 'unimp/Proximity', :path => '../'
# pod 'unimp/Sqlite', :path => '../'
# ## 蓝牙
# pod 'unimp/IBeacon', :path => '../'
# pod 'unimp/BlueTooth', :path => '../'
## 语音识别
# pod 'unimp/Speech-Baidu', :path => '../'
#
# ## Payment
# pod 'unimp/Payment-IAP', :path => '../'
# pod 'unimp/Payment-AliPay', :path => '../'
# pod 'unimp/Payment-Wechat', :path => '../' ##如果使用微信支付功能 分享和登录必须用包含微信支付的库
# pod 'unimp/Payment-Paypal', :path => '../' ##iOS13.0+
# pod 'unimp/Payment-Stripe', :path => '../' ##iOS13.0+
#
# ## Share
# pod 'unimp/Share-Wechat', :path => '../' ##如果使用了微信支付,分享用这个
# pod 'unimp/Share-Wechat-Nopay', :path => '../' ##如果没有使用微信支付,分享用这个
# pod 'unimp/Share-QQ', :path => '../'
pod 'unimp/Share-Sina', :path => '../'
#
# ## Oauth
# pod 'unimp/Oauth-Google', :path => '../'
# pod 'unimp/Oauth-QQ', :path => '../'
# pod 'unimp/Oauth-Facebook', :path => '../' ##iOS12.0+
# pod 'unimp/Oauth-Wechat', :path => '../' ##如果使用了微信支付,分享用这个
# pod 'unimp/Oauth-Wechat-Nopay', :path => '../' ##如果没有使用微信支付,分享用这个
# pod 'unimp/Oauth-Sina', :path => '../'
## Statistic
# pod 'unimp/Statistic-Umeng', :path => '../'
#
# ## Map 二选一
# pod 'unimp/Map-Gaode', :path => '../'
# pod 'unimp/Map-Baidu', :path => '../'
#
# ## Location 二选一
# pod 'unimp/Geolocation-Gaode', :path => '../'
# pod 'unimp/Geolocation-Baidu', :path => '../'
end
......@@ -15,8 +15,8 @@ Pod::Spec.new do |s|
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "wangzhitong" => "wangzhitong@dcloud.io" }
# s.source = { :path => "." }
s.source = { :git => "https://gitcode.net/dcloud/unimpsdk-ios", :tag => "#{s.version}"}
s.ios.deployment_target = '13.0'
s.source = { :git => "https://gitcode.net/dcloud/unimpsdk-ios.git", :tag => "#{s.version}"}
### 基础库(必选)
......@@ -35,7 +35,7 @@ Pod::Spec.new do |s|
s.subspec 'Accelerometer' do |ss|
ss.frameworks = 'Accelerate'
ss.vendored_libraries = 'UniMPSDK/Accelerometer/Libs/*.{a}'
ss.vendored_frameworks = 'UniMPSDK/Accelerometer/Libs/*.{framework}'
ss.vendored_frameworks = 'UniMPSDK/Accelerometer/Libs/*.{framework}'
end
s.subspec 'Audio' do |ss|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册