mirror of
https://github.com/VibeDarling/MachO-Kit.git
synced 2026-11-15 10:08:08 -10:00
40 lines
1.8 KiB
Ruby
40 lines
1.8 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = "libMachO"
|
|
s.version = "0.1.1"
|
|
s.summary = "libMachO is a lightweight, C library for parsing in-memory Mach-O images."
|
|
|
|
s.description = <<-DESC
|
|
libMachO is a lightweight, C library for parsing in-memory Mach-O images.
|
|
It should not be used to parse binaries which have not been loaded into memory
|
|
by the kernel/dyld. To keep the library lightweight libMachO overlays itself
|
|
atop the MachO binary and provides a structured set of APIs to parse the data.
|
|
libMachO does not build up its own independent representation of the Mach-O
|
|
opting to continuously walk the Mach-O structures to access requested data.
|
|
This means that libMachO generally expects well-formed MachO binaries.
|
|
DESC
|
|
|
|
s.homepage = "https://github.com/DeVaukz/MachO-Kit"
|
|
s.license = 'MIT'
|
|
s.author = { "Devin Vaukz" => "[email protected]" }
|
|
s.source = { :git => "https://github.com/DeVaukz/MachO-Kit.git", :tag => s.version.to_s }
|
|
|
|
s.ios.deployment_target = '7.0'
|
|
s.osx.deployment_target = '10.6'
|
|
s.watchos.deployment_target = '1.0'
|
|
s.tvos.deployment_target = '9.0'
|
|
|
|
s.source_files = 'libMachO/**/*'
|
|
s.resources = 'libMachO/**/*'
|
|
s.public_header_files = 'libMachO/macho.h'
|
|
s.header_mappings_dir = 'libMachO/'
|
|
|
|
s.xcconfig = {
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/libMachO/**"',
|
|
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
|
|
}
|
|
|
|
s.pod_target_xcconfig = {
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/libMachO/**"',
|
|
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
|
|
}
|
|
end |