iOS Development

ios – Fastlane Precheck fails with sudden error. Can I skip it?

Spread the love


Fastlane is being brittle.. once more.. it’s blocking the discharge of my app. Is there any solution to skip precheck?

What I’ve tried:

  • setting all settings to skip for precheck
  • looking the precheck and ship documentation

Right here is the output of bundle exec fastlane precheck, any concepts or recommendations can be vastly appreciated!

 developer@developer-MacBook-Professional  ~/Tasks/someApp   grasp ●  bundle exec fastlane precheck                                                             1 ↵  536  17:47:17 
[✔] 🚀 
[17:47:32]: Efficiently loaded '/Customers/somedeveloper/Tasks/someApp/fastlane/Precheckfile' 📄

+------------------------------------------------+
| Detected Values from './fastlane/Precheckfile' |
+--------------------------+---------------------+
| negative_apple_sentiment | {:stage=>:skip}     |
| curse_words              | {:stage=>:skip}     |
| future_functionality     | {:stage=>:skip}     |
| other_platforms          | {:stage=>:skip}     |
| placeholder_text         | {:stage=>:skip}     |
| test_words               | {:stage=>:skip}     |
| unreachable_urls         | {:stage=>:skip}     |
+--------------------------+---------------------+


+------------------------------------------------------------+
|                Abstract for precheck 2.219.0                |
+--------------------------------+---------------------------+
| app_identifier                 | com.someApp|
| username                       | [email protected]  |
| team_id                        | 11111111                 |
| platform                       | ios                       |
| default_rule_level             | error                     |
| include_in_app_purchases       | true                      |
| use_live                       | false                     |
| negative_apple_sentiment.stage | skip                      |
| placeholder_text.stage         | skip                      |
| other_platforms.stage          | skip                      |
| future_functionality.stage     | skip                      |
| test_words.stage               | skip                      |
| curse_words.stage              | skip                      |
| unreachable_urls.stage         | skip                      |
+--------------------------------+---------------------------+

[17:47:32]: Beginning login with consumer '[email protected]'
[17:47:35]: Efficiently logged in
[17:47:35]: Checking app for precheck rule violations
[17:47:38]: Studying in-app purchases. When you have so much, this would possibly take some time
[17:47:38]: You possibly can disable IAP checking by setting the `include_in_app_purchases` flag to `false`

On the lookout for associated GitHub points on fastlane/fastlane...

➡️  Fastlane Precheck Failure - Surprising Response
    https://github.com/fastlane/fastlane/points/21866 [open] 0 💬
    a day in the past

➡️  [spaceship] Creation of in-app purchases returns NotFound error
    https://github.com/fastlane/fastlane/points/19140 [open] 10 💬
    04 Aug 2021

➡️  create InAppPurchase product failure
    https://github.com/fastlane/fastlane/points/20933 [open] 3 💬
    24 Jun 2023

and 23 extra at: https://github.com/fastlane/fastlane/search?q=%7Bpercent22datapercent22percent3Dpercent3Enilpercent2Cpercent20percent22messagespercent22percent3Dpercent3Epercent7Bpercent22warnpercent22percent3Dpercent3Enilpercent2Cpercent20percent22errorpercent22percent3Dpercent3Epercent5Bpercent22Notpercent20Foundpercent22percent5Dpercent2Cpercent20percent22infopercent22percent3Dpercent3Enilpercent7Dpercent2Cpercent20percent22statusCodepercent22percent3Dpercent3Epercent22ERRORpercent22percent7D&kind=Points&utf8=✓

🔗  You possibly can ⌘ + double-click on hyperlinks to open them instantly in your browser.
bundler: didn't load command: fastlane (/usr/native/bin/fastlane)
Spaceship::UnexpectedResponse: [!] {"information"=>nil, "messages"=>{"warn"=>nil, "error"=>["Not Found"], "data"=>nil}, "statusCode"=>"ERROR"}
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/spaceship/lib/spaceship/shopper.rb:793:in `parse_response'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/spaceship/lib/spaceship/tunes/tunes_client.rb:1320:in `load_iap'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/spaceship/lib/spaceship/tunes/iap_list.rb:59:in `edit'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/rule_processor.rb:166:in `block in generate_app_items_to_check'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/rule_processor.rb:165:in `every'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/rule_processor.rb:165:in `generate_app_items_to_check'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/rule_processor.rb:47:in `process_app_and_version'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/runner.rb:126:in `check_for_rule_violations'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/runner.rb:58:in `run'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/commands_generator.rb:42:in `block (2 ranges) in run'
  /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `name'
  /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
  /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
  /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/commands_generator.rb:72:in `run'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/precheck/lib/precheck/commands_generator.rb:20:in `begin'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
  /Library/Ruby/Gems/2.6.0/gems/fastlane-2.219.0/bin/fastlane:23:in `<high (required)>'
  /usr/native/bin/fastlane:23:in `load'
  /usr/native/bin/fastlane:23:in `<high (required)>'

Leave a Reply

Your email address will not be published. Required fields are marked *