To run the example project, clone the repo, and run pod install
from the Example directory first.
elib is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'elib', :git => 'https://github.com/MojoLayersOSS/elib.git'
After adding elib to you Podfile - run pod install
Make sure you go to the Pods
Project, and then the elib
target -> Build Settings
-> Compile Sources As
and set that to Objective-C++
#import <elib/elib.h>
NSString *p12File = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"file.p12"];
NSString *provisionFile = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"file.mobileprovision"];
NSString *password = @"Password123";
NSString *ipaFile = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"file.ipa"];
NSString *signedIPAPath = [ELib resignIPAFileAtPath:ipaFile withP12AtPath:p12File andMobileProvisionAtPath:provisionFile andPassword:password];
Mojo Layers, LLC - @mojolayersoss
elib is available under the MIT license. See the LICENSE file for more info.