Skip to content

Commit

Permalink
Merge pull request #4 from k06a/feature/support-cocapods
Browse files Browse the repository at this point in the history
Add CocoaPods support for libMachO 0.1.0
  • Loading branch information
DeVaukz authored Oct 9, 2016
2 parents 933949f + 9680d61 commit fe9e3ec
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions libMachO.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Pod::Spec.new do |s|
s.name = "libMachO"
s.version = "0.1.0"
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.requires_arc = true

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'
}
end

0 comments on commit fe9e3ec

Please sign in to comment.