Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 329 Bytes

更新Launch.storeyboard上的版本号.md

File metadata and controls

7 lines (6 loc) · 329 Bytes

更新Launch.storyboard的版本号的脚本

# Output version & build number to the APP_VERSION label on LaunchScreen.storyboard
versionNumber="$MARKETING_VERSION"

sed -i "" -e "/userLabel=\"APP_VERSION\"/s/text=\"[^\"]*\"/text=\"V$versionNumber\"/" "$PROJECT_DIR/$PROJECT_NAME/Resources/Launch Screen.storyboard"