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

示例修改

上级 76fcfa5b
# Uncomment the next line to define a global platform for your project # Uncomment the next line to define a global platform for your project
#source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
source 'https://github.com/Cocoapods/Specs.git'
source 'https://gitcode.net/dcloud/unimpsdk-ios.git'
use_frameworks! use_frameworks!
target 'UniMPSwiftDemo' do target 'UniMPSwiftDemo' 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 ## 判断需要引用哪些模块请参考文档: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太多模块容易超时
# pod 'unimp', :git => "https://gitcode.net/dcloud/unimpsdk-ios.git", :tag => "3.99" pod 'unimp', :subspecs => [
# pod 'unimp', :path => "../", :subspecs => [
pod 'unimp', :git => "https://gitcode.net/dcloud/unimpsdk-ios.git", :tag => "3.99", :subspecs => [
'Core', ##核心库(必需) 'Core', ##核心库(必需)
'Log', ## # 'Log', ##
# 'Accelerometer', ##加速度传感器 # 'Accelerometer', ##加速度传感器
# 'Contacts', ##通讯录 # 'Contacts', ##通讯录
# 'Audio', ##音频 # 'Audio', ##音频
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
2FFB66872B5A719D00E591D2 /* Sources */, 2FFB66872B5A719D00E591D2 /* Sources */,
2FFB66882B5A719D00E591D2 /* Frameworks */, 2FFB66882B5A719D00E591D2 /* Frameworks */,
2FFB66892B5A719D00E591D2 /* Resources */, 2FFB66892B5A719D00E591D2 /* Resources */,
F058D288BA68C6C25956FE7D /* [CP] Copy Pods Resources */, 486CCDA558F0CE062C2A9485 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,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"; 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; showEnvVarsInLog = 0;
}; };
F058D288BA68C6C25956FE7D /* [CP] Copy Pods Resources */ = { 486CCDA558F0CE062C2A9485 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册