pod 安装在 Azure Devops 管道中的 linphone-sdk 上失败

pod install fails on linphone-sdk in Azure Devops Pipeline

6b0a31e4 提交 (https://gitlab.linphone.org/BC/public/podspec) 之后,我的管道失败了。我尝试 运行 一个简单的 pod install

日志显示:[!] 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 1

我的播客文件:

    # DO NOT MODIFY -- auto-generated by Apache Cordova
    source 'https://cdn.cocoapods.org/'
    source 'https://gitlab.linphone.org/BC/public/podspec.git'
    platform :ios, '11.0'
    use_frameworks!
    post_install do |installer|
      installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
          config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
          config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
        end
      end
    end
    target '${{ parameters.app }}' do
        project '${{ parameters.app }}.xcodeproj'
        pod 'SVProgressHUD'
        pod 'linphone-sdk', '4.3'
        pod 'MobileVLCKit', '3.3.15'
        pod 'Firebase/Core', '6.33.0'
        pod 'Firebase/Auth', '6.33.0'
        pod 'Firebase/Messaging', '6.33.0'
        pod 'Firebase/Performance', '6.33.0'
        pod 'Firebase/RemoteConfig', '6.33.0'
        pod 'Firebase/InAppMessaging', '6.33.0'
        pod 'FirebaseFirestore', :tag => '6.33.0', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git'
        pod 'Firebase/Crashlytics', '6.33.0'
        pod 'GoogleSignIn', '5.0.2'
        pod 'GoogleTagManager', '7.1.4'
    end

它适用于 Macbook,仅在 Azure Pipeline 上失败。

pod setup之前pod install解决了问题。