cocoapods-packager icon indicating copy to clipboard operation
cocoapods-packager copied to clipboard

vendors frameworks can not found headers , how can i fix it ?

Open onegaop opened this issue 4 years ago • 3 comments

#
# Be sure to run `pod lib lint AggregatePay.podspec" to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = "AggregatePay"
  s.version          = "0.0.5.s"
  s.summary          = "聚合支付 SDK,包含微信支付,银联云闪付,Apple Pay"

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don"t worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = "http://10.88.46.62:8181/peng.w/aggregatepay"
  # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
  s.license          = { :type => "MIT", :file => "LICENSE" }
  s.author           = { "eagleonefight" => "[email protected]" }
  s.source           = { :git => "http://10.88.46.62:8181/peng.w/aggregatepay.git", :tag => s.version.to_s }
  # s.social_media_url = "https://twitter.com/<TWITTER_USERNAME>"

  s.ios.deployment_target = "9.0"
  s.requires_arc = true
  s.source_files = "AggregatePay/Classes/SourcesFile/**/*.{h,m}","AggregatePay/AggregatePayVersion.{h,m}"
  
  s.resource_bundles = {
    "AlipaySDK" => ["AggregatePay/Assets/AlipaySDK.bundle"]
  }
  s.static_framework=true
  s.frameworks = "WebKit","CFNetwork", "SystemConfiguration","Security","QuartzCore","CoreTelephony","CoreMotion","CoreLocation","PassKit"
  s.libraries = "c++","z","sqlite3.0"
  #银联
  s.vendored_libraries = "AggregatePay/Classes/SourcesFile/Paymentcontrol/libs/*.a","AggregatePay/Classes/SourcesFile/UIPayPlugin/libs/*.a"
  s.vendored_frameworks = "AggregatePay/Classes/SourcesFile/AlipaySDK.framework"
  s.dependency "AlicloudUTDID","1.1.0.16"
end

onegaop avatar Sep 23 '20 07:09 onegaop

s.vendored_frameworks = "AggregatePay/Classes/SourcesFile/AlipaySDK.framework" , no error is reported, just that the packaged framwork does not have AlipaySDK header files

onegaop avatar Sep 23 '20 08:09 onegaop

maybe cache cause this problem,try remove cache.

slemon avatar Jan 20 '21 09:01 slemon

me too, how to fix it?

ilongge avatar Jun 29 '22 16:06 ilongge