-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from k06a/feature/support-cocapods
Add CocoaPods support for libMachO 0.1.0
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |