Turns out I was auto-incrementing the build number inside my script file to my .xcodeproj file. due to that Xcode is canceling my script.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: