Giter VIP home page Giter VIP logo

Comments (7)

lucgrabowski avatar lucgrabowski commented on April 27, 2024

Deliver option ipa takes a path to a specific file instead of a glob (*), so please use a path to one file instead of ipa:/Users/runner/work/1/a/**/*.ipa.
Also, make sure that you that ipa file is in build.artifactstagingdirectory.

from fastlane.

arpitmishra-eaton avatar arpitmishra-eaton commented on April 27, 2024

@lucgrabowski ipa file is in build.artifactstagingdirectory directory only. but when it execute in pipeline, it take the system path liek /users/runner/work/1/a/**/*.ipa

however, let me try with one specific path and revert back to you

from fastlane.

arpitmishra-eaton avatar arpitmishra-eaton commented on April 27, 2024

Hi @lucgrabowski - I have copied the IPA file and pasted it in "$(build.artifactstagingdirectory)" directory.

  • task: CopyFiles@1
    inputs:
    SourceFolder: '$(build.artifactstagingdirectory)/output/$(Configuration)'
    TargetFolder: '$(build.artifactstagingdirectory)'
    Contents: 'xxx.ipa'

    image

and modify the path
ipa:'$(build.artifactstagingdirectory)/BrightlayerHome.ipa' but still same error

2024-02-21T13:55:19.7614270Z [13:55:19]: �[32m------------------------------�[0m
2024-02-21T13:55:19.7639450Z [13:55:19]: �[32m--- Step: default_platform ---�[0m
2024-02-21T13:55:19.7682580Z [13:55:19]: �[32m------------------------------�[0m
2024-02-21T13:55:19.7708360Z [13:55:19]: �[32mDriving the lane 'ios release' 🚀�[0m
2024-02-21T13:55:19.7736480Z [13:55:19]: �[32m---------------------------------------�[0m
2024-02-21T13:55:19.7772480Z [13:55:19]: �[32m--- Step: app_store_connect_api_key ---�[0m
2024-02-21T13:55:19.7814610Z [13:55:19]: �[32m---------------------------------------�[0m
2024-02-21T13:55:19.8086190Z [13:55:19]: �[32m-------------------�[0m
2024-02-21T13:55:19.8086990Z [13:55:19]: �[32m--- Step: pilot ---�[0m
2024-02-21T13:55:19.8087390Z [13:55:19]: �[32m-------------------�[0m
2024-02-21T13:55:19.8096370Z [13:55:19]: Creating authorization token for App Store Connect API
2024-02-21T13:55:19.8123130Z +--------------------------------+
2024-02-21T13:55:19.8124530Z | �[33mLane Context�[0m |
2024-02-21T13:55:19.8125100Z +------------------+-------------+
2024-02-21T13:55:19.8125350Z | DEFAULT_PLATFORM | ios |
2024-02-21T13:55:19.8125550Z | PLATFORM_NAME | ios |
2024-02-21T13:55:19.8125710Z | LANE_NAME | ios release |
2024-02-21T13:55:19.8126010Z +------------------+-------------+
2024-02-21T13:55:19.8126370Z [13:55:19]: �[31mNo ipa or pkg file given�[0m
2024-02-21T13:55:19.8846710Z
2024-02-21T13:55:19.8857050Z +------------------------------------------------+
2024-02-21T13:55:19.8864640Z | �[32mfastlane summary�[0m |
2024-02-21T13:55:19.8865940Z +------+---------------------------+-------------+
2024-02-21T13:55:19.8866640Z | Step | Action | Time (in s) |
2024-02-21T13:55:19.8867320Z +------+---------------------------+-------------+
2024-02-21T13:55:19.8867980Z | 1 | default_platform | 0 |
2024-02-21T13:55:19.8868620Z | 2 | app_store_connect_api_key | 0 |
2024-02-21T13:55:19.8869450Z | 💥 | �[31mpilot�[0m | 0 |
2024-02-21T13:55:19.8871570Z +------+---------------------------+-------------+
2024-02-21T13:55:19.8872760Z
2024-02-21T13:55:19.8874210Z [13:55:19]: �[31mfastlane finished with errors�[0m
2024-02-21T13:55:19.8874970Z �[31m

from fastlane.

lucgrabowski avatar lucgrabowski commented on April 27, 2024

I don't think that it's fastlane related issue. I think that you should debug your pipeline. Try publishing build artifacts with PublishBuildArtifacts and check if ipa files is published.

from fastlane.

arpitmishra-eaton avatar arpitmishra-eaton commented on April 27, 2024

@lucgrabowski I'm able to download the same artifact published from the build pipeline. I tried to modify the Fastlane file as well but didn't work.

Can you kindly help with fixing this issue and validate whether we have correctly configured Fastlane and the path to upload IPA to App Store?

from fastlane.

lucgrabowski avatar lucgrabowski commented on April 27, 2024

Have you tried putting your lane code to editor that is coloring syntax for ruby? There are 2 issues:

  1. Use either pilot or deliver as it's an alias to the same action. Take a look at examples at: http://docs.fastlane.tools/actions/pilot/.
  2. There is an issue with parenthesis, you should remove the second one from pilot(api_key: api_key), - leave pilot(api_key: api_key,
api_key = app_store_connect_api_key(
    key_id: options[:key_id],
    issuer_id: options[:issuer-id],
    key_filepath: options[:filepath],
    ),
pilot(
    api_key: api_key,
    ipa: options[:ipa],
    automatic_release: true,
    skip_binary_upload: false, 
    force: true,
    build_number: options[:build_number],
    submit_for_review: true,
    team_id: options[:team_id],
    app_version: options[:app_version],
    app_identifier: options[:app_identifier],
    metadata_path: options[:metadata_path],
    skip_screenshots: true,
    overwrite_screenshots: false,
    precheck_include_in_app_purchases: false,
    # https://github.com/artsy/eigen/blob/faa02e2746194d8d7c11899474de9c517435eca4/fastlane/Fastfile#L131-L149
    submission_information: {
        add_id_info_uses_idfa: false,
    }      
)

from fastlane.

lacostej avatar lacostej commented on April 27, 2024

@arpitmishra-eaton In the example above, it seems that you still have the syntax error in the :issuer-id symbol I pointed to in #21883. So I suspect your issue description is out of sync with the current state of your code.

I recommend that you try to run fastlane lanes or fastlane doc on your project. I believe it should fail if you have a syntax error. Start by making sure you have a properly written fastfile and helper code. To make sure your output isn't cluttered, do FASTLANE_SKIP_UPDATE_CHECK=y fastlane doc

Note: this is the 4th issue you have opened in a few days for errors that do not reside in fastlane. I prefer if we reserve the issue tracker for real issues in fastlane. Thanks!

from fastlane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.