diff --git a/UniMPSwiftDemo/Podfile b/UniMPSwiftDemo/Podfile index 60b8a3a197ad793f717ec7e08a9dc79107e78546..626549402c1cf5da7b57a487f44fd2b82f1dc07b 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 68c1040dde324d0ef95733dbe5d25ec0b2781025..6fd4ad85834bce1d531dc623cc1c348105ab7939 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 = (