XCLive2D.podspec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #
  2. # Be sure to run `pod lib lint XCLive2D.podspec' to ensure this is a
  3. # valid spec before submitting.
  4. #
  5. # Any lines starting with a # are optional, but their use is encouraged
  6. # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
  7. #
  8. Pod::Spec.new do |s|
  9. s.name = 'XCLive2D'
  10. s.version = '0.1.1'
  11. s.summary = 'Live2D iOS'
  12. # This description is used to generate tags and improve search results.
  13. # * Think: What does it do? Why did you write it? What is the focus?
  14. # * Try to keep it short, snappy and to the point.
  15. # * Write the description between the DESC delimiters below.
  16. # * Finally, don't worry about the indent, CocoaPods strips it!
  17. s.description = <<-DESC
  18. Live2D iOS Component
  19. DESC
  20. s.homepage = 'https://git.forgetive.net'
  21. # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  22. s.license = { :type => 'MIT', :file => 'LICENSE' }
  23. s.author = { 'xcbosa mbp16' => 'xcbosa@forgetive.org' }
  24. s.source = { :git => 'https://git.forgetive.net/XCAppCollection/XCLive2D.git', :tag => s.version.to_s }
  25. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  26. s.ios.deployment_target = '12.0'
  27. s.source_files = [
  28. 'XCLive2D/Classes/**/*.h',
  29. 'XCLive2D/Classes/**/*.m',
  30. 'XCLive2D/Classes/**/*.mm',
  31. 'XCLive2D/Classes/**/*.c',
  32. 'XCLive2D/Classes/**/*.cpp',
  33. 'XCLive2D/Classes/**/*.cxx',
  34. 'XCLive2D/Classes/**/*.hpp',
  35. 'XCLive2D/Classes/**/*.metal',
  36. 'XCLive2D/Classes/**/*.tpp',
  37. 'XCLive2D/Classes/**/*.swift',
  38. ]
  39. s.requires_arc = [
  40. 'XCLive2D/Classes/Private/Wrapper/**/*.c',
  41. 'XCLive2D/Classes/Private/Wrapper/**/*.cpp',
  42. 'XCLive2D/Classes/Private/Wrapper/**/*.m',
  43. 'XCLive2D/Classes/Private/Wrapper/**/*.mm',
  44. 'XCLive2D/Classes/Public/**/*.c',
  45. 'XCLive2D/Classes/Public/**/*.cpp',
  46. 'XCLive2D/Classes/Public/**/*.m',
  47. 'XCLive2D/Classes/Public/**/*.mm'
  48. ]
  49. s.public_header_files = [
  50. 'XCLive2D/Classes/Public/**/*.h'
  51. ]
  52. s.private_header_files = [
  53. 'XCLive2D/Classes/Private/**/*.h',
  54. 'XCLive2D/Classes/Private/Live2D/Header/*.h',
  55. 'XCLive2D/Classes/Private/Live2D/Header/*.hpp',
  56. 'XCLive2D/Classes/Private/Live2D/Header/*.tpp',
  57. 'XCLive2D/Classes/Private/Live2D/Export/*.h'
  58. ]
  59. s.vendored_frameworks = 'XCLive2D/Binaries/**/*.xcframework'
  60. s.resource_bundles = {
  61. 'XCLDMetalKit' => ['XCLive2D/Assets/Shader']
  62. }
  63. # s.public_header_files = 'Pod/Classes/**/*.h'
  64. # s.frameworks = 'UIKit', 'MapKit'
  65. # s.dependency 'AFNetworking', '~> 2.3'
  66. end