Hello,
is any possibility to export ipa file name with number version? I want to create file like that:
[PROJECT_NAME]_[APP_VERSION].ipa
Regards
Hello,
is any possibility to export ipa file name with number version? I want to create file like that:
[PROJECT_NAME]_[APP_VERSION].ipa
Regards
Hi Salesbook!
For this, you will need to fetch the version of the app from the Info.plist first, and change the “Generated Artifact Name” input in the “Xcode Archive & Export for iOS” step.
You can get the version of the app from the Info.plist with one of our community steps:
Add the “Xcode Project Info” step before the “Xcode Archive & Export for iOS” step.
Set the path of the Info.plist file (most of the time it’s {IOS_PROJECT_NAME}/info.plist
)
{IOS_PROJECT_NAME}_$XPI_VERSION
sandbox_deploy-development:
steps:
- activate-ssh-key:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- cache-pull: {}
- ios-auto-provision@1.3.1:
inputs:
- generate_profiles: 'yes'
- team_id: "$DEVELOPER_TEAM"
- xcode-project-info@2.0.0:
inputs:
- info_plist_path: $PROJECT_NAME/Info.plist
- xcode-archive:
inputs:
- artifact_name: $PROJECT_NAME_$XPI_VERSION
- export_method: "$BITRISE_EXPORT_METHOD"
- deploy-to-bitrise-io:
inputs:
- notify_user_groups: none
- cache-push: {}
The above-given details will definitely help you and the main thing is that you need to modify the code to get it accessible and also it will run properly. The Xcode project info will help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.