I am trying to add a new repository to CocoaPods however I keep getting the same error and struggling with this for days.
This is my podspec:
Pod::Spec.new do |spec|
spec.name = "KeyWordDetection"
spec.version = "0.0.1"
spec.summary = 'A comprehensive framework for detecting keywords in audio input.'
spec.description = File.read(File.join(File.dirname(__FILE__), 'DESCRIPTION.txt'))
spec.homepage = "https://davoice.io"
spec.license = { :type => "MIT", :file => "FILE_LICENSE" }
spec.author = { "Ofer Fryman" => "[email protected]" }
spec.source = { :git => "https://github.com/frymanofer/KeyWordDetectionIOSFramework.git", :tag => "#{spec.version}" }
spec.ios.vendored_frameworks
= 'KeyWordDetection.xcframework'
end
I try:
pod trunk push KeyWordDetection.podspec –verbose –allow-warnings –use-libraries
And get the same error: “Source code for your Pod was not accessible to CocoaPods Trunk”
I do not understand why I get an error regarding source code as my framework does not include any source code.
Any help in understanding or trouble shouting would be amazing. Thanks!!!
I have looked at videos and read many threads on stackoverflow and tried many things. Such as:
pod trunk me
pod lib lint
pod spec lint
All where successful.
I would like to know what I am doing wrong here.