fastlane-plugin-validate_ipa 1.0.2 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 262d0cd0903ab5803410d08f3448d4bbadc828f2be7d44cd0a10156bf1895089
4
- data.tar.gz: d28f9dd55c5dd3a8cd568870fb28c85e5c0540d072a64bb1111e548a54d747cc
3
+ metadata.gz: 3497a90c150e14d70cdbe85e12933e2146ce59bb61801b0cf4099170c8f5444c
4
+ data.tar.gz: 0a60e50657dc78dd8a0303bdcadc5ffd176001bff5c0489653d23166659ff48f
5
5
  SHA512:
6
- metadata.gz: e6387ebb35df3f42e81e974a93989cf3998f5db1ffd61face342f8a354f330d540eb44027679e60f53f6d9eebbd3c5721576b6d3c79d1aa84dfa7ab5df9c7742
7
- data.tar.gz: 1acd07d3f5e78090b8fef951d5969038324485c0ea40ed3206f1000e69b1e93c9901c99ea4e4bca7e5ea27dd03c271752ca148ad3c94c00baae8d10e2ae1cca7
6
+ metadata.gz: bb8c48e7411e67a46204a8cc3e73cd4848c43ba01c8166e3fc6b5eb6165762d40bee818830b32aff05433bcac22cba83369a76f50322abdbcf66fbda40f7d95c
7
+ data.tar.gz: 9f1b241d071c8f4c5096c31978faab09e8fce74748c89e366d72e8fad1eae407741a20f936b71f04c922a7695aeb8d6b7d6cc99aa47e03dd7fa37113a3cc8743
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 hacoma <hacoma92@gmail.com>
3
+ Copyright (c) 2021 binaryloader
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,59 +1,52 @@
1
1
  # validate_ipa plugin
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-validate_ipa)
4
+ [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-validate_ipa.svg)](https://rubygems.org/gems/fastlane-plugin-validate_ipa)
4
5
 
5
- ## Getting Started
6
+ ## About
6
7
 
7
- This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-validate_ipa`, add it to your project by running:
8
+ A [fastlane](https://github.com/fastlane/fastlane) plugin that validates IPA files using Apple's `altool`.
9
+
10
+ This plugin improves upon the [validate_app](https://github.com/fastlane-community/fastlane-plugin-validate_app) plugin, which is no longer maintained. If your Apple ID uses two-factor authentication, pass an [app-specific password](https://support.apple.com/en-us/102654).
11
+
12
+ ## Installation
8
13
 
9
14
  ```bash
10
15
  fastlane add_plugin validate_ipa
11
16
  ```
12
17
 
13
- ## About validate_ipa
18
+ Or add to your `Gemfile`:
14
19
 
15
- Validate the IPA using altool. Improved the [validate_app](https://github.com/fastlane-community/fastlane-plugin-validate_app) plugin, which is no longer maintained. If your Apple ID is using Two-factor authentication, you will need to pass an app-specific password.
16
-
17
- ## Example
20
+ ```ruby
21
+ gem 'fastlane-plugin-validate_ipa'
22
+ ```
18
23
 
19
- Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
24
+ ## Usage
20
25
 
21
26
  ```ruby
22
- lane :test do
27
+ lane :validate do
23
28
  validate_ipa(
24
- path: "result/test.ipa",
29
+ path: "build/MyApp.ipa",
25
30
  platform: "ios",
26
- username: "username",
27
- password: "password"
31
+ username: "your@apple.id",
32
+ password: "app-specific-password"
28
33
  )
29
34
  end
30
35
  ```
31
36
 
32
- ## Run tests for this plugin
33
-
34
- To run both the tests, and code style validation, run
37
+ ### Parameters
35
38
 
36
- ```
37
- rake
38
- ```
39
-
40
- To automatically fix many of the styling issues, use
41
- ```
42
- rubocop -a
43
- ```
39
+ | Key | Description | Env Var | Required |
40
+ |-----|-------------|---------|----------|
41
+ | `path` | Path to the IPA file | `FL_VALIDATE_IPA_PATH` | Yes |
42
+ | `platform` | Target platform (`ios` or `macos`) | `FL_VALIDATE_IPA_PLATFORM` | Yes |
43
+ | `username` | Apple ID | `FL_VALIDATE_IPA_USERNAME` | Yes |
44
+ | `password` | Apple ID or app-specific password | `FL_VALIDATE_IPA_PASSWORD` | Yes |
44
45
 
45
46
  ## Issues and Feedback
46
47
 
47
- For any other issues and feedback about this plugin, please submit it to this repository.
48
-
49
- ## Troubleshooting
50
-
51
- If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
52
-
53
- ## Using _fastlane_ Plugins
54
-
55
- For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
48
+ For any issues and feedback, please [open an issue](https://github.com/binaryloader/fastlane-plugin-validate_ipa/issues).
56
49
 
57
- ## About _fastlane_
50
+ ## License
58
51
 
59
- _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
52
+ This plugin is available under the MIT license. See the [LICENSE](LICENSE) file for details.
@@ -24,8 +24,13 @@ module Fastlane
24
24
  split_result = output.split("\n")
25
25
  result = split_result[-1]
26
26
  plist = Plist.parse_xml(result)
27
+
28
+ if plist.nil?
29
+ UI.user_error!("Failed to parse altool output. Raw output:\n#{output}")
30
+ end
31
+
27
32
  errors = plist["product-errors"]
28
-
33
+
29
34
  if errors.nil?
30
35
  UI.success("IPA validation success => " + plist["success-message"])
31
36
  else
@@ -43,7 +48,7 @@ module Fastlane
43
48
  end
44
49
 
45
50
  def self.authors
46
- ["hacoma"]
51
+ ["binaryloader"]
47
52
  end
48
53
 
49
54
  def self.available_options
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ValidateIpa
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-validate_ipa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
- - hacoma
8
- autorequire:
7
+ - binaryloader
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-07-21 00:00:00.000000000 Z
10
+ date: 2026-02-14 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -150,8 +149,7 @@ dependencies:
150
149
  - - ">="
151
150
  - !ruby/object:Gem::Version
152
151
  version: '0'
153
- description:
154
- email: hacoma92@gmail.com
152
+ email: 152517454+binaryloader@users.noreply.github.com
155
153
  executables: []
156
154
  extensions: []
157
155
  extra_rdoc_files: []
@@ -162,11 +160,10 @@ files:
162
160
  - lib/fastlane/plugin/validate_ipa/actions/validate_ipa_action.rb
163
161
  - lib/fastlane/plugin/validate_ipa/helper/validate_ipa_helper.rb
164
162
  - lib/fastlane/plugin/validate_ipa/version.rb
165
- homepage: https://github.com/hacoma/fastlane-plugin-validate_ipa
163
+ homepage: https://github.com/binaryloader/fastlane-plugin-validate_ipa
166
164
  licenses:
167
165
  - MIT
168
166
  metadata: {}
169
- post_install_message:
170
167
  rdoc_options: []
171
168
  require_paths:
172
169
  - lib
@@ -181,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
178
  - !ruby/object:Gem::Version
182
179
  version: '0'
183
180
  requirements: []
184
- rubygems_version: 3.3.7
185
- signing_key:
181
+ rubygems_version: 3.6.2
186
182
  specification_version: 4
187
183
  summary: Validate the IPA using altool.
188
184
  test_files: []