fastlane-plugin-bluepill
fastlane-plugin-bluepill copied to clipboard
how to run this plugin
Hi i want to use this plugin. Have some question though
-
do i need to build for testing before test
-
scheme and app is not clear for me can you please give some details.
do i need to build for testing before test
Yap, you have to build it and create .app file.
scheme and app is not clear for me can you please give some details.
app
is a path to the .app file.
scheme
is a path to the .xcscheme of your project.
See an example in README.md
bluepill(
app: 'path/to/SomeApp.app',
scheme: 'path/to/SomeApp.xcscheme',
output_dir: 'path/to/output_dir',
device: 'iPhone 6',
number_of_simulators: 2,
headless: true,
reuse_simulator: true,
)
Thanks for your quick reply.
Does it support XCUITest ?
bluepill( app: '/Users/xxx/ios-repo/app/builds/Build/Products/Debug-iphonesimulator/xxxx.app', scheme: "/Users/xxxxx/ios-repo/ios-app/lounge/lounge.xcodeproj/xcshareddata/xcschemes/xxxxx.xcscheme", output_dir: '/Users/xxxxxx/ios-repo/ios-app/output_dir', device: 'iPhone 6', number_of_simulators: 5, headless: true, reuse_simulator: false, )
and i get ---- Packing failed: Found no XCTest files.
Oops, I may did some mis-implementation.
There is no option from -s
in https://github.com/linkedin/bluepill but I did at https://github.com/tbrand/fastlane-plugin-bluepill/blob/master/lib/fastlane/plugin/bluepill/actions/bluepill_action.rb#L9.
May be it should be replaced by xctestrun-path
option.
I've released new version 0.1.4 now
Could you try this?
Then please remove .xcscheme
and put .xctestrun
into the options.
I also updated README.md, please refer to see how to specify the option. Thanks!
how can upgrade plugin to this new version?
I have a problem when try to run from Fastlane
[!] Could not find option 'scheme' in the list of available options: xctestrun, output_dir, app, device, headless, number_of_simulators, reuse_simulator
Is this fastlane run implementation working ? @FelipeDocil @tbrand
We are also receiving this error [!] Could not find option 'scheme' in the list of available options: xctestrun, output_dir, app, device, headless, number_of_simulators, reuse_simulator