Comments (7)
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.
@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.
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'
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.
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.
@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.
Have you tried putting your lane code to editor that is coloring syntax for ruby? There are 2 issues:
- 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/.
- There is an issue with parenthesis, you should remove the second one from
pilot(api_key: api_key),
- leavepilot(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.
@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)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 9
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in China’s ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
- if and switch expressions Swift HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.