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
Rollback/remove commits If we have log like shown below. And we want to remove commit with name <commit_sha1>. git log commit <commit_sha1> ... commit <commit_sha2> ... Then we could execute this lines: git rebase -i HEA D ^^ or git rebase -i <commit_sha2> Rollback file You can quickly review the changes made to a file using the diff command: git difftool <commit_sha> <file_name> -y git diff <commit_sha> <file_name> Then to revert a specific file to that commit use the reset command: git reset <commit_sha> <file_name> Then commit the change: git commit Then checkout latest version for the file: git checkout <file_name> git: undo a merge? After executing this command our master branch will look identical to origin/master: git reset --hard origin/master With git log we can check which commit is one prior the merge. Then you we can reset it usi
Comments
Post a Comment