Login to https://appleid.apple.com/ Generate APP-SPECIFIC PASSWORD Save generated password as later it will not be able to view and edit Use generated password in the altool . Example: xcrun altool --validate-app -f best/my/app.ipa -u username@mail.com -p "APP-SPECIFIC-PASSWORD" Notes: After changing users password all app specific passwords will be revoked.
To increment build number in the Xcode Server I am using Set: Current Project Version = 1 and Version System = Apple Generic . Can be found more in Apple documentation . Right click on the bot and choose Edit Bot... Open Triggers tab and add Pre-Integration Script Give a name (example: Set Build Version) and write script: # Change directory to project path cd $XCS_PRIMARY_REPO_DIR # Set build version same as integration number xcrun agvtool new-version -all $XCS_INTEGRATION_NUMBER
This comment has been removed by the author.
ReplyDelete