pocketpy.podspec 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
  3. # Run `pod lib lint pocketpy.podspec` to validate before publishing.
  4. #
  5. Pod::Spec.new do |s|
  6. s.name = 'pocketpy'
  7. s.version = '0.0.1'
  8. s.summary = 'A new Flutter FFI plugin project.'
  9. s.description = <<-DESC
  10. A new Flutter FFI plugin project.
  11. DESC
  12. s.homepage = 'https://pocketpy.dev'
  13. s.license = { :file => '../LICENSE' }
  14. s.author = { 'blueloveTH' => 'blueloveth@hclcat.games' }
  15. # This will ensure the source files in Classes/ are included in the native
  16. # builds of apps using this FFI plugin. Podspec does not support relative
  17. # paths, so Classes contains a forwarder C file that relatively imports
  18. # `../src/*` so that the C sources can be shared among all target platforms.
  19. s.source = { :path => '.' }
  20. s.source_files = 'Classes/**/*'
  21. s.dependency 'Flutter'
  22. s.platform = :ios, '9.0'
  23. # Flutter.framework does not contain a i386 slice.
  24. s.pod_target_xcconfig = {
  25. 'DEFINES_MODULE' => 'YES',
  26. 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
  27. 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
  28. 'CLANG_CXX_LIBRARY' => 'libc++'
  29. }
  30. s.swift_version = '5.0'
  31. end