安装 linphone-sdk v.4 (Cocoapods) 时出错 - iOS
Error installing linphone-sdk v.4 (Cocoapods) - iOS
项目
- Cordova(平台 iOS)
- macOS
安装pod文件(linphone-sdk 4.4.35),但报错:
pod install
Installing linphone-sdk 4.4.32
[!] Error installing linphone-sdk
[!] /usr/bin/unzip /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip -d /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl
Archive: /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip or
/var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip.zip, and cannot find /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip.ZIP, period.
播客文件:
# DO NOT MODIFY -- auto-generated by Apache Cordova
source 'https://cdn.cocoapods.org/'
source 'https://github.com/CocoaPods/Specs.git'
source 'https://gitlab.linphone.org/BC/public/podspec.git'
platform :ios, '11.0'
use_frameworks!
target 'my_project' do
project 'my_project.xcodeproj'
pod 'linphone-sdk', '4.4.32'
pod 'linphone-sdk/basic-frameworks', '~> 4.4.32'
pod 'linphone-sdk/app-extension-swift', '~> 4.4.32'
end
试过了
- 重新安装可可pods、pods
- 清除缓存
谢谢!
找到解决方案。
我们正在查找您的版本的文件夹中:
~/.cocoapods/repos/linphone-bc-public-podspec/linphone-sdk/
使用版本转到linphone 网站。复制link你的版本:
https://download.linphone.org/releases/ios/
在文件“linphone-sdk/version/linphone-sdk.podspec”中搜索字符串“s.source”并替换为新的link.
项目
- Cordova(平台 iOS)
- macOS
安装pod文件(linphone-sdk 4.4.35),但报错:
pod install
Installing linphone-sdk 4.4.32
[!] Error installing linphone-sdk
[!] /usr/bin/unzip /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip -d /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl
Archive: /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip or
/var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip.zip, and cannot find /var/folders/q8/5fhs5dls3bv3nr0fwwh6gfwc0000gn/T/d20220322-3544-1lttggl/file.zip.ZIP, period.
播客文件:
# DO NOT MODIFY -- auto-generated by Apache Cordova
source 'https://cdn.cocoapods.org/'
source 'https://github.com/CocoaPods/Specs.git'
source 'https://gitlab.linphone.org/BC/public/podspec.git'
platform :ios, '11.0'
use_frameworks!
target 'my_project' do
project 'my_project.xcodeproj'
pod 'linphone-sdk', '4.4.32'
pod 'linphone-sdk/basic-frameworks', '~> 4.4.32'
pod 'linphone-sdk/app-extension-swift', '~> 4.4.32'
end
试过了
- 重新安装可可pods、pods
- 清除缓存
谢谢!
找到解决方案。
我们正在查找您的版本的文件夹中:
~/.cocoapods/repos/linphone-bc-public-podspec/linphone-sdk/
使用版本转到linphone 网站。复制link你的版本: https://download.linphone.org/releases/ios/
在文件“linphone-sdk/version/linphone-sdk.podspec”中搜索字符串“s.source”并替换为新的link.