用户2853133
用户2853133
  • 发布:2025-07-24 20:47
  • 更新:2025-07-24 20:47
  • 阅读:293

关于pod第三方引用本地pod的问题

分类:uts

我正在使用涂鸦SDK对接 IOS
这是uts中ios下config.json的配置
{
"frameworks":[
"ThingSmartCryption.framework"
],
"deploymentTarget": "12.0",
"dependencies-pod-sources": [
"https://github.com/CocoaPods/Specs.git",
"https://github.com/tuya/tuya-pod-specs.git"
],
"dependencies-pods": [
{
"name": "ThingSmartHomeKit",
"version": "6.4.0.3"
},
{
"name": "ThingSmartBusinessExtensionKit",
"version": "6.4.0.3"
}
]
}

报错如下
Analyzing dependencies
20:38:36.195 [!] Unable to find a specification for ThingSmartCryption depended upon by ThingSmartHomeKit
20:38:36.195 You have either:
20:38:36.195 out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
20:38:36.195
mistyped the name or version.
20:38:36.195 * not added the source repo that hosts the Podspec to your Podfile.
20:38:36.195 找不到指定的依赖!详情点击
20:38:36.230 WARNING: Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):
20:38:36.230 (Emitted value instead of an instance of Error) <myp-icon v-for="icon in data.checkicon">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.

ThingSmartHomeKit需要依赖ThingSmartCryption,但是ThingSmartCryption是需要下载到本地的。

原生IOS的配置如下
pod 'ThingSmartCryption', :path => './ios_core_sdk'
pod 'ThingSmartHomeKit', '~> 6.4.0'
pod 'ThingSmartBusinessExtensionKit', '~> 6.4.0'

求解如何配置才正确

2025-07-24 20:47 负责人:DCloud_iOS_LZY 分享
已邀请:

要回复问题请先登录注册