Skip to content

Commit f85e000

Browse files
committed
Added support to generate ipa from xcarchive
1 parent cd83ef3 commit f85e000

File tree

8 files changed

+159
-81
lines changed

8 files changed

+159
-81
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
iReSign
22
=======
33

4-
iReSign allows iDevice app bundles (.ipa) files to be signed or resigned with a digital certificate from Apple for distribution. This tool is aimed at enterprises users, for enterprise deployment, when the person signing the app is different than the person(s) developing it.
4+
iReSign allows iDevice app bundles (.ipa) files to be signed or resigned with a digital certificate from Apple for distribution. It can also create signed iDevice app bundles (.ipa) files from .xcarchive files. This tool is aimed at enterprises users, for enterprise deployment, when the person signing the app is different than the person(s) developing it.
55

66
How to use
77
=======
88

9-
iReSign allows you to re-sign any unencrypted ipa-file with any certificate for which you hold the corresponding private key.
9+
iReSign allows you to re-sign any unencrypted ipa-file with any certificate for which you hold the corresponding private key. iResign can also created a signed ipa-file from an xcarchive file.
1010

11-
1. Drag your unsigned .ipa file to the top box, or use the browse button.
11+
1. Drag your unsigned .ipa or .xcarchive file to the top box, or use the browse button.
1212

1313
2. Enter your full certificate name from Keychain Access, for example "iPhone Developer: Firstname Lastname (XXXXXXXXXX)" in the bottom box.
1414

iReSign.app/Contents/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>BuildMachineOSBuild</key>
6-
<string>14A388a</string>
6+
<string>14B25</string>
77
<key>CFBundleDevelopmentRegion</key>
88
<string>en</string>
99
<key>CFBundleExecutable</key>
@@ -19,25 +19,25 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.3</string>
22+
<string>1.4</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleVersion</key>
2626
<string>1.0</string>
2727
<key>DTCompiler</key>
2828
<string>com.apple.compilers.llvm.clang.1_0</string>
2929
<key>DTPlatformBuild</key>
30-
<string>6A1052d</string>
30+
<string>6A2008a</string>
3131
<key>DTPlatformVersion</key>
3232
<string>GM</string>
3333
<key>DTSDKBuild</key>
3434
<string>14A382</string>
3535
<key>DTSDKName</key>
3636
<string>macosx10.10</string>
3737
<key>DTXcode</key>
38-
<string>0610</string>
38+
<string>0611</string>
3939
<key>DTXcodeBuild</key>
40-
<string>6A1052d</string>
40+
<string>6A2008a</string>
4141
<key>LSApplicationCategoryType</key>
4242
<string>public.app-category.developer-tools</string>
4343
<key>LSMinimumSystemVersion</key>

iReSign.app/Contents/MacOS/iReSign

4 KB
Binary file not shown.
Binary file not shown.

iReSign/iReSign/en.lproj/MainMenu.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<textField verticalHuggingPriority="750" id="533" customClass="IRTextFieldDrag">
8787
<rect key="frame" x="20" y="166" width="208" height="22"/>
8888
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
89-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="/path/to/app.ipa" drawsBackground="YES" id="534">
89+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="/path/to/app.ipa or /path/to/app.xcarchive" drawsBackground="YES" id="534">
9090
<font key="font" metaFont="system"/>
9191
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
9292
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>

iReSign/iReSign/iReSign-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.3</string>
20+
<string>1.4</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

iReSign/iReSign/iReSignAppDelegate.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
NSUserDefaults *defaults;
1818

1919
NSTask *unzipTask;
20+
NSTask *copyTask;
2021
NSTask *provisioningTask;
2122
NSTask *codesignTask;
2223
NSTask *generateEntitlementsTask;
2324
NSTask *verifyTask;
2425
NSTask *zipTask;
25-
NSString *originalIpaPath;
26+
NSString *sourcePath;
2627
NSString *appPath;
2728
NSString *workingPath;
2829
NSString *appName;
@@ -62,6 +63,7 @@
6263
- (IBAction)changeBundleIDPressed:(id)sender;
6364

6465
- (void)checkUnzip:(NSTimer *)timer;
66+
- (void)checkCopy:(NSTimer *)timer;
6567
- (void)doProvisioning;
6668
- (void)checkProvisioning:(NSTimer *)timer;
6769
- (void)doCodeSigning;

iReSign/iReSign/iReSignAppDelegate.m

Lines changed: 146 additions & 70 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)