我正在尝试按照Linphone的说明下载iOS的SDK,可以在这里:
https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Getting%20started/iOS/
或者在这里:https://gitlab.linphone.org/BC/public/linphone-iphone
它们都是从我不熟悉的CocoaPods开始的,而且它似乎不起作用……我得到的只是这个错误:
[!] Couldn't determine repo type for URL: 'https://gitlab.linphone.org/BC/public/podspec.git': (<unknown>): mapping values are not allowed in this context at line 3 column 17在Mac M1和英特尔Mac上试用过。总是同样的错误。我不想构建整个SDK,只需要在我的项目中包含SDK。
发布于 2021-10-15 15:19:29
要包含sdk,您需要将它们的podspec git的源代码放在pods文件中,然后就可以像在cocoapods中一样使用它
ios pod文件示例:
source ‘https://gitlab.linphone.org/BC/public/podspec.git’
source ‘https://github.com/CocoaPods/Specs.git’
platform :ios, ‘11.0’target ‘test’ do
project ‘test.xcodeproj’
pod ‘linphone-sdk’, ‘~> 5.0’
endhttps://stackoverflow.com/questions/69191149
复制相似问题