I’m attempting to publish my library, and once I run: pod lib lint
I get SwiftUIHelper handed validation.
however once I do pod trunk push
I get some errors:
-> SwiftUIHelper (0.0.1)
- WARN | [iOS] license: Unable to discover a license file
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You need to use `--verbose` for extra data.
- NOTE | xcodebuild: observe: Utilizing codesigning identification override: -
- NOTE | [iOS] xcodebuild: observe: Constructing targets in dependency order
- NOTE | [iOS] xcodebuild: observe: Goal dependency graph (3 targets)
- ERROR | xcodebuild: SwiftUIHelper/SwiftHelper/Options.swift:24:13: error: can not discover 'ButtonListView' in scope
The file Options
would not exist anyplace in my mission. I’ve tried deleting derived knowledge and cleansing construct folder however the errors persist. That is my .podspec
file:
Pod::Spec.new do |spec|
spec.title = "SwiftUIHelper"
spec.model = "0.0.1"
spec.abstract = "A pod with Swift & SwiftUI Helpers"
spec.description = <<-DESC
This CocoaPods library helps you do SwiftUI issues.
DESC
spec.homepage = "https://github.com/***/SwiftUIHelper"
spec.license = { :kind => "MIT", :file => "LICENSE" }
spec.creator = { "***" => "***" }
spec.ios.deployment_target = "16.0"
spec.swift_version = "5.0"
spec.supply = { :git => "https://github.com/***/SwiftUIHelper.git", :tag => "#{spec.model}" }
spec.source_files = "SwiftHelper/*.{h,m,swift}"
finish