Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run this plugin #1

Open
okanerdogan09 opened this issue Oct 2, 2017 · 6 comments
Open

how to run this plugin #1

okanerdogan09 opened this issue Oct 2, 2017 · 6 comments

Comments

@okanerdogan09
Copy link

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.

@tbrand
Copy link
Owner

tbrand commented Oct 2, 2017

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,
  )

@okanerdogan09
Copy link
Author

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.

@tbrand
Copy link
Owner

tbrand commented Oct 2, 2017

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.
2017-10-02 23 42 53

I also updated README.md, please refer to see how to specify the option.
Thanks!

@okanerdogan09
Copy link
Author

how can upgrade plugin to this new version?

@moatazeldebsy
Copy link

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

@karthikjothinath
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants