[msbuild] pass --target-platform=<platform> to copySceneKitAssets (#4630)

The copySceneKitAssets program has a poor command-line options
parser that cannot handle --target-platform and its argument
being 2 separate arguments, they have to be combined with an '='.

Fixes https://github.com/xamarin/xamarin-macios/issues/4467
This commit is contained in:
Jeffrey Stedfast 2018-08-20 08:40:11 -04:00 коммит произвёл Sebastien Pouliot
Родитель a619226b36
Коммит 2d25af6412
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -115,7 +115,7 @@ namespace Xamarin.MacDev.Tasks
if (AppleSdkSettings.XcodeVersion.Major >= 10) {
var platform = PlatformUtils.GetTargetPlatform (SdkPlatform, IsWatchApp);
if (platform != null)
args.Add ("--target-platform", platform);
args.AddQuotedFormat ("--target-platform={0}", platform);
args.AddQuotedFormat ("--target-version={0}", SdkVersion);
} else {