fastlane-plugin-repack_ios 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +43 -4
- data/lib/fastlane/plugin/repack_ios/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c0f6aa9acb576759b5d6a84f5a05ec4193d1aaf
|
4
|
+
data.tar.gz: c1dc955a3cb0b307b1c79bd4dff633e79bc64bde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60cab7486525f97df804c0fbef70baa33ddab8a7263b72a07570ed5c2ef651596c66337d2ce3971c11713ac063d37d942538077ef17326bafaeb7fa00b64ea01
|
7
|
+
data.tar.gz: 64f601b730707d5d61406eba4d3ea426b3a5e1b33ebed04f29c405c1cdbff6b6a6ee1fa6052fa492eb2eaf7991e2666dc68a50f8a973e40147c6d4d470f25da4
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# repack-ios plugin
|
2
2
|
|
3
3
|
[](https://rubygems.org/gems/fastlane-plugin-repack_ios)
|
4
|
+
[](https://badge.fury.io/rb/fastlane-plugin-repack_ios)
|
5
|
+
[](https://rubygems.org/gems/fastlane-plugin-repack_ios)
|
6
|
+
[](https://github.com/creaworks-labs/fastlane-plugin-repack-ios/blob/master/LICENSE)
|
4
7
|
|
5
8
|
## Getting Started
|
6
9
|
|
@@ -10,12 +13,48 @@ This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To
|
|
10
13
|
fastlane add_plugin repack_ios
|
11
14
|
```
|
12
15
|
|
13
|
-
## About
|
16
|
+
## About repack-ios
|
14
17
|
|
15
|
-
This plugin allows you to
|
18
|
+
This plugin allows you to re-pack your existing .ipa packages with new assets or non-executable resources without rebuilding the native code. It supports fastlane's *sigh* and *match* actions to automatically detect provisioning profiles and certificates for resigning the modified ipa package. Also internally uses Gym configuration arguments to detect build related parameters like output directory etc.
|
16
19
|
|
17
20
|
You can use this plugin to modify your react-native js bundle without re-compiling the entire XCode project from the beginning. It significantly reduces the compilation time, especially useful for CI/CD based processes and also for your test automation.
|
18
21
|
|
22
|
+
## Examples
|
23
|
+
|
24
|
+
The only requires arguments are *ipa* path for the pre-built package and *contents* path for the resources that would like to replace. Basic usage as follows:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
repack_ios({ ipa: "./build/ios/TestApp.ipa", contents: "./build/react-native/" })
|
28
|
+
```
|
29
|
+
|
30
|
+
You can also specify additional parameters to `repack_ios` action. Eg.
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
repack_ios({
|
34
|
+
ipa: "./build/ios/TestApp.ipa",
|
35
|
+
contents: "./build/react-native/",
|
36
|
+
match_type: "adhoc", # Optional if you use _sigh_ or _match_
|
37
|
+
bundle_id: "com.creaworks.fastlane-app.repacked"
|
38
|
+
bundle_version: ENV["CI_BUILD_NUMBER"]
|
39
|
+
})
|
40
|
+
```
|
41
|
+
|
42
|
+
## Parameters
|
43
|
+
|
44
|
+
| Key | Description | Default |
|
45
|
+
| ------------- |-----------------------| --------|
|
46
|
+
| ipa | Path to your original ipa file to modify | *Required* |
|
47
|
+
| contents | Path for the new contents | *Required* |
|
48
|
+
| app_identifier | The bundle identifier of your app | Default value read from Appfile's app_identifier key |
|
49
|
+
| entitlements | Path to the entitlement file to use, e.g. `myApp/MyApp.entitlements`| Default value can be resolved from *sigh* |
|
50
|
+
| display_name | Display name to force resigned ipa to use | _Inherited_ |
|
51
|
+
| version | Version number to force resigned ipa to use. Updates both `CFBundleShortVersionString` and `CFBundleVersion` values in `Info.plist`. Applies for main app and all nested apps or extensions | _Inherited_ |
|
52
|
+
| short_version | Short version string to force resigned ipa to use (`CFBundleShortVersionString`) | _Inherited_ |
|
53
|
+
| bundle_version | Bundle version to force resigned ipa to use (`CFBundleVersion`) | _Inherited_ |
|
54
|
+
| bundle_id | Set new bundle ID during resign (`CFBundleIdentifier`) | _Optional_ |
|
55
|
+
| match_type | Define the profile type | Optional if you use _sigh_ or _match_ |
|
56
|
+
| provisioning_profile | Path to your provisioning_profile. | Optional if you use _sigh_ or _match_ |
|
57
|
+
|
19
58
|
## Run tests for this plugin
|
20
59
|
|
21
60
|
To run both the tests, and code style validation, run
|
@@ -47,4 +86,4 @@ _fastlane_ is the easiest way to automate beta deployments and releases for your
|
|
47
86
|
|
48
87
|
## License
|
49
88
|
|
50
|
-
MIT © [omerduzyol](https://github.com/omerduzyol)
|
89
|
+
MIT © [omerduzyol](https://github.com/omerduzyol)
|