|
@@ -0,0 +1,56 @@
|
|
|
+#
|
|
|
+# Be sure to run `pod lib lint XCVMKit.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 = 'XCVMKit'
|
|
|
+ s.version = '1.1.0'
|
|
|
+ s.summary = 'Virtual Machine Kit'
|
|
|
+
|
|
|
+# This descrxc_iption 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 descrxc_iption between the DESC delimiters below.
|
|
|
+# * Finally, don't worry about the indent, CocoaPods strxc_ips it!
|
|
|
+
|
|
|
+ s.description = <<-DESC
|
|
|
+Virtual Machine Kit For iOS, Support RISC-V Architecture.
|
|
|
+ DESC
|
|
|
+
|
|
|
+ s.homepage = 'https://git.forgetive.org'
|
|
|
+ # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
|
|
|
+ s.license = { :type => 'XCPRIVATE', :file => 'LICENSE' }
|
|
|
+ s.author = { 'xcbosa mbp16' => 'xcbosa@forgetive.org' }
|
|
|
+ s.source = { :git => 'https://git.forgetive.org/XCAppCollection/XCVMKit-Core.git', :tag => s.version.to_s }
|
|
|
+ # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
|
|
+
|
|
|
+ s.ios.deployment_target = '14.0'
|
|
|
+
|
|
|
+ s.source_files = 'XCVMKit/Classes/**/*'
|
|
|
+
|
|
|
+ s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/Classes/Sources/SDL"' }
|
|
|
+
|
|
|
+ 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'
|
|
|
+
|
|
|
+ s.public_header_files = [
|
|
|
+ 'XCVMKit/Classes/Sources/Public/**/*.h',
|
|
|
+ 'XCVMKit/Classes/XCVMKit.h',
|
|
|
+ ]
|
|
|
+ s.private_header_files = [
|
|
|
+ 'XCVMKit/Classes/Sources/Emulator/**/*.h',
|
|
|
+ 'XCVMKit/Classes/Sources/bsdtar/**/*.h',
|
|
|
+ 'XCVMKit/Classes/Sources/libarchive/**/*.h',
|
|
|
+ ]
|
|
|
+
|
|
|
+ s.swift_version = '5.0'
|
|
|
+
|
|
|
+ s.frameworks = 'UIKit', 'SystemConfiguration'
|
|
|
+ s.libraries = [
|
|
|
+ 'bz2', 'iconv'
|
|
|
+ ]
|
|
|
+ # s.dependency 'AFNetworking', '~> 2.3'
|
|
|
+end
|