ios - xcodebuild equivalent of Xcode's "Product > Build For > Testing" -
i'm trying write script submits ios apps appthwack (a 'real device' ui testing service). guidance use xcode gui , build app using build > testing
option in xcode product
menu. works, haven't been able translate xcodebuild
equivalent.
more generally, how determine arguments xcode passing xcodebuild (assuming uses tool).
this possible of xcode 8 (in beta @ time of writing). use build-for-testing
.
example:
xcodebuild -workspace <workspace> -scheme <scheme> -destination 'generic/platform=ios' build-for-testing
to switch beta version of xcodebuild, use xcode-select
:
sudo xcode-select -switch /applications/xcode-beta.app/contents/developer
Comments
Post a Comment