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)
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
- TestFairy Action Fails with NoMethodError for key? Method on String
- Unable to ^C in response to 'Could not find fastlane ... Would you like to set fastlane up?'
- Match CLI Doc wrong? HOT 1
- [Sigh] Creating tvos provisioning profile fails when fetching devices. HOT 1
- `fastlane build_app` does not apply Flutter Flavor / Xcode Scheme HOT 1
- `fastlane match appstore` fails when generating tvOS profile HOT 2
- cert blocks sig 9
- You appear to have CocoaPods installed but it is not working. HOT 1
- exportArchive app requires a provisioning profile with the Access Wi-Fi Information, Hotspot, and Push Notifications features. 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.