XCVMKit.podspec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # Be sure to run `pod lib lint XCVMKit.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 = 'XCVMKit'
  10. s.version = '1.0.0'
  11. s.summary = 'Virtual Machine Kit'
  12. # This descrxc_iption 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 descrxc_iption between the DESC delimiters below.
  16. # * Finally, don't worry about the indent, CocoaPods strxc_ips it!
  17. s.description = <<-DESC
  18. Virtual Machine Kit For iOS, Support RISC-V Architecture.
  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 => 'XCPRIVATE', :file => 'LICENSE' }
  23. s.author = { 'xcbosa mbp16' => 'xcbosa@forgetive.org' }
  24. s.source = { :git => 'https://git.forgetive.net/XCAppCollection/XCVMKit-Core.git', :tag => s.version.to_s }
  25. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  26. s.ios.deployment_target = '14.0'
  27. s.source_files = 'XCVMKit/Classes/**/*'
  28. s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/Classes/Sources/SDL"' }
  29. s.compiler_flags = '-Ofast -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2025-02-12\" -DCONFIG_SLIRP -DCONFIG_RISCV_MAX_XLEN=128 -DHAVE_CONFIG_H'
  30. s.public_header_files = [
  31. 'XCVMKit/Classes/Sources/Public/**/*.h',
  32. 'XCVMKit/Classes/XCVMKit.h',
  33. ]
  34. s.private_header_files = [
  35. 'XCVMKit/Classes/Sources/Emulator/**/*.h',
  36. 'XCVMKit/Classes/Sources/bsdtar/**/*.h',
  37. 'XCVMKit/Classes/Sources/libarchive/**/*.h',
  38. ]
  39. s.swift_version = '5.0'
  40. s.frameworks = 'UIKit', 'SystemConfiguration'
  41. s.libraries = [
  42. 'bz2', 'iconv'
  43. ]
  44. # s.dependency 'AFNetworking', '~> 2.3'
  45. end