我正在尝试将我的pod的新版本上传到cocoapods spec repo。当前的实时版本是0.3.1,它是一个使用Swift 4.2构建的框架。现在,我更新了该库并使用Xcode 11.1(Swift 5)进行了构建。但是在插入podspec文件时,在终端中出现了未知的DSL错误。
我尝试过使用相同的框架更改podspec的名称。但没有用。任何人都可以帮助
pod spec lint AsistaCore.podspec --verbose
podspec文件
pod::Spec.new do |spec|
spec.name = 'AsistaCore'
spec.version = '1.0.0'
spec.summary = 'Official Asista SDK in Swift to access Asista Platform core feature'
spec.description = <<-DESC
The Asista SDK in Swift Core framework provides:
* Create new tickets
* Update Ticket State
* Add comments to ticket
* Asset list
* Update profile
* Knowledge Base Articles
DESC
spec.homepage = 'https://asista.com/developer'
spec.license = { :type => 'MIT',:file => 'LICENSE' }
spec.authors = { 'Cherrylabs' => 'vaisakh.kp@cherrylabs.com' }
spec.documentation_url = 'https://asista.com/developer/docs/asista-sdk-for-ios'
spec.platform = :ios
spec.source = { :git => 'https://github.com/cherrylabstech/asista-sdk-ios.git',:tag => spec.version }
spec.swift_version = '5.0'
spec.ios.deployment_target = '8.0'
spec.static_framework = true
spec.ios.vendored_frameworks = 'AsistaSupport/AsistaCore.framework'
end
-> AsistaCore(1.0.0) -错误| [iOS]未知:遇到未知错误(pod :: DSLError /library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification.rb:808:在_eval_podspec中的救援中
....
...