Only Perform Configuration Check if Project is Defined
Only Perform Configuration Check if Project is Defined

The 'xcodebuild -list' command will not list out configurations for
workspaces, which causes the configuration validation to fail. With
this change, if you're building a workspace, xcodebuild will use the
default configuration (seems to be Release, which should be fine).
However, you can still specify Debug in the ipa options and it will
adhere to them.

DouKing/shenzhen,iAladdin/shenzhen,sibext/shenzhen,cnbin/shenzhen,moongtaeng/shenzhen,fastlane/shenzhen,dacaiguoguo/shenzhen,robertfalconer/shenzhen,RobinChao/shenzhen,irons/shenzhen,yuByte/shenzhen,Ruenzuo/shenzhen,1yvT0s/shenzhen,mbaltaks/shenzhen,smalltownheroes/shenzhen,benzguo/shenzhen,laoyoutiao/shenzhen,bobgodwinx/shenzhen,msdgwzhy6/shenzhen,yaoxiaoyong/shenzhen,aenglund/shenzhen,xingfukun/shenzhen,stepanhruda/shenzhen,vinod1988/shenzhen,nomad/shenzhen,yunheli/shenzhen,osterzel/shenzhen,ngs/shenzhen