Bitrise Build Issue Report template
Description of the issue
- I added Xcode Project Info step
- XPI_VERSION returns $MARKETING_VERSION in place of the actual app version
Environment:
Last available stack Xcode 11.2.x
Which build Step causes the issue and which version of the step?
Xcode Project Info 2.0.0
Reproducibility
Always
Hello,
Do we have any update on this ?
Bug is still reproducible
This is affecting us too. An update on progress for a fix would be greatly appreciated.
You guys can use a different script:
#!/bin/bash
projectFilePath=$BITRISE_SOURCE_DIR/YourProjectPath/project.pbxproj
version_number=`sed -n '/MARKETING_VERSION/{s/MARKETING_VERSION = //;s/;//;s/^[[:space:]]*//;p;q;}' $projectFilePath`
envman add --key MARKETING_VERSION_REVISED --value $version_number
Then you can use $MARKETING_VERSION_REVISED in the next workflow steps.
1 Like
system
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.