Browse Source

[Add] XCLive2D (0.1.1)

xcbosa mbp16 6 months ago
parent
commit
3d06cddd2b
1 changed files with 78 additions and 0 deletions
  1. 78 0
      XCLive2D/0.1.1/XCLive2D.podspec

+ 78 - 0
XCLive2D/0.1.1/XCLive2D.podspec

@@ -0,0 +1,78 @@
+#
+# Be sure to run `pod lib lint XCLive2D.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             = 'XCLive2D'
+  s.version          = '0.1.1'
+  s.summary          = 'Live2D iOS'
+
+# 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
+Live2D iOS Component
+                       DESC
+
+  s.homepage         = 'https://git.forgetive.org'
+  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'xcbosa mbp16' => 'xcbosa@forgetive.org' }
+  s.source           = { :git => 'https://git.forgetive.org/XCAppCollection/XCLive2D.git', :tag => s.version.to_s }
+  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
+
+  s.ios.deployment_target = '12.0'
+
+  s.source_files = [
+    'XCLive2D/Classes/**/*.h',
+    'XCLive2D/Classes/**/*.m',
+    'XCLive2D/Classes/**/*.mm',
+    'XCLive2D/Classes/**/*.c',
+    'XCLive2D/Classes/**/*.cpp',
+    'XCLive2D/Classes/**/*.cxx',
+    'XCLive2D/Classes/**/*.hpp',
+    'XCLive2D/Classes/**/*.metal',
+    'XCLive2D/Classes/**/*.tpp',
+    'XCLive2D/Classes/**/*.swift',
+  ]
+  
+  s.requires_arc = [
+    'XCLive2D/Classes/Private/Wrapper/**/*.c',
+    'XCLive2D/Classes/Private/Wrapper/**/*.cpp',
+    'XCLive2D/Classes/Private/Wrapper/**/*.m',
+    'XCLive2D/Classes/Private/Wrapper/**/*.mm',
+    'XCLive2D/Classes/Public/**/*.c',
+    'XCLive2D/Classes/Public/**/*.cpp',
+    'XCLive2D/Classes/Public/**/*.m',
+    'XCLive2D/Classes/Public/**/*.mm'
+  ]
+  
+  s.public_header_files = [
+    'XCLive2D/Classes/Public/**/*.h'
+  ]
+  
+  s.private_header_files = [
+    'XCLive2D/Classes/Private/**/*.h',
+    'XCLive2D/Classes/Private/Live2D/Header/*.h',
+    'XCLive2D/Classes/Private/Live2D/Header/*.hpp',
+    'XCLive2D/Classes/Private/Live2D/Header/*.tpp',
+    'XCLive2D/Classes/Private/Live2D/Export/*.h'
+  ]
+  
+  s.vendored_frameworks = 'XCLive2D/Binaries/**/*.xcframework'
+  
+  s.resource_bundles = {
+    'XCLDMetalKit' => ['XCLive2D/Assets/Shader']
+  }
+
+  # s.public_header_files = 'Pod/Classes/**/*.h'
+  # s.frameworks = 'UIKit', 'MapKit'
+  # s.dependency 'AFNetworking', '~> 2.3'
+end