File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class BuildIosCommand extends BuildCommandBase implements ICommand {
9797
9898 super . validatePlatform ( platform ) ;
9999
100- let result = await super . canExecuteCommandBase ( platform ) ;
100+ let result = await super . canExecuteCommandBase ( platform , { notConfiguredEnvOptions : { hideSyncToPreviewAppOption : true } } ) ;
101101 if ( result . canExecute ) {
102102 result = await super . validateArgs ( args , platform ) ;
103103 }
@@ -129,7 +129,7 @@ export class BuildAndroidCommand extends BuildCommandBase implements ICommand {
129129 const platform = this . $devicePlatformsConstants . Android ;
130130 super . validatePlatform ( platform ) ;
131131
132- let result = await super . canExecuteCommandBase ( platform ) ;
132+ let result = await super . canExecuteCommandBase ( platform , { notConfiguredEnvOptions : { hideSyncToPreviewAppOption : true } } ) ;
133133 if ( result . canExecute ) {
134134 if ( this . $options . release && ( ! this . $options . keyStorePath || ! this . $options . keyStorePassword || ! this . $options . keyStoreAlias || ! this . $options . keyStoreAliasPassword ) ) {
135135 this . $errors . fail ( ANDROID_RELEASE_BUILD_ERROR_MESSAGE ) ;
You can’t perform that action at this time.
0 commit comments