Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

27 righe
1.3 KiB

  1. #
  2. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
  3. #
  4. Pod::Spec.new do |s|
  5. s.name = 'url_launcher_ios'
  6. s.version = '0.0.1'
  7. s.summary = 'Flutter plugin for launching a URL.'
  8. s.description = <<-DESC
  9. A Flutter plugin for making the underlying platform (Android or iOS) launch a URL.
  10. DESC
  11. s.homepage = 'https://github.com/flutter/packages/tree/main/packages/url_launcher'
  12. s.license = { :type => 'BSD', :file => '../LICENSE' }
  13. s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
  14. s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/url_launcher/url_launcher_ios' }
  15. s.documentation_url = 'https://pub.dev/packages/url_launcher'
  16. s.swift_version = '5.0'
  17. s.source_files = 'url_launcher_ios/Sources/**/*.swift'
  18. s.xcconfig = {
  19. 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift',
  20. 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',
  21. }
  22. s.dependency 'Flutter'
  23. s.platform = :ios, '12.0'
  24. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
  25. s.resource_bundles = {'url_launcher_ios_privacy' => ['url_launcher_ios/Sources/url_launcher_ios/Resources/PrivacyInfo.xcprivacy']}
  26. end