ios - xcode command line test with argument passed at launch -


i have small problem implementing xcodebuild command test @ ci. have tests related specific device language, in xcode can set "arguments passed on launch" -applelanguages (language). can pass argument using xcodebuild?

my script looks

xcodebuild -workspace myapp.xcworkspace -scheme "myapptests" -sdk iphonesimulator -destination 'platform=ios simulator,name=iphone 6,os=9.0' test 

thanks!

xcodebuild build app. can use command run app specific language.

xcrun simctl launch <deviceid> <appid> -applelanguages "(pt-br)" 

hera sample steps buil , run app:

xcodebuild -sdk iphonesimulator8.4 -arch i386 install dstroot=yourappfolder xcrun instruments -w "iphone 6 (8.4 simulator)" xcrun simctl install booted yourappfolder/applications/yourapp.app xcrun simctl launch booted com.yourdomain.yourapp -applelanguages "(pt-br)" 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -