From 29c8f6d58f6fd45340ec4287545a54e6865b3861 Mon Sep 17 00:00:00 2001 From: wangzhitong Date: Wed, 21 Feb 2024 11:07:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UniMPSwiftDemo/Podfile | 10 ++-------- .../UniMPSwiftDemo.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/UniMPSwiftDemo/Podfile b/UniMPSwiftDemo/Podfile index 60b8a3a..6265494 100644 --- a/UniMPSwiftDemo/Podfile +++ b/UniMPSwiftDemo/Podfile @@ -1,20 +1,14 @@ # 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! 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 ## 根据功能对照表添加,建议一次不要Pod太多模块容易超时 -# pod 'unimp', :git => "https://gitcode.net/dcloud/unimpsdk-ios.git", :tag => "3.99" -# pod 'unimp', :path => "../", :subspecs => [ - pod 'unimp', :git => "https://gitcode.net/dcloud/unimpsdk-ios.git", :tag => "3.99", :subspecs => [ + pod 'unimp', :subspecs => [ 'Core', ##核心库(必需) - 'Log', ## +# 'Log', ## # 'Accelerometer', ##加速度传感器 # 'Contacts', ##通讯录 # 'Audio', ##音频 diff --git a/UniMPSwiftDemo/UniMPSwiftDemo.xcodeproj/project.pbxproj b/UniMPSwiftDemo/UniMPSwiftDemo.xcodeproj/project.pbxproj index 68c1040..6fd4ad8 100644 --- a/UniMPSwiftDemo/UniMPSwiftDemo.xcodeproj/project.pbxproj +++ b/UniMPSwiftDemo/UniMPSwiftDemo.xcodeproj/project.pbxproj @@ -142,7 +142,7 @@ 2FFB66872B5A719D00E591D2 /* Sources */, 2FFB66882B5A719D00E591D2 /* Frameworks */, 2FFB66892B5A719D00E591D2 /* Resources */, - F058D288BA68C6C25956FE7D /* [CP] Copy Pods Resources */, + 486CCDA558F0CE062C2A9485 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -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"; showEnvVarsInLog = 0; }; - F058D288BA68C6C25956FE7D /* [CP] Copy Pods Resources */ = { + 486CCDA558F0CE062C2A9485 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( -- GitLab