6.3版的Nama.podspec中下载连接失效
Closed this issue · 2 comments
yanyin1986 commented
下载
https://www.faceunity.com/sdk/FaceUnity-SDK-iOS-v6.3.0.zip
的时候,出现了404错误。
可能对于国内用户,SDK放在 FaceUnity的域名下会快一点?
如果方便的话,可以做一个镜像吗?
比如 Nama-Github.podspec
,将里面的 source URL 替换成
https://github.com/Faceunity/FULiveDemo/releases/download/v6.3.0/FaceUnity-SDK-iOS-v6.3.0.zip
yanyin1986 commented
cocoapods的spec是可以修改的。
暂时在本机上解决了。
pod spec edit Nama
将Json里的source替换为github的下载地址。
{
"name": "Nama",
"version": "6.3.0",
"license": "MIT",
"summary": "faceunity nama v6.3.0",
"homepage": "https://github.com/Faceunity/FULiveDemo",
"authors": {
"faceunity": "dev@faceunity.com"
},
"platforms": {
"ios": "9.0"
},
"source": {
/// ========
/// 修改这个URL
"http": "https://github.com/Faceunity/FULiveDemo/releases/download/v6.3.0/FaceUnity-SDK-iOS-v6.3.0.zip"
/// ========
},
"source_files": "**/*.{h,m}",
"resources": "**/*.{bundle,txt}",
"ios": {
"vendored_libraries": "**/libnama.a",
"frameworks": [
"OpenGLES",
"Accelerate",
"CoreMedia",
"AVFoundation"
]
},
"requires_arc": true,
"libraries": [
"stdc++"
]
}
yanyin1986 commented
修复了,所以关闭了。