MobileNativeFoundation / bluepill

Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
BSD 2-Clause "Simplified" License
3.18k stars 231 forks source link

Unable to Use Bluepill Fastlane #505

Closed avinashnarra closed 2 years ago

avinashnarra commented 2 years ago

I am trying to use Bluepill Fastlane. but seeing below error.

[!] Could not find option 'scheme' in the list of available options: xctestrun, output_dir, app, device, headless, number_of_simulators, reuse_simulator

Could you please take care of this issue,once this issue is resolved it would help us a lot.

@RainNapper @ob @bayareabear @oliverhu

ob commented 2 years ago

This doesn't look like a bluepill error... are you sure it isn't a fastlane error?

avinashnarra commented 2 years ago

As far as my understanding , its not fastlane error.Based on documentation we have to include scheme and when i am trying to run it is showing above error which is coming from blupill plugin options.The same issue has been reported by some other person too.

Whats your opinion?

@ob

ob commented 2 years ago

What documentation are you referring to? As far as I know, Bluepill doesn't have a --scheme option, which is what the error message is telling you. If fastlane is passing a --scheme flag (or config option) it should not do that and use --xctestrun instead.

avinashnarra commented 2 years ago

Hi ,

I was following the fast lane bluepill documentation.There was an option of scheme and also if I donot specify scheme it says scheme option is missing.

On Fri, Aug 13, 2021, 12:55 AM Oscar Bonilla @.***> wrote:

What documentation are you referring to? As far as I know, Bluepill doesn't have a --scheme option, which is what the error message is telling you. If fastlane is passing a --scheme flag (or config option) it should not do that and use --xctestrun instead.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MobileNativeFoundation/bluepill/issues/505#issuecomment-898190549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGYJXQ4K7UVWJPZBVFP6XPTT4SQURANCNFSM5A7JXB2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

avinashnarra commented 2 years ago

Hi,

I was following below documentation mentioned under bluepill-fastlane section. https://github.com/tbrand/fastlane-plugin-bluepill

On Fri, Aug 13, 2021, 12:55 AM Oscar Bonilla @.***> wrote:

What documentation are you referring to? As far as I know, Bluepill doesn't have a --scheme option, which is what the error message is telling you. If fastlane is passing a --scheme flag (or config option) it should not do that and use --xctestrun instead.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MobileNativeFoundation/bluepill/issues/505#issuecomment-898190549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGYJXQ4K7UVWJPZBVFP6XPTT4SQURANCNFSM5A7JXB2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

ob commented 2 years ago

I think the problem is with the fastlane plugin... that "scheme option is missing error" is probably coming from here. I'd file an issue (or better yet a PR) in the fastlane-plugin-bluepill repository mentioning that bluepill no longer has an --scheme argument. Passing in the --xctestrun arg should suffice.