[net8.0-xcode15] Merge net8.0 into net8.0-xcode15.

This commit is contained in:
Rolf Bjarne Kvinge 2023-09-14 07:25:58 +02:00
Родитель c0fa5c9f94 e380e752f4
Коммит be6c348cfd
96 изменённых файлов: 1562 добавлений и 178 удалений

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

@ -52,13 +52,50 @@
<FirstParty Include="Mono.Options.dll" />
<FirstParty Include="Xamarin.*.dll" />
<!-- mlaunch.app MonoBundle content-->
<FirstParty Include="mlaunch.exe" />
<FirstParty Include="Mono.Security.dll" />
<FirstParty Include="mscorlib.dll" />
<FirstParty Include="System.Core.dll" />
<FirstParty Include="Microsoft.macOS.dll" />
<FirstParty Include="mlaunch.dll" />
<FirstParty Include="System.Collections.Concurrent.dll" />
<FirstParty Include="System.Collections.dll" />
<FirstParty Include="System.Collections.Immutable.dll" />
<FirstParty Include="System.Collections.NonGeneric.dll" />
<FirstParty Include="System.Collections.Specialized.dll" />
<FirstParty Include="System.ComponentModel.Primitives.dll" />
<FirstParty Include="System.ComponentModel.TypeConverter.dll" />
<FirstParty Include="System.Console.dll" />
<FirstParty Include="System.Diagnostics.DiagnosticSource.dll" />
<FirstParty Include="System.Diagnostics.Process.dll" />
<FirstParty Include="System.Diagnostics.StackTrace.dll" />
<FirstParty Include="System.dll" />
<FirstParty Include="System.Numerics.dll" />
<FirstParty Include="System.Xml.dll" />
<FirstParty Include="System.Formats.Asn1.dll" />
<FirstParty Include="System.IO.Compression.Brotli.dll" />
<FirstParty Include="System.IO.Compression.dll" />
<FirstParty Include="System.IO.MemoryMappedFiles.dll" />
<FirstParty Include="System.IO.Pipes.dll" />
<FirstParty Include="System.Linq.dll" />
<FirstParty Include="System.Net.Http.dll" />
<FirstParty Include="System.Net.HttpListener.dll" />
<FirstParty Include="System.Net.NameResolution.dll" />
<FirstParty Include="System.Net.NetworkInformation.dll" />
<FirstParty Include="System.Net.Primitives.dll" />
<FirstParty Include="System.Net.Quic.dll" />
<FirstParty Include="System.Net.Requests.dll" />
<FirstParty Include="System.Net.Security.dll" />
<FirstParty Include="System.Net.ServicePoint.dll" />
<FirstParty Include="System.Net.Sockets.dll" />
<FirstParty Include="System.Net.WebHeaderCollection.dll" />
<FirstParty Include="System.ObjectModel.dll" />
<FirstParty Include="System.Private.CoreLib.dll" />
<FirstParty Include="System.Private.Uri.dll" />
<FirstParty Include="System.Private.Xml.dll" />
<FirstParty Include="System.Reflection.Metadata.dll" />
<FirstParty Include="System.Runtime.Numerics.dll" />
<FirstParty Include="System.Security.Claims.dll" />
<FirstParty Include="System.Security.Cryptography.dll" />
<FirstParty Include="System.Text.RegularExpressions.dll" />
<FirstParty Include="System.Threading.Channels.dll" />
<FirstParty Include="Xamarin.Hosting.dll" />
<FirstParty Include="Xamarin.Localization.Mlaunch.dll" />
<FirstParty Include="Xamarin.Localization.Mlaunch.resources.dll" />
<!-- Microsoft.iOS.Windows.Sdk content -->
<FirstParty Include="iSign.Core.dll" />
<FirstParty Include="System.Diagnostics.Tracer.dll" />

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

@ -10,6 +10,7 @@
<UsingTask TaskName="Xamarin.MacDev.Tasks.CompileNativeCode" AssemblyFile="$(_XamarinTaskAssembly)" />
<UsingTask TaskName="Xamarin.MacDev.Tasks.FilterStaticFrameworks" AssemblyFile="$(_XamarinTaskAssembly)" />
<UsingTask TaskName="Xamarin.MacDev.Tasks.FindAotCompiler" AssemblyFile="$(_XamarinTaskAssembly)" />
<UsingTask TaskName="Xamarin.MacDev.Tasks.GetFullPaths" AssemblyFile="$(_XamarinTaskAssembly)" />
<UsingTask TaskName="Xamarin.MacDev.Tasks.InstallNameTool" AssemblyFile="$(_XamarinTaskAssembly)" />
<UsingTask TaskName="Xamarin.MacDev.Tasks.LinkNativeCode" AssemblyFile="$(_XamarinTaskAssembly)" />
<UsingTask TaskName="Xamarin.MacDev.Tasks.MergeAppBundles" AssemblyFile="$(_XamarinTaskAssembly)" />
@ -165,11 +166,6 @@
<TargetPlatformSupported Condition=" '$(TargetPlatformIdentifier)' == '$(_PlatformName)' ">true</TargetPlatformSupported>
</PropertyGroup>
<PropertyGroup Condition="'$(_GlobalizationDataFileLocation)' == ''">
<_GlobalizationDataFileLocation Condition="'$(_UseNativeAot)' == 'true'">Resource</_GlobalizationDataFileLocation>
<_GlobalizationDataFileLocation Condition="'$(_UseNativeAot)' != 'true'">Assembly</_GlobalizationDataFileLocation>
</PropertyGroup>
<!-- dotnet publish -->
<Import Project="Xamarin.Shared.Sdk.Publish.targets" />
@ -774,8 +770,49 @@
<Output TaskParameter="FrameworkToPublish" ItemName="_FilteredFrameworkToPublish" />
</FilterStaticFrameworks>
<!--
We need to use the full path to the framework for frameworks that
come from app extensions (since any relative paths from the app
extension projects won't be correct once loaded into the
containing project), so compute that. However, also do this for
app projects, so that we can properly deduplicate frameworks that
come from both extensions and the main app project.
-->
<GetFullPaths
Condition="'$(IsMacEnabled)' == 'true'"
SessionId="$(BuildSessionId)"
Items="@(_FilteredFrameworkToPublish)"
Metadata="Identity;SourceDirectory"
>
<Output TaskParameter="Output" ItemName="_FilteredFrameworkToPublishWithFullPath" />
</GetFullPaths>
<!-- If we're an app extension, store the list of all the frameworks to disk (and don't publish any of them to the appex) -->
<!-- Note that app extensions may be nested, so we first check if we have any app extensions with frameworks, read those, then store the full list to disk if we're an app extension, so the containing app project sees everything -->
<ReadItemsFromFile File="@(_ResolvedAppExtensionReferences->'%(Identity)\..\native-frameworks.items')" Condition="Exists('%(Identity)\..\native-frameworks.items')">
<Output TaskParameter="Items" ItemName="_FrameworksFromAppExtensions" />
</ReadItemsFromFile>
<WriteItemsToFile
Condition="'$(IsAppExtension)' == 'true'"
Items="@(_FilteredFrameworkToPublishWithFullPath);@(_FrameworksFromAppExtensions)"
ItemName="_FrameworksFromAppExtensions"
File="$(DeviceSpecificOutputPath)\native-frameworks.items"
IncludeMetadata="true"
Overwrite="true"
/>
<ItemGroup>
<_DirectoriesToPublish Include="@(_FilteredFrameworkToPublish)" />
<_FrameworksFromAppExtensions Update="@(_FrameworksFromAppExtensions)">
<TargetDirectory>$(_RelativePublishDir)$(_AppBundleFrameworksDir)\%(Filename)%(Extension).framework</TargetDirectory>
</_FrameworksFromAppExtensions>
</ItemGroup>
<ItemGroup>
<_DirectoriesToPublish Include="@(_FrameworksFromAppExtensions)" Condition="'$(IsAppExtension)' != 'true'" />
<_DirectoriesToPublish Include="@(_FilteredFrameworkToPublishWithFullPath)" Condition="'$(IsAppExtension)' != 'true'" />
</ItemGroup>
</Target>
@ -1066,6 +1103,13 @@
<_RuntimeConfigurationFile>runtimeconfig.bin</_RuntimeConfigurationFile>
</PropertyGroup>
<!-- Not sure about how to handle nested app extensions here, but if it ever becomes a problem we can look into it (I believe only watch extensions can have embedded extensions at this point, and we don't support watchOS on .NET anyways) -->
<ItemGroup Condition="'$(IsAppExtension)' == 'true'">
<_CustomLinkFlags Include="-rpath" />
<_CustomLinkFlags Include="@executable_path/../../Frameworks" Condition="'$(_PlatformName)' == 'iOS' Or '$(_PlatformName)' == 'tvOS'" />
<_CustomLinkFlags Include="@executable_path/../../../../Frameworks" Condition="'$(_PlatformName)' == 'macOS' Or '$(_PlatformName)' == 'MacCatalyst'" />
</ItemGroup>
<ItemGroup>
<!-- Select the native libraries from mono we need to link with and potentially copy into the app -->
<_MonoLibrary
@ -1090,7 +1134,6 @@
<!-- List all the properties passed to xamarin_bridge_vm_initialize in xamarin_vm_initialize (in runtime.m) -->
<_RuntimeConfigReservedProperties Include="APP_PATHS" />
<_RuntimeConfigReservedProperties Include="PINVOKE_OVERRIDE" />
<_RuntimeConfigReservedProperties Include="ICU_DAT_FILE_PATH" />
<_RuntimeConfigReservedProperties Include="TRUSTED_PLATFORM_ASSEMBLIES" />
<_RuntimeConfigReservedProperties Include="NATIVE_DLL_SEARCH_DIRECTORIES" />
<_RuntimeConfigReservedProperties Include="RUNTIME_IDENTIFIER" />
@ -1692,7 +1735,7 @@
'%(ResolvedFileToPublish.Filename)%(ResolvedFileToPublish.Extension)' == '$(_GlobalizationDataFile)' And
'%(ResolvedFileToPublish.NuGetPackageId)' == '$(_MonoNugetPackageId)'
"
PublishFolderType="$(_GlobalizationDataFileLocation)"
PublishFolderType="Assembly"
/>
<!-- Remove the libxamarin-*.dylib files we don't want -->
@ -1754,7 +1797,7 @@
PublishFolderType="Assembly"
/>
<ResolvedFileToPublish Remove="@(_CreateDumpExecutable)" />
<ResolvedFileToPublish Include="@(_CreateDumpExecutable)" />
<ResolvedFileToPublish Include="@(_CreateDumpExecutable)" Condition="'$(BundleCreateDump)' == 'true'" />
<!-- Remove any dylibs Mono told us not to link with -->
<ResolvedFileToPublish
@ -1867,7 +1910,7 @@
<Target Name="_ComputeCodesignItems"
Outputs="$(_CodesignItemsPath)"
>
<ItemGroup Condition="'$(_RequireCodeSigning)' == 'true'">
<ItemGroup Condition="'$(_RequireCodeSigning)' == 'true' And '$(BundleCreateDump)' == 'true'">
<!-- The 'createdump' executable must be signed. -->
<!-- Ref: https://github.com/xamarin/xamarin-macios/issues/13417 -->
<_CreateDumpExecutableToSign Include="@(_CreateDumpExecutable -> '$(_DylibPublishDir)%(RelativePath)')" KeepMetadata="false">

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

@ -1,8 +1,8 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="8.0.100-rc.2.23455.10">
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="8.0.100-rc.2.23462.1">
<Uri>https://github.com/dotnet/installer</Uri>
<Sha>096a36b4b25ee54d00938076f467f3696a295104</Sha>
<Sha>a6b903004774fb1b4e638f47c602fc968b43a8c0</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="8.0.0-rc.2.23431.9" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Uri>https://github.com/dotnet/runtime</Uri>
@ -14,9 +14,9 @@
<Sha>3c48925a6c1ab31865b4438a6cb88242d1a8fe4d</Sha>
</Dependency>
<!-- This is required for our test apps to build; in some cases Microsoft.AspNetCore.App is pulled in, and when building test apps the build needs to be able to resolve that -->
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="8.0.0-rc.2.23454.12" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="8.0.0-rc.2.23455.8" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Uri>https://github.com/dotnet/aspnetcore</Uri>
<Sha>51367f6a3e11cea553857d4c18aa5287b3e47bc6</Sha>
<Sha>2772a78349d08056eacbb229dfec342ca8b69664</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport" Version="8.0.0-rc.1.23415.5" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Uri>https://github.com/dotnet/emsdk</Uri>
@ -27,21 +27,21 @@
<Sha>fa5acbd2ccba88c9d46ce0dd8f5310f9d3c5c46d</Sha>
</Dependency>
<!-- This is a subscription to the Xcode 13.3/14.0 version of our packages released with the initial release of .NET 7 -->
<Dependency Name="Microsoft.MacCatalyst.Sdk.net7.0_15.4" Version="15.4.2389-ci.release-test-multi-targetting-7-0-1xx-xcode13-3">
<Dependency Name="Microsoft.MacCatalyst.Sdk.net7.0_15.4" Version="15.4.2391-ci.release-7-0-1xx-xcode13-3-multi-targeting">
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
<Sha>380ca52b42d31d6df623cfc97abe45f1a85725ef</Sha>
<Sha>8d8aef87d5de1969068f5433482e25aaf0a5b44c</Sha>
</Dependency>
<Dependency Name="Microsoft.macOS.Sdk.net7.0_12.3" Version="12.3.2389-ci.release-test-multi-targetting-7-0-1xx-xcode13-3">
<Dependency Name="Microsoft.macOS.Sdk.net7.0_12.3" Version="12.3.2391-ci.release-7-0-1xx-xcode13-3-multi-targeting">
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
<Sha>380ca52b42d31d6df623cfc97abe45f1a85725ef</Sha>
<Sha>8d8aef87d5de1969068f5433482e25aaf0a5b44c</Sha>
</Dependency>
<Dependency Name="Microsoft.iOS.Sdk.net7.0_16.0" Version="16.0.1498-ci.release-test-multi-targetting-7-0-1xx-xcode14">
<Dependency Name="Microsoft.iOS.Sdk.net7.0_16.0" Version="16.0.1502-ci.release-7-0-1xx-xcode14-multi-targeting">
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
<Sha>eae484c42d18f8054991b9ec87b5cd11a2ba2a31</Sha>
<Sha>b30f232061d2df393e444c4481c7a7d1767a7f13</Sha>
</Dependency>
<Dependency Name="Microsoft.tvOS.Sdk.net7.0_16.0" Version="16.0.1498-ci.release-test-multi-targetting-7-0-1xx-xcode14">
<Dependency Name="Microsoft.tvOS.Sdk.net7.0_16.0" Version="16.0.1502-ci.release-7-0-1xx-xcode14-multi-targeting">
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
<Sha>eae484c42d18f8054991b9ec87b5cd11a2ba2a31</Sha>
<Sha>b30f232061d2df393e444c4481c7a7d1767a7f13</Sha>
</Dependency>
<!-- This is a subscription to the Xcode 14.3 version of our packages (currently the latest version available in .NET 7) -->
<Dependency Name="Microsoft.MacCatalyst.Sdk.net7.0_16.4" Version="16.4.7106-ci.release-7-0-3xx-multi-targeting">
@ -74,9 +74,9 @@
<Uri>https://github.com/dotnet/templating</Uri>
<Sha />
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.iOS.Shared" Version="8.0.0-prerelease.23421.1">
<Dependency Name="Microsoft.DotNet.XHarness.iOS.Shared" Version="8.0.0-prerelease.23431.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>1c09ef5b669c11e1aeca92089d0c1e4408169582</Sha>
<Sha>1446eababf78d7787af2aa86d5393c342c4b1b0b</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>

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

@ -2,7 +2,7 @@
<!--Package versions-->
<PropertyGroup>
<!-- Versions updated by maestro -->
<MicrosoftDotnetSdkInternalPackageVersion>8.0.100-rc.2.23455.10</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftDotnetSdkInternalPackageVersion>8.0.100-rc.2.23462.1</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>8.0.0-rc.2.23431.9</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftDotNetBuildTasksFeedPackageVersion>6.0.0-beta.21212.6</MicrosoftDotNetBuildTasksFeedPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>8.0.0-rc.2.23431.9</MicrosoftNETCoreAppRefPackageVersion>
@ -10,15 +10,15 @@
<MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>7.0.7</MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>
<MicrosoftTemplateEngineTasksVersion>7.0.100-alpha.1.21601.1</MicrosoftTemplateEngineTasksVersion>
<MicrosoftDotNetCecilPackageVersion>0.11.4-alpha.23428.2</MicrosoftDotNetCecilPackageVersion>
<MicrosoftDotNetXHarnessiOSSharedPackageVersion>8.0.0-prerelease.23421.1</MicrosoftDotNetXHarnessiOSSharedPackageVersion>
<MicrosoftDotNetXHarnessiOSSharedPackageVersion>8.0.0-prerelease.23431.1</MicrosoftDotNetXHarnessiOSSharedPackageVersion>
<!-- Manually updated versions -->
<Emscriptennet7WorkloadVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion)</Emscriptennet7WorkloadVersion>
<EmscriptenWorkloadVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion)</EmscriptenWorkloadVersion>
<!-- This is a subscription to the Xcode 13.3/14.0 version of our packages released with the initial release of .NET 7 -->
<MicrosoftiOSSdknet70_160PackageVersion>16.0.1498-ci.release-test-multi-targetting-7-0-1xx-xcode14</MicrosoftiOSSdknet70_160PackageVersion>
<MicrosoftmacOSSdknet70_123PackageVersion>12.3.2389-ci.release-test-multi-targetting-7-0-1xx-xcode13-3</MicrosoftmacOSSdknet70_123PackageVersion>
<MicrosoftMacCatalystSdknet70_154PackageVersion>15.4.2389-ci.release-test-multi-targetting-7-0-1xx-xcode13-3</MicrosoftMacCatalystSdknet70_154PackageVersion>
<MicrosofttvOSSdknet70_160PackageVersion>16.0.1498-ci.release-test-multi-targetting-7-0-1xx-xcode14</MicrosofttvOSSdknet70_160PackageVersion>
<MicrosoftiOSSdknet70_160PackageVersion>16.0.1502-ci.release-7-0-1xx-xcode14-multi-targeting</MicrosoftiOSSdknet70_160PackageVersion>
<MicrosoftmacOSSdknet70_123PackageVersion>12.3.2391-ci.release-7-0-1xx-xcode13-3-multi-targeting</MicrosoftmacOSSdknet70_123PackageVersion>
<MicrosoftMacCatalystSdknet70_154PackageVersion>15.4.2391-ci.release-7-0-1xx-xcode13-3-multi-targeting</MicrosoftMacCatalystSdknet70_154PackageVersion>
<MicrosofttvOSSdknet70_160PackageVersion>16.0.1502-ci.release-7-0-1xx-xcode14-multi-targeting</MicrosofttvOSSdknet70_160PackageVersion>
<!-- This is a subscription to the Xcode 14.3 version of our packages -->
<MicrosoftiOSSdknet70_164PackageVersion>16.4.7106-ci.release-7-0-3xx-multi-targeting</MicrosoftiOSSdknet70_164PackageVersion>
<MicrosoftmacOSSdknet70_133PackageVersion>13.3.7106-ci.release-7-0-3xx-multi-targeting</MicrosoftmacOSSdknet70_133PackageVersion>

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

@ -1,5 +1,5 @@
{
"sdk": {
"version": "8.0.100-rc.2.23455.10"
"version": "8.0.100-rc.2.23462.1"
}
}

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

@ -18,7 +18,7 @@ endif
# Available versions can be seen here:
# https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-eng/NuGet/Microsoft.Tools.Mlaunch/versions
MLAUNCH_NUGET_VERSION=1.0.66
MLAUNCH_NUGET_VERSION=1.0.68
define CheckVersionTemplate
check-$(1)::

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>Sestavení {0} neposkytuje metadata „ObjectFile“.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>Sestavení {0} bylo předáno vícekrát jako vstupní sestavení (odkazováno z {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>AOT kompilace {0} se nezdařila. Kompilátor AOT byl ukončen s kódem {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>Byl zjištěn cyklus odkazu na sestavení související se sestavením {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>Die Assembly {0} stellt keine ObjectFile-Metadaten bereit.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>Die Assembly {0} wurde mehrmals als Eingabeassembly übergeben (referenziert von {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>Fehler beim Kompilieren von AOT {0}. Der AOT-Compiler wurde mit Code {1} beendet.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>Es wurde ein Assemblyverweiszyklus gefunden, der mit der Assembly {0} verknüpft ist.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>El ensamblado {0} no proporciona metadatos 'ObjectFile'.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>El {0} de ensamblado se pasó varias veces como un ensamblado de entrada (al que se hace referencia desde {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>No se pudo compilar AOT {0}, el compilador de AOT se cerró con código {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>Se encontró un ciclo de referencia de ensamblado relacionado con el ensamblado {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>Lassemblée {0} ne fournit pas de métadonnées 'ObjectFile'.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>Lassemblée {0} a été passé plusieurs fois en tant quassemblée d'entrée (référencé à partir de {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>Échec de la compilation AOT {0}, le compilateur AOT s'est arrêté avec le code {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>A rencontré un cycle de référence d'assemblage lié à l'assemblage {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>L'assembly {0} non fornisce metadati 'ObjectFile'.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>L'assembly {0} è stato incluso più volte come assembly di input (riferimento da {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>Non è stato possibile eseguire la compilazione AOT di {0}. Il compilatore AOT è terminato con codice {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>È stato rilevato un ciclo di riferimento dell'assembly correlato all'assembly {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>アセンブリ {0} では 'ObjectFile' メタデータが提供されません。</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>アセンブリ {0} が入力アセンブリとして複数回渡されました ({1} から参照)。</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>AOT コンパイル {0} に失敗しました。AOT コンパイラはコード {1} を表示して終了しました。</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>アセンブリ {0} に関連するアセンブリ参照サイクルが発生しました。</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>{0} 어셈블리는 'ObjectFile' 메타데이터를 제공하지 않습니다.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>{0} 어셈블리가 입력 어셈블리로 여러 번 전달되었습니다({1}에서 참조됨).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>AOT 컴파일 {0}에 실패했습니다. AOT 컴파일러가 코드 {1}과(와) 함께 종료되었습니다.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>{0} 어셈블리와 관련된 어셈블리 참조 주기를 발견했습니다.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>Zestaw {0} nie udostępnia metadanych „ObjectFile”.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>Zestaw {0} został przekazany wiele razy jako zestaw wejściowy (przywoływany z {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>Nie można skompilować drzewa obiektów aplikacji {0}. Kompilator drzewa obiektów aplikacji zakończył pracę z kodem {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>Napotkano cykl odwołania do zestawu powiązany z zestawem {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>O assembly {0} não fornece metadados "ObjectFile".</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>O assembly {0} foi passado várias vezes como um assembly de entrada (referenciado de {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>Falha ao compilar no AOT {0}. O compilador AOT saiu com o código {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>Foi encontrado um ciclo de referência de assembly relacionado ao assembly {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>Сборка {0} не предоставляет метаданные ObjectFile.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>Сборка {0} была передана несколько раз в качестве входной сборки (ссылка из {1}).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>Не удалось компилировать AOT {0}, компилятор AOT завершил работу с кодом {1}.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>Обнаружен цикл ссылки на сборку, связанный со сборкой {0}.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>{0} bütünleştirilmiş kodu 'ObjectFile' meta verileri sağlamadı.</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>Bütünleştirilmiş kod {0} bir giriş bütünleştirilmiş kodu olarak birden çok kez geçirildi ({1} bütünleştirilmiş kodundan başvuruldu).</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>AOT derlemesi {0} başarısız, AOT derleyicisinden {1} koduyla çıkıldı.</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>{0} bütünleştirilmiş koduyla ilgili bir bütünleştirilmiş kod başvuru döngüsüyle karşılaşıldı.</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>程序集 {0} 未提供 "ObjectFile" 元数据。</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>多次将程序集 {0} 作为(从 {1} 引用的)输入程序集传递。</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>AOT 编译 {0} 失败AOT 编译器已退出,代码为 {1}。</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>遇到与程序集 {0} 相关的程序集引用周期。</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -1211,4 +1211,30 @@
{0}: the path to the linker assembly
</comment>
</data>
<data name="E7116" xml:space="preserve">
<value>組件 {0} 未提供 'ObjectFile' 中繼資料。</value>
<comment>
Don't translate: 'ObjectFile'.
</comment>
</data>
<data name="E7117" xml:space="preserve">
<value>組件 {0} 已多次作為輸入組件傳遞 (參考自 {1})。</value>
<comment>
{0}: the name of an assembly
{1}: the path to an assembly
</comment>
</data>
<data name="E7118" xml:space="preserve">
<value>無法進行 AOT 編譯 {0}AOT 編譯器已結束,出現代碼 {1}。</value>
<comment>
{0}: the path to an assembly
{1}: the exit code of a process
</comment>
</data>
<data name="E7119" xml:space="preserve">
<value>遇到與組件 {0} 相關的組件參考循環。</value>
<comment>
{0}: the path to an assembly
</comment>
</data>
</root>

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

@ -48,9 +48,6 @@ namespace Xamarin.MacDev.Tasks {
[Required]
public string AppBundleDir { get; set; } = string.Empty;
[Required]
public string AppIdentifier { get; set; } = string.Empty;
[Required]
public string BundleIdentifier { get; set; } = string.Empty;
@ -63,14 +60,8 @@ namespace Xamarin.MacDev.Tasks {
public string Entitlements { get; set; } = string.Empty;
[Required]
public bool IsAppExtension { get; set; }
public string ProvisioningProfile { get; set; } = string.Empty;
[Required]
public string SdkDevPath { get; set; } = string.Empty;
public bool SdkIsSimulator { get; set; }
[Required]

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

@ -0,0 +1,69 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xamarin.MacDev.Tasks;
using Xamarin.Messaging.Build.Client;
#nullable enable
namespace Xamarin.MacDev.Tasks {
public class GetFullPaths : XamarinTask, ICancelableTask, ITaskCallback {
[Required]
public ITaskItem [] Items { get; set; } = Array.Empty<ITaskItem> ();
public string [] Metadata { get; set; } = Array.Empty<string> ();
[Output]
public ITaskItem [] Output { get; set; } = Array.Empty<ITaskItem> ();
public override bool Execute ()
{
if (ShouldExecuteRemotely ())
return new TaskRunner (SessionId, BuildEngine4).RunAsync (this).Result;
return ExecuteLocally ();
}
public void Cancel ()
{
if (ShouldExecuteRemotely ())
BuildConnection.CancelAsync (BuildEngine4).Wait ();
}
bool ExecuteLocally ()
{
var rv = new List<ITaskItem> ();
foreach (var item in Items) {
var identity = item.ItemSpec;
if (Metadata.Length == 0 || Array.IndexOf (Metadata, "Identity") >= 0)
identity = Path.GetFullPath (identity);
var newItem = new TaskItem (identity);
item.CopyMetadataTo (newItem);
foreach (var md in Metadata) {
if (string.IsNullOrEmpty (md))
continue;
if (md == "Identity")
continue;
newItem.SetMetadata (md, Path.GetFullPath (newItem.GetMetadata (md)));
}
rv.Add (newItem);
}
Output = rv.ToArray ();
return !Log.HasLoggedErrors;
}
public bool ShouldCopyToBuildServer (ITaskItem item) => true;
public bool ShouldCreateOutputFile (ITaskItem item) => false;
public IEnumerable<ITaskItem> GetAdditionalItemsToBeCopied () => Enumerable.Empty<ITaskItem> ();
}
}

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

@ -399,6 +399,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<Delete SessionId="$(BuildSessionId)" Condition="'$(IsMacEnabled)' == 'true'" Files="$(DeviceSpecificOutputPath)codesign.items" />
<Delete SessionId="$(BuildSessionId)" Condition="'$(IsMacEnabled)' == 'true'" Files="$(DeviceSpecificOutputPath)codesign-bundle.items" />
<Delete SessionId="$(BuildSessionId)" Condition="'$(IsMacEnabled)' == 'true'" Files="$(DeviceSpecificOutputPath)native-frameworks.items" />
<Delete SessionId="$(BuildSessionId)" Condition="'$(IsMacEnabled)' == 'true'" Files="@(_IpaPackageFile)" />
</Target>
@ -655,17 +656,14 @@ Copyright (C) 2018 Microsoft. All rights reserved.
SessionId="$(BuildSessionId)"
Condition="'$(IsMacEnabled)' == 'true'"
AppBundleDir="$(AppBundleDir)"
AppIdentifier="$(_AppIdentifier)"
BundleIdentifier="$(_BundleIdentifier)"
CustomEntitlements="@(CustomEntitlements)"
Entitlements="$(CodesignEntitlements)"
CompiledEntitlements="$(_CompiledEntitlementsPath)"
IsAppExtension="$(IsAppExtension)"
ProvisioningProfile="$(_ProvisioningProfile)"
SdkIsSimulator="$(_SdkIsSimulator)"
SdkPlatform="$(_SdkPlatform)"
SdkVersion="$(_SdkVersion)"
SdkDevPath="$(_SdkDevPath)"
TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)"
Debug="$(_BundlerDebug)"
>
@ -2095,14 +2093,14 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<Output TaskParameter="Items" ItemName="_CodesignAppExtensionBundle" />
</ReadItemsFromFile>
<ItemGroup>
<_CodesignBundle Include="@(_CodesignAppExtensionBundle->'$(_AppBundleName)$(AppBundleExtension)/$(_AppPlugInsRelativePath)/%(Identity)')" />
<_CodesignBundle Include="@(_CodesignAppExtensionBundle->'$(_AppBundleName)$(AppBundleExtension)/$(_AppPlugInsRelativePath)%(Identity)')" />
</ItemGroup>
<!-- Get items to sign from app extensions -->
<ReadItemsFromFile File="@(_ResolvedAppExtensionReferences->'%(Identity)\..\codesign.items')" Condition="Exists('%(Identity)\..\codesign.items')">
<Output TaskParameter="Items" ItemName="_CodesignAppExtensionItem" />
</ReadItemsFromFile>
<ItemGroup>
<_CodesignItems Include="@(_CodesignAppExtensionItem->'$(_AppBundleName)$(AppBundleExtension)/$(_AppPlugInsRelativePath)/%(Identity)')" />
<_CodesignItems Include="@(_CodesignAppExtensionItem->'$(_AppBundleName)$(AppBundleExtension)/$(_AppPlugInsRelativePath)%(Identity)')" />
</ItemGroup>
<!-- Get app bundles to sign from watch apps -->
@ -2870,6 +2868,10 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<!-- needed for GetTargetPath/Build/Rebuild task outputs -->
<_AppExtensionBundlePath>$(MSBuildProjectDirectory)\$(AppBundleDir)</_AppExtensionBundlePath>
</PropertyGroup>
<PropertyGroup>
<_GlobalizationDataFileAppBundleRelativePath Condition="'$(_AppContentsRelativePath)' == ''">$(_GlobalizationDataFile)</_GlobalizationDataFileAppBundleRelativePath>
<_GlobalizationDataFileAppBundleRelativePath Condition="'$(_AppContentsRelativePath)' != ''">$(_AppContentsRelativePath)\$(_GlobalizationDataFile)</_GlobalizationDataFileAppBundleRelativePath>
</PropertyGroup>
<ItemGroup Condition="'$(IsAppExtension)' == 'true'">
<_AppExtensionBundlePath Include="$(MSBuildProjectDirectory)\$(AppBundleDir)">
<!-- We need this metadata to fix the source in VS -->
@ -2877,6 +2879,10 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<BuildServerPath>..\..\$(BuildAppName)\$(BuildSessionId)\$(AppBundleDir)</BuildServerPath>
</_AppExtensionBundlePath>
</ItemGroup>
<ItemGroup>
<!-- Replacing backslashes with slashes is required since MSBuild has some issue with resolving backslashes next to a property value: https://github.com/dotnet/msbuild/issues/9200 -->
<RuntimeHostConfigurationOption Include="ICU_DAT_FILE_PATH" Value="$(_GlobalizationDataFileAppBundleRelativePath.Replace('\','/'))" />
</ItemGroup>
</Target>
<Target Name="_CompileProductDefinition" Condition="$(CreatePackage)" DependsOnTargets="_WriteAppManifest;_ComputeTargetArchitectures">

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

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -10,35 +9,46 @@
namespace Xamarin.iOS.Tasks.Windows.Properties {
using System;
using System.Reflection;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// This class was generated by MSBuild using the GenerateResource task.
/// To add or remove a member, edit your .resx file then rerun MSBuild.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Build.Tasks.StronglyTypedResourceBuilder", "15.1.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static System.Resources.ResourceManager resourceMan;
private static global::System.Resources.ResourceManager resourceMan;
private static System.Globalization.CultureInfo resourceCulture;
private static global::System.Globalization.CultureInfo resourceCulture;
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
internal static System.Resources.ResourceManager ResourceManager {
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.Equals(null, resourceMan)) {
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Xamarin.iOS.Tasks.Windows.Properties.Resources", typeof(Resources).Assembly);
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Xamarin.iOS.Tasks.Windows.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
internal static System.Globalization.CultureInfo Culture {
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -47,16 +57,31 @@ namespace Xamarin.iOS.Tasks.Windows.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Could not find the password for the selected Signing Identity, please create a new Certificate from Tools -&gt; Options -&gt; Apple Accounts -&gt; View Team Details..
/// </summary>
internal static string Codesign_MissingPasswordFile {
get {
return ResourceManager.GetString("Codesign_MissingPasswordFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Info.plist file does not exist under {0}, please rebuild your project.
/// </summary>
internal static string CompileAppManifest_MissinInfoPList {
get {
return ResourceManager.GetString("CompileAppManifest_MissinInfoPList", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Linking with a static library is not supported when using Hot Restart..
/// </summary>
internal static string HotRestartStaticLibraryNotSupported {
get {
return ResourceManager.GetString("HotRestartStaticLibraryNotSupported", resourceCulture);
}
}
}
}

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

@ -19,4 +19,7 @@
<value>Info.plist file does not exist under {0}, please rebuild your project</value>
<comment>0: path</comment>
</data>
<data name="HotRestartStaticLibraryNotSupported" xml:space="preserve">
<value>Linking with a static library is not supported when using Hot Restart.</value>
</data>
</root>

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

@ -6,6 +6,7 @@ using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xamarin.iOS.Tasks.Windows.Properties;
using Xamarin.MacDev.Tasks;
#nullable enable
@ -139,11 +140,13 @@ namespace Xamarin.iOS.HotRestart.Tasks {
case PublishFolderType.Unknown: // Don't copy unknown stuff anywhere
case PublishFolderType.AppleBindingResourcePackage: // These aren't copied to the bundle
case PublishFolderType.CompressedAppleBindingResourcePackage: // These aren't copied to the bundle
case PublishFolderType.StaticLibrary: // These aren't copied to the bundle
case PublishFolderType.CompressedAppleFramework: // Shouldn't really happen? Should be uncompresed by the time we get here.
case PublishFolderType.CompressedPlugIns: // Shouldn't really happen? Should be uncompresed by the time we get here.
Log.LogMessage (MessageImportance.Low, $" Skipped {item.ItemSpec} because PublishFolderType={publishFolderType} items aren't copied to the app bundle.");
continue;
case PublishFolderType.StaticLibrary: // These aren't copied to the bundle
Log.LogWarning (null, null, null, item.ItemSpec, 0, 0, 0, 0, Resources.HotRestartStaticLibraryNotSupported);
continue;
default:
Log.LogMessage (MessageImportance.Low, $" Skipped {item.ItemSpec} because of unknown PublishFolderType={publishFolderType}.");
continue;

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

@ -138,16 +138,13 @@
<CompileEntitlements
AppBundleDir="$(HotRestartAppBundlePath)"
AppIdentifier="$(_AppIdentifier)"
BundleIdentifier="$(_BundleIdentifier)"
Entitlements="$(_HotRestartEntitlementsFile)"
CompiledEntitlements="$(HotRestartAppBundlePath)\Entitlements.plist"
IsAppExtension="$(IsAppExtension)"
ProvisioningProfile="$(_ProvisioningProfileId)"
SdkIsSimulator="$(_SdkIsSimulator)"
SdkPlatform="iPhoneOS"
SdkVersion="12.2"
SdkDevPath=" "
TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)" />
</Target>

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

@ -50,16 +50,18 @@
<Folder Include="Tasks\" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Properties\Resources.Designer.cs" />
<EmbeddedResource Update="Properties\Resources.resx">
<Type>Resx</Type>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<StronglyTypedFileName>Properties/Resources.Designer.cs</StronglyTypedFileName>
<StronglyTypedLanguage>CSharp</StronglyTypedLanguage>
<StronglyTypedNamespace>Xamarin.iOS.Tasks.Windows.Properties</StronglyTypedNamespace>
<StronglyTypedClassName>Resources</StronglyTypedClassName>
<GenerateResource>true</GenerateResource>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)..\ILMerge.targets" />

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

@ -55,9 +55,6 @@ bool xamarin_init_mono_debug = false;
#endif
int xamarin_log_level = 0;
const char *xamarin_executable_name = NULL;
#if DOTNET
const char *xamarin_icu_dat_file_name = NULL;
#endif
#if MONOMAC || TARGET_OS_MACCATALYST
NSString * xamarin_custom_bundle_name = @"MonoBundle";
#endif
@ -2585,22 +2582,6 @@ void
xamarin_vm_initialize ()
{
char *pinvokeOverride = xamarin_strdup_printf ("%p", &xamarin_pinvoke_override);
char *icu_dat_file_path = NULL;
int subtractPropertyCount = 0;
if (xamarin_icu_dat_file_name != NULL && *xamarin_icu_dat_file_name != 0) {
#if !defined (NATIVEAOT)
char path [1024];
if (!xamarin_locate_app_resource (xamarin_icu_dat_file_name, path, sizeof (path))) {
LOG (PRODUCT ": Could not locate the ICU data file '%s' in the app bundle.\n", xamarin_icu_dat_file_name);
} else {
icu_dat_file_path = strdup (path);
}
#endif // !defined (NATIVEAOT)
} else {
subtractPropertyCount++;
}
char *trusted_platform_assemblies = xamarin_compute_trusted_platform_assemblies ();
char *native_dll_search_directories = xamarin_compute_native_dll_search_directories ();
@ -2613,7 +2594,6 @@ xamarin_vm_initialize ()
"TRUSTED_PLATFORM_ASSEMBLIES",
"NATIVE_DLL_SEARCH_DIRECTORIES",
"RUNTIME_IDENTIFIER",
"ICU_DAT_FILE_PATH", // Must be last.
};
const char *propertyValues[] = {
xamarin_get_bundle_path (),
@ -2622,20 +2602,16 @@ xamarin_vm_initialize ()
trusted_platform_assemblies,
native_dll_search_directories,
RUNTIMEIDENTIFIER,
icu_dat_file_path, // might be NULL, if so we say we're passing one property less that what we really are (to skip this last one). This also means that this property must be the last one
};
static_assert (sizeof (propertyKeys) == sizeof (propertyValues), "The number of keys and values must be the same.");
int propertyCount = (int) (sizeof (propertyValues) / sizeof (propertyValues [0])) - subtractPropertyCount;
int propertyCount = (int) (sizeof (propertyValues) / sizeof (propertyValues [0]));
bool rv = xamarin_bridge_vm_initialize (propertyCount, propertyKeys, propertyValues);
xamarin_free (pinvokeOverride);
xamarin_free (pinvokeOverride);
xamarin_free (trusted_platform_assemblies);
xamarin_free (native_dll_search_directories);
if (icu_dat_file_path != NULL)
free (icu_dat_file_path);
if (!rv)
xamarin_assertion_message ("Failed to initialize the VM");
}

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

@ -282,7 +282,7 @@ namespace ObjCRuntime {
if (options->Size != Marshal.SizeOf<InitializationOptions> ()) {
var msg = $"Version mismatch between the native {ProductName} runtime and {AssemblyName}. Please reinstall {ProductName}.";
NSLog (msg);
#if MONOMAC
#if MONOMAC && !NET
try {
// Print out where Xamarin.Mac.dll and the native runtime was loaded from.
NSLog ($"{AssemblyName} was loaded from {typeof (NSObject).Assembly.Location}");

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

@ -173,9 +173,12 @@ namespace ObjCRuntime {
unsafe static void InitializePlatform (InitializationOptions* options)
{
#if !NET
// BaseDirectory may not be set in some Mono embedded environments
// so try some reasonable fallbacks in these cases.
#endif
string basePath = AppDomain.CurrentDomain.BaseDirectory;
#if !NET
if(!string.IsNullOrEmpty(basePath))
basePath = Path.Combine (basePath, "..");
else {
@ -189,6 +192,7 @@ namespace ObjCRuntime {
basePath = Path.Combine (Environment.CurrentDirectory, "..");
}
}
#endif
ResourcesPath = Path.Combine (basePath, "Resources");
FrameworksPath = Path.Combine (basePath, "Frameworks");

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

@ -15630,6 +15630,9 @@ namespace AppKit {
[Export ("setNeedsDisplayInRect:")]
void SetNeedsDisplayInRect (CGRect invalidRect);
[Export ("clipsToBounds")]
bool ClipsToBounds { get; set; }
[Deprecated (PlatformName.MacOSX, 10, 14, message: "Subclass NSView and implement 'DrawRect'.")]
[Export ("lockFocus")]
void LockFocus ();
@ -19537,15 +19540,15 @@ namespace AppKit {
[Field ("NSToolbarSidebarTrackingSeparatorItemIdentifier")]
NSString NSToolbarSidebarTrackingSeparatorItemIdentifier { get; }
// https://github.com/xamarin/xamarin-macios/issues/12871
// [MacCatalyst (14,0)][NoMac]
// [Field ("NSToolbarPrimarySidebarTrackingSeparatorItemIdentifier")]
// NSString PrimarySidebarTrackingSeparatorItemIdentifier { get; }
[MacCatalyst (14, 0)]
[NoMac]
[Field ("NSToolbarPrimarySidebarTrackingSeparatorItemIdentifier", "UIKit")]
NSString PrimarySidebarTrackingSeparatorItemIdentifier { get; }
// https://github.com/xamarin/xamarin-macios/issues/12871
// [MacCatalyst (14,0)][NoMac]
// [Field ("NSToolbarSupplementarySidebarTrackingSeparatorItemIdentifier")]
// NSString SupplementarySidebarTrackingSeparatorItemIdentifier { get; }
[MacCatalyst (14, 0)]
[NoMac]
[Field ("NSToolbarSupplementarySidebarTrackingSeparatorItemIdentifier", "UIKit")]
NSString SupplementarySidebarTrackingSeparatorItemIdentifier { get; }
[Mac (13, 0), MacCatalyst (16, 0)]
[Export ("centeredItemIdentifiers", ArgumentSemantic.Copy)]

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

@ -2,10 +2,7 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using ObjCRuntime;
using Foundation;
#if !__MACOS__
using UIKit;
@ -51,31 +48,9 @@ public partial class AppDelegate : UIApplicationDelegate {
public static class MainClass {
static void Main (string [] args)
{
#if __MACCATALYST__
NativeLibrary.SetDllImportResolver (typeof (NSObject).Assembly, DllImportResolver);
NativeLibrary.SetDllImportResolver (typeof (MainClass).Assembly, DllImportResolver);
#endif
#if !__MACOS__
UIApplication.Main (args, null, typeof (AppDelegate));
#endif
}
#if __MACCATALYST__
// This is a workaround for a temporary issue in the .NET runtime
// See https://github.com/xamarin/maccore/issues/2668
// The issue is present in .NET 7.0.5, and will likely be fixed in .NET 7.0.6.
static IntPtr DllImportResolver (string libraryName, global::System.Reflection.Assembly assembly, DllImportSearchPath? searchPath)
{
switch (libraryName) {
case "/System/Library/Frameworks/SceneKit.framework/SceneKit":
case "/System/Library/Frameworks/SceneKit.framework/Versions/A/SceneKit":
var rv = NativeLibrary.Load (libraryName);
Console.WriteLine ($"DllImportResolver callback loaded library \"{libraryName}\" from a P/Invoke in \"{assembly}\" => 0x{rv.ToString ("x")}");
return rv;
default:
return IntPtr.Zero;
}
}
#endif
}
#endif // !__WATCHOS__

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

@ -0,0 +1,24 @@
using System;
using System.Runtime.InteropServices;
using Foundation;
namespace MySimpleApp {
public class Program {
[DllImport ("__Internal")]
static extern int getUnknownE ();
[DllImport ("__Internal")]
static extern int getSomewhatUnknownD ();
static int Main (string [] args)
{
GC.KeepAlive (typeof (NSObject)); // prevent linking away the platform assembly
Console.WriteLine (getUnknownE ());
Console.WriteLine (getSomewhatUnknownD ());
Console.WriteLine (Environment.GetEnvironmentVariable ("MAGIC_WORD"));
return args.Length;
}
}
}

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

@ -0,0 +1,2 @@
TOP=../../..
include $(TOP)/tests/common/shared-dotnet-test.mk

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

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySimpleApp", "MySimpleApp.csproj", "{23664512-6B06-4135-9A94-C012BDA93CB1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionProject", "..\..\ExtensionProject\iOS\ExtensionProject.csproj", "{8A72DB8F-4C30-4462-9F7A-6095E41D5D46}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{23664512-6B06-4135-9A94-C012BDA93CB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{23664512-6B06-4135-9A94-C012BDA93CB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23664512-6B06-4135-9A94-C012BDA93CB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{23664512-6B06-4135-9A94-C012BDA93CB1}.Release|Any CPU.Build.0 = Release|Any CPU
{8A72DB8F-4C30-4462-9F7A-6095E41D5D46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8A72DB8F-4C30-4462-9F7A-6095E41D5D46}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A72DB8F-4C30-4462-9F7A-6095E41D5D46}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A72DB8F-4C30-4462-9F7A-6095E41D5D46}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

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

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-ios</TargetFramework>
</PropertyGroup>
<Import Project="..\shared.csproj" />
</Project>

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

@ -0,0 +1 @@
include ../shared.mk

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

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySimpleApp", "MySimpleApp.csproj", "{B7C29D40-0079-416C-8507-FE9EE82FBD4F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionProject", "..\..\ExtensionProject\macOS\ExtensionProject.csproj", "{C32EB68F-1FF7-42DE-ABD8-C0151497595A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B7C29D40-0079-416C-8507-FE9EE82FBD4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B7C29D40-0079-416C-8507-FE9EE82FBD4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B7C29D40-0079-416C-8507-FE9EE82FBD4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B7C29D40-0079-416C-8507-FE9EE82FBD4F}.Release|Any CPU.Build.0 = Release|Any CPU
{C32EB68F-1FF7-42DE-ABD8-C0151497595A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C32EB68F-1FF7-42DE-ABD8-C0151497595A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C32EB68F-1FF7-42DE-ABD8-C0151497595A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C32EB68F-1FF7-42DE-ABD8-C0151497595A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

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

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-macos</TargetFramework>
</PropertyGroup>
<Import Project="..\shared.csproj" />
</Project>

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

@ -0,0 +1 @@
include ../shared.mk

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

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<OutputType>Exe</OutputType>
<ApplicationTitle>ExtensionConsumerWithFramework</ApplicationTitle>
<ApplicationId>com.xamarin.extensionconsumerwithframework</ApplicationId>
<RootTestsDirectory Condition="'$(RootTestsDirectory)' == ''">$(MSBuildThisFileDirectory)/../..</RootTestsDirectory>
</PropertyGroup>
<Import Project="../../common/shared-dotnet.csproj" />
<ItemGroup>
<Compile Include="../*.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ExtensionProjectWithFrameworks\$(_PlatformName)\ExtensionProjectWithFrameworks.csproj">
<IsAppExtension>true</IsAppExtension>
</ProjectReference>
<!-- Both the extension and the consumer references UnknownE.framework -->
<None Include="$(RootTestsDirectory)/test-libraries/frameworks/.libs/$(RuntimeIdentifier)/UnknownE.framework" CopyToPublishDirectory="PreserveNewest" PublishFolderType="AppleFramework" />
<!-- Only the consumer references SomewhatUnknownD.framework -->
<None Include="$(RootTestsDirectory)/test-libraries/frameworks/.libs/$(RuntimeIdentifier)/SomewhatUnknownD.framework.zip" CopyToPublishDirectory="PreserveNewest" Link="Subfolder/SomewhatUnknownD.bin" PublishFolderType="CompressedAppleFramework" />
</ItemGroup>
</Project>

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

@ -0,0 +1,2 @@
TOP=../../../..
include $(TOP)/tests/common/shared-dotnet.mk

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

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySimpleApp", "MySimpleApp.csproj", "{D8448FDC-1002-432B-A3A7-CCFCB833F292}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionProject", "..\..\ExtensionProject\tvOS\ExtensionProject.csproj", "{CD69BE1D-FF1B-4B6A-AB6E-5259E65B515E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D8448FDC-1002-432B-A3A7-CCFCB833F292}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D8448FDC-1002-432B-A3A7-CCFCB833F292}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8448FDC-1002-432B-A3A7-CCFCB833F292}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8448FDC-1002-432B-A3A7-CCFCB833F292}.Release|Any CPU.Build.0 = Release|Any CPU
{CD69BE1D-FF1B-4B6A-AB6E-5259E65B515E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD69BE1D-FF1B-4B6A-AB6E-5259E65B515E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD69BE1D-FF1B-4B6A-AB6E-5259E65B515E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD69BE1D-FF1B-4B6A-AB6E-5259E65B515E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

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

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-tvos</TargetFramework>
</PropertyGroup>
<Import Project="..\shared.csproj" />
</Project>

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

@ -0,0 +1 @@
include ../shared.mk

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

@ -0,0 +1,2 @@
TOP=../../..
include $(TOP)/tests/common/shared-dotnet-test.mk

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

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>

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

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionProject", "ExtensionProject.csproj", "{6938058D-AE12-4CF8-A3DD-E27BCCEF1E6E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6938058D-AE12-4CF8-A3DD-E27BCCEF1E6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6938058D-AE12-4CF8-A3DD-E27BCCEF1E6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6938058D-AE12-4CF8-A3DD-E27BCCEF1E6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6938058D-AE12-4CF8-A3DD-E27BCCEF1E6E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

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

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-ios</TargetFramework>
</PropertyGroup>
<Import Project="..\shared.csproj" />
</Project>

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

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>MyShareExtension</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.MyMasterDetailApp.MyShareExtension</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>com.xamarin.MyShareExtension</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string>
<key>NSExtensionPointName</key>
<string>com.apple.share-services</string>
<key>NSExtensionPointVersion</key>
<string>1.0</string>
</dict>
<key>NSExtensionMainStoryboard</key>
<string>MainInterface</string>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
</dict>
</dict>
</plist>

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

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6150.1" systemVersion="13D65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="j1y-V4-xli">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6148" />
</dependencies>
<scenes>
<!--Share View Controller-->
<scene sceneID="ceB-am-kn3">
<objects>
<viewController id="j1y-V4-xli" customClass="ShareViewController" customModuleProvider="" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="8bI-gs-bmD" />
<viewControllerLayoutGuide type="bottom" id="d5i-Ba-RvD" />
</layoutGuides>
<view key="view" opaque="NO" contentMode="scaleToFill" id="wbc-yd-nQP">
<rect key="frame" x="0.0" y="0.0" width="480" height="480" />
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite" />
<simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight" />
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="CEy-Cv-SGf" userLabel="First Responder" sceneMemberID="firstResponder" />
</objects>
<point key="canvasLocation" x="539" y="97" />
</scene>
</scenes>
</document>

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

@ -0,0 +1 @@
include ../shared.mk

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

@ -0,0 +1,34 @@
using System;
using System.Drawing;
using Foundation;
using Social;
using UIKit;
namespace MyShareExtension {
public partial class ShareViewController : SLComposeServiceViewController {
public ShareViewController (IntPtr handle) : base (handle)
{
}
public override bool IsContentValid ()
{
// Do validation of contentText and/or NSExtensionContext attachments here
return true;
}
public override void DidSelectPost ()
{
// This is called after the user selects Post. Do the upload of contentText and/or NSExtensionContext attachments.
// Inform the host that we're done, so it un-blocks its UI. Note: Alternatively you could call super's -didSelectPost, which will similarly complete the extension context.
ExtensionContext.CompleteRequest (null, null);
}
public override SLComposeSheetConfigurationItem [] GetConfigurationItems ()
{
// To add configuration options via table cells at the bottom of the sheet, return an array of SLComposeSheetConfigurationItem here.
return new SLComposeSheetConfigurationItem [0];
}
}
}

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

@ -0,0 +1,18 @@
//
// This file has been generated automatically by MonoDevelop to store outlets and
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
namespace MyShareExtension
{
[Register ("ShareViewController")]
partial class ShareViewController
{
void ReleaseDesignerOutlets ()
{
}
}
}

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

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>

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

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionProject", "ExtensionProject.csproj", "{448A63DB-EEA4-4F1B-AB62-144A978EB7ED}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{448A63DB-EEA4-4F1B-AB62-144A978EB7ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{448A63DB-EEA4-4F1B-AB62-144A978EB7ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{448A63DB-EEA4-4F1B-AB62-144A978EB7ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{448A63DB-EEA4-4F1B-AB62-144A978EB7ED}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

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

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-macos</TargetFramework>
<CodesignEntitlements>$(SourceDirectory)Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<Import Project="..\shared.csproj" />
</Project>

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

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>ShareExtension</string>
<key>CFBundleExecutable</key>
<string>ExtensionProjectWithFrameworks</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.ShareExtensionTest</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
<key>NSExtensionPrincipalClass</key>
<string>ShareViewController</string>
</dict>
</dict>
</plist>

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

@ -0,0 +1 @@
include ../shared.mk

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

@ -0,0 +1,37 @@
using System;
using System.Drawing;
using NotificationCenter;
using Foundation;
using Social;
using AppKit;
using System.Linq;
namespace ShareExtensionTest {
public partial class ShareViewController : NSViewController {
public ShareViewController (IntPtr handle) : base (handle)
{
}
public override void LoadView ()
{
base.LoadView ();
NSExtensionItem item = ExtensionContext.InputItems.First ();
Console.WriteLine ("Attachments {0}", item);
}
partial void Cancel (Foundation.NSObject sender)
{
NSExtensionItem outputItem = new NSExtensionItem ();
var outputItems = new [] { outputItem };
ExtensionContext.CompleteRequest (outputItems, null);
}
partial void Send (Foundation.NSObject sender)
{
NSError cancelError = NSError.FromDomain (NSError.CocoaErrorDomain, 3072, null);
ExtensionContext.CancelRequest (cancelError);
}
}
}

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

@ -0,0 +1,24 @@
//
// This file has been generated automatically by MonoDevelop to store outlets and
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
namespace ShareExtensionTest
{
[Register ("ShareViewController")]
partial class ShareViewController
{
[Action ("Cancel:")]
partial void Cancel (Foundation.NSObject sender);
[Action ("Send:")]
partial void Send (Foundation.NSObject sender);
void ReleaseDesignerOutlets ()
{
}
}
}

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

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx" />
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10116" />
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="ShareViewController">
<connections>
<outlet property="view" destination="1" id="2" />
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder" />
<customObject id="-3" userLabel="Application" customClass="NSObject" />
<customView translatesAutoresizingMaskIntoConstraints="NO" id="1">
<rect key="frame" x="0.0" y="0.0" width="387" height="202" />
<subviews>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1uM-r7-H1c">
<rect key="frame" x="301" y="3" width="82" height="32" />
<buttonCell key="cell" type="push" title="Send" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="2l4-PO-we5">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
<font key="font" metaFont="system" />
<string key="keyEquivalent">D</string>
<modifierMask key="keyEquivalentModifierMask" command="YES" />
</buttonCell>
<connections>
<action selector="Send:" target="-2" id="eEw-Je-X0B" />
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NVE-vN-dkz">
<rect key="frame" x="223" y="3" width="82" height="32" />
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="cP1-hK-9ZX" />
</constraints>
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="6Up-t3-mwm">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
<font key="font" metaFont="system" />
<string key="keyEquivalent" base64-UTF8="YES">
Gw
</string>
</buttonCell>
<connections>
<action selector="Cancel:" target="-2" id="AY8-gC-hec" />
</connections>
</button>
<textField verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aNc-0i-CWK">
<rect key="frame" x="138" y="171" width="111" height="16" />
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="My Service Title" id="0xp-rC-2gr">
<font key="font" metaFont="systemBold" />
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
</textFieldCell>
</textField>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4M6-D5-WIf">
<rect key="frame" x="108" y="171" width="22" height="22" />
<constraints>
<constraint firstAttribute="width" constant="22" id="BOe-aZ-Njc" />
<constraint firstAttribute="height" constant="22" id="zLg-1a-wlZ" />
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="q3u-Am-ZIA" />
</imageView>
</subviews>
<constraints>
<constraint firstItem="1uM-r7-H1c" firstAttribute="leading" secondItem="NVE-vN-dkz" secondAttribute="trailing" constant="8" id="1UO-J1-LbJ" />
<constraint firstAttribute="bottom" secondItem="1uM-r7-H1c" secondAttribute="bottom" constant="10" id="4wH-De-nMF" />
<constraint firstAttribute="bottom" secondItem="NVE-vN-dkz" secondAttribute="bottom" constant="10" id="USG-Gg-of3" />
<constraint firstItem="1uM-r7-H1c" firstAttribute="leading" secondItem="NVE-vN-dkz" secondAttribute="trailing" constant="8" id="a8N-vS-Ew9" />
<constraint firstItem="aNc-0i-CWK" firstAttribute="centerY" secondItem="4M6-D5-WIf" secondAttribute="centerY" constant="2.5" id="ilP-G0-GVG" />
<constraint firstItem="NVE-vN-dkz" firstAttribute="width" secondItem="1uM-r7-H1c" secondAttribute="width" id="qPo-ky-Fcw" />
<constraint firstAttribute="trailing" secondItem="1uM-r7-H1c" secondAttribute="trailing" constant="10" id="qfT-cw-QQ2" />
<constraint firstAttribute="centerX" secondItem="aNc-0i-CWK" secondAttribute="centerX" id="uV3-Wn-RA3" />
<constraint firstItem="aNc-0i-CWK" firstAttribute="leading" secondItem="4M6-D5-WIf" secondAttribute="trailing" constant="10" id="vFR-5i-Dvo" />
<constraint firstItem="aNc-0i-CWK" firstAttribute="top" secondItem="1" secondAttribute="top" constant="15" id="vpR-tf-ebx" />
</constraints>
</customView>
</objects>
</document>

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

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<IsAppExtension>true</IsAppExtension>
<RootTestsDirectory Condition="'$(RootTestsDirectory)' == ''">$(MSBuildThisFileDirectory)/../..</RootTestsDirectory>
</PropertyGroup>
<Import Project="../../common/shared-dotnet.csproj" />
<ItemGroup>
<Compile Include="../*.cs" />
</ItemGroup>
<ItemGroup>
<!-- Only the extension references UnknownD.framework -->
<None Include="$(RootTestsDirectory)/test-libraries/frameworks/.libs/$(RuntimeIdentifier)/UnknownD.framework.zip" CopyToPublishDirectory="PreserveNewest" PublishFolderType="CompressedAppleFramework" />
<!-- Both the extension and the consumer references UnknownE.framework -->
<None Include="$(RootTestsDirectory)/test-libraries/frameworks/.libs/$(RuntimeIdentifier)/UnknownE.framework" CopyToPublishDirectory="PreserveNewest" PublishFolderType="AppleFramework" />
</ItemGroup>
</Project>

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

@ -0,0 +1,2 @@
TOP=../../../..
include $(TOP)/tests/common/shared-dotnet.mk

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

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>

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

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionProject", "ExtensionProject.csproj", "{AE305EDB-9818-447B-9BBD-95562A6BCFB0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AE305EDB-9818-447B-9BBD-95562A6BCFB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AE305EDB-9818-447B-9BBD-95562A6BCFB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AE305EDB-9818-447B-9BBD-95562A6BCFB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AE305EDB-9818-447B-9BBD-95562A6BCFB0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

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

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-tvos</TargetFramework>
</PropertyGroup>
<Import Project="..\shared.csproj" />
</Project>

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

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>MyTVServicesExtension</string>
<key>CFBundleName</key>
<string>MyTVServicesExtension</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.mytvapp.mytvservicesextension</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>TVExtensionProtocols</key>
<array>
<string>TVTopShelfProvider</string>
</array>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.tv-services</string>
<key>NSExtensionPrincipalClass</key>
<string>ServiceProvider</string>
</dict>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
</dict>
</plist>

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

@ -0,0 +1 @@
include ../shared.mk

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

@ -0,0 +1,27 @@
using System;
using Foundation;
using TVServices;
namespace MyTVServicesExtension {
[Register ("ServiceProvider")]
public class ServiceProvider : NSObject, ITVTopShelfProvider {
protected ServiceProvider (IntPtr handle) : base (handle)
{
// Note: this .ctor should not contain any initialization logic.
}
public TVContentItem [] TopShelfItems {
[Export ("topShelfItems")]
get {
return new TVContentItem [] { new TVContentItem (new TVContentIdentifier ("identifier", null)) { Title = "title" } };
}
}
public TVTopShelfContentStyle TopShelfStyle {
[Export ("topShelfStyle")]
get {
return TVTopShelfContentStyle.Inset;
}
}
}
}

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

@ -295,9 +295,6 @@ namespace Xamarin.Tests {
AddMultiRidAssembly (platform, expectedFiles, assemblyDirectory, Path.GetFileNameWithoutExtension (Configuration.GetBaseLibraryName (platform, true)), runtimeIdentifiers, forceSingleRid: (platform == ApplePlatform.MacCatalyst && !isReleaseBuild) || platform == ApplePlatform.MacOSX, hasPdb: false, includeDebugFiles: includeDebugFiles);
expectedFiles.Add (Path.Combine (assemblyDirectory, "runtimeconfig.bin"));
if (platform == ApplePlatform.MacOSX)
expectedFiles.Add (Path.Combine ("Contents", "MonoBundle", "createdump"));
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:

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

@ -4,9 +4,11 @@ using System;
namespace Xamarin.Tests {
public static class Extensions {
public static void AssertNoWarnings (this ExecutionResult result)
public static void AssertNoWarnings (this ExecutionResult result, Func<BuildLogEvent, bool>? filter = null)
{
var warnings = BinLog.GetBuildLogWarnings (result.BinLogPath).ToArray ();
var warnings = BinLog.GetBuildLogWarnings (result.BinLogPath);
if (filter is not null)
warnings = warnings.Where (filter);
if (!warnings.Any ())
return;

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

@ -116,9 +116,9 @@ namespace Xamarin.Tests {
[TestCase (ApplePlatform.iOS, "ios-arm64;ios-arm")]
[TestCase (ApplePlatform.TVOS, "tvos-arm64")]
[TestCase (ApplePlatform.MacCatalyst, "maccatalyst-arm64")]
// [TestCase (ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64")] // Ignored due to https://github.com/dotnet/runtime/issues/90584
[TestCase (ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64")]
[TestCase (ApplePlatform.MacOSX, "osx-x64")]
// [TestCase (ApplePlatform.MacOSX, "osx-arm64;osx-x64")] // Ignored due to https://github.com/dotnet/runtime/issues/90584
[TestCase (ApplePlatform.MacOSX, "osx-arm64;osx-x64")]
public void PublishTest (ApplePlatform platform, string runtimeIdentifiers)
{
var project = "MySimpleApp";

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

@ -632,7 +632,7 @@ namespace Xamarin.Tests {
ExecuteWithMagicWordAndAssert (platform, runtimeIdentifiers, appExecutable);
var createdump = Path.Combine (appPath, "Contents", "MonoBundle", "createdump");
Assert.That (createdump, Does.Exist, "createdump existence");
Assert.That (createdump, Does.Not.Exist, "createdump existence");
}
[Test]
@ -973,6 +973,42 @@ namespace Xamarin.Tests {
Assert.AreNotEqual (0, configFiles.Length, "runtimeconfig.json file does not exist");
}
[TestCase (ApplePlatform.iOS)]
[TestCase (ApplePlatform.TVOS)]
[TestCase (ApplePlatform.MacOSX)]
// [TestCase ("MacCatalyst", "")] - No extension support yet
public void BuildProjectsWithExtensionsAndFrameworks (ApplePlatform platform)
{
Configuration.IgnoreIfIgnoredPlatform (platform);
var runtimeIdentifiers = GetDefaultRuntimeIdentifier (platform);
var consumingProjectDir = GetProjectPath ("ExtensionConsumerWithFrameworks", runtimeIdentifiers: runtimeIdentifiers, platform: platform, out var appPath);
var extensionProjectDir = GetProjectPath ("ExtensionProjectWithFrameworks", platform: platform);
Clean (extensionProjectDir);
Clean (consumingProjectDir);
DotNet.AssertBuild (consumingProjectDir, verbosity);
var extensionPath = Path.Combine (Path.GetDirectoryName (consumingProjectDir)!, "bin", "Debug", platform.ToFramework (), GetDefaultRuntimeIdentifier (platform), "ExtensionConsumerWithFrameworks.app", GetPlugInsRelativePath (platform), "ExtensionProjectWithFrameworks.appex");
Assert.That (Directory.Exists (extensionPath), $"App extension directory does not exist: {extensionPath}");
var extensionFrameworksPath = Path.Combine (extensionPath, GetFrameworksRelativePath (platform));
Assert.IsFalse (Directory.Exists (extensionFrameworksPath), $"App extension framework directory exists when it shouldn't: {extensionFrameworksPath}");
var pathToSearch = Path.Combine (Path.GetDirectoryName (consumingProjectDir)!, "bin", "Debug");
var configFiles = Directory.GetFiles (pathToSearch, "*.runtimeconfig.*", SearchOption.AllDirectories);
Assert.AreNotEqual (0, configFiles.Length, "runtimeconfig.json file does not exist");
var appFrameworksPath = Path.Combine (appPath, GetFrameworksRelativePath (platform));
Assert.That (Directory.Exists (appFrameworksPath), $"App Frameworks directory does not exist: {appFrameworksPath}");
Assert.That (File.Exists (Path.Combine (appFrameworksPath, "SomewhatUnknownD.framework", "SomewhatUnknownD")), "SomewhatUnknownD");
Assert.That (File.Exists (Path.Combine (appFrameworksPath, "UnknownD.framework", "UnknownD")), "UnknownD");
Assert.That (File.Exists (Path.Combine (appFrameworksPath, "UnknownE.framework", "UnknownE")), "UnknownE");
var appExecutable = GetNativeExecutable (platform, appPath);
ExecuteWithMagicWordAndAssert (platform, runtimeIdentifiers, appExecutable);
}
[TestCase (ApplePlatform.iOS, "iossimulator-x64;iossimulator-arm64")]
[TestCase (ApplePlatform.TVOS, "tvossimulator-x64")]
[TestCase (ApplePlatform.MacCatalyst, "maccatalyst-x64")]
@ -1399,6 +1435,53 @@ namespace Xamarin.Tests {
DotNet.AssertBuild (project_path, properties);
}
[Test]
[TestCase (ApplePlatform.iOS, "ios-arm64")]
[TestCase (ApplePlatform.MacOSX, "osx-x64")]
[TestCase (ApplePlatform.MacCatalyst, "maccatalyst-arm64")]
[TestCase (ApplePlatform.TVOS, "tvossimulator-x64")]
public void PublishAot (ApplePlatform platform, string runtimeIdentifiers)
{
var project = "MySimpleApp";
Configuration.IgnoreIfIgnoredPlatform (platform);
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);
var project_path = GetProjectPath (project, runtimeIdentifiers: runtimeIdentifiers, platform: platform, out var appPath);
Clean (project_path);
var properties = GetDefaultProperties (runtimeIdentifiers);
properties ["PublishAot"] = "true";
properties ["_IsPublishing"] = "true"; // quack like "dotnet publish"
properties ["ExcludeNUnitLiteReference"] = "true"; // we're asserting no warnings, and NUnitLite produces a lot of them, so ignore NUnitLite
properties ["ExcludeTouchUnitReference"] = "true"; // we're asserting no warnings, and Touch.Unit produces a lot of them, so ignore Touch.Unit
var rv = DotNet.AssertBuild (project_path, properties);
// Verify that we have no warnings, but unfortunately we still have some we haven't fixed yet.
// Ignore those, and fail the test if we stop getting them (so that we can update the test to not ignore them anymore).
var foundIL2049 = false;
var foundIL3053 = false;
rv.AssertNoWarnings ((evt) => {
// https://github.com/dotnet/runtime/issues/88994
if (evt.Code == "IL2049" && evt.Message == "System.Private.CoreLib: The internal attribute name 'RemoveAttributeInstances' being used in the xml is not supported by ILLink, check the spelling and the supported internal attributes.") {
foundIL2049 = true;
return false;
}
// This will probably go away when the IL2049 warning from above is fixed.
if (evt.Code == "IL3053" && evt.Message == $"Assembly 'Microsoft.{platform.AsString ()}' produced AOT analysis warnings.") {
foundIL3053 = true;
return false;
}
if (platform == ApplePlatform.iOS && evt.Message?.Trim () == "Supported iPhone orientations have not been set")
return false;
return true;
});
Assert.IsTrue (foundIL2049, "IL2049 not found - update test code to remove the code to ignore the IL2049");
Assert.IsTrue (foundIL3053, "IL3053 not found - update test code to remove the code to ignore the IL3053");
}
void AssertThatDylibExistsAndIsReidentified (string appPath, string dylibRelPath)
{
var dylibPath = Path.Join (appPath, "Contents", "MonoBundle", dylibRelPath);

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

@ -129,6 +129,20 @@ namespace Xamarin.Tests {
}
}
protected string GetFrameworksRelativePath (ApplePlatform platform)
{
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
return "Frameworks";
case ApplePlatform.MacCatalyst:
case ApplePlatform.MacOSX:
return Path.Combine ("Contents", "Frameworks");
default:
throw new ArgumentOutOfRangeException ($"Unknown platform: {platform}");
}
}
protected void Clean (string project_path)
{
var dirs = Directory.GetDirectories (Path.GetDirectoryName (project_path)!, "*", SearchOption.AllDirectories);

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

@ -28,11 +28,9 @@ namespace Xamarin.MacDev.Tasks {
var task = CreateTask<CustomCompileEntitlements> ();
task.AppBundleDir = AppBundlePath;
task.AppIdentifier = "32UV7A8CDE.com.xamarin.MySingleView";
task.BundleIdentifier = "com.xamarin.MySingleView";
task.CompiledEntitlements = new TaskItem (Path.Combine (MonoTouchProjectObjPath, "Entitlements.xcent"));
task.Entitlements = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location), "Resources", "Entitlements.plist");
task.IsAppExtension = false;
task.ProvisioningProfile = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location), "Resources", "profile.mobileprovision");
task.SdkPlatform = "iPhoneOS";
task.SdkVersion = "6.1";

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

@ -1,8 +1,3 @@
# https://github.com/xamarin/xamarin-macios/issues/12871
# Catalyst field constants that are loaded from private UIKitCore are not being handled by Field attribute
!missing-field! NSToolbarPrimarySidebarTrackingSeparatorItemIdentifier not bound
!missing-field! NSToolbarSupplementarySidebarTrackingSeparatorItemIdentifier not bound
# deprecated types, not working at runtime
!missing-protocol! UISearchDisplayDelegate not bound

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

@ -532,7 +532,7 @@ $(foreach platform,$(DOTNET_PLATFORMS),$(eval $(call DotNetGenerateReferenceXml,
define UpdatedReferences
$(APIDIFF_DIR)/updated-references/dotnet/Microsoft.$(1).Ref/ref/$(DOTNET_TFM)/Microsoft.$(1).xml: $(DOTNET_DESTDIR)/$($(1)_NUGET_REF_NAME)/ref/$(DOTNET_TFM)/Microsoft.$(1).dll $(MONO_API_INFO)
$$(Q) mkdir -p $$(dir $$@) $$(dir $$(APIDIFF_DIR)/references/dotnet/Microsoft.$(1).Ref/ref/$(DOTNET_TFM)/Microsoft.$(1).Ref)
$$(QF_GEN) $$(MONO_API_INFO_EXEC) $$(abspath $$<) -o $$(abspath $$(APIDIFF_DIR)/references/dotnet/Microsoft.$(1).Ref/ref/$(DOTNET_TFM)/Microsoft.$(1).Ref.xml)
$$(QF_GEN) $$(MONO_API_INFO_EXEC) $$(abspath $$<) -o $$(abspath $$(APIDIFF_DIR)/references/dotnet/Microsoft.$(1).Ref/ref/$(DOTNET_TFM)/Microsoft.$(1).xml)
endef
$(foreach platform,$(DOTNET_PLATFORMS),$(eval $(call UpdatedReferences,$(platform))))

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

@ -789,6 +789,11 @@ public class Frameworks : Dictionary<string, Framework> {
static bool FilterFrameworks (Application app, Framework framework)
{
if (framework.Name == "NewsstandKit" && Driver.XcodeVersion.Major >= 15) {
Driver.Log (3, "Not linking with the framework {0} because it's not available when using Xcode 15+.", framework.Name);
return false;
}
switch (app.Platform) {
#if !NET
// CHIP has been removed in Xcode 14 Beta 5 in favor of Matter

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

@ -2908,7 +2908,7 @@ namespace Registrar {
continue;
}
if (@class.Type.Is ("PassKit", "PKDisbursementAuthorizationControllerDelegate")) {
if (@class.Type.Is ("PassKit", "PKDisbursementAuthorizationControllerDelegate") || @class.Type.Is ("PassKit", "IPKDisbursementAuthorizationControllerDelegate")) {
exceptions.Add (ErrorHelper.CreateWarning (4189, $"The class '{@class.Type.FullName}' will not be registered it has been removed from the {App.Platform} SDK."));
continue;
}

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

@ -277,6 +277,12 @@ namespace Xamarin.Bundler {
continue;
}
break;
case "NewsstandKit":
if (Driver.XcodeVersion.Major >= 15) {
Driver.Log (3, "Not linking with the framework {0} because it's not available when using Xcode 15+.", framework.Name);
continue;
}
break;
default:
if (App.IsSimulatorBuild && !App.IsFrameworkAvailableInSimulator (framework.Name)) {
if (App.AreAnyAssembliesTrimmed) {

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

@ -66,7 +66,7 @@ stages:
artifactName: '${{ parameters.uploadPrefix }}not-signed-package'
signType: Real
usePipelineArtifactTasks: true
condition: "eq(dependencies.configure.outputs['configure_platforms.ENABLE_DOTNET'],'')"
condition: "ne(dependencies.configure.outputs['configure_platforms.ENABLE_DOTNET'],'')"
dependsOn: configure
# Check - "xamarin-macios (Prepare Release Convert NuGet to MSI)"
@ -82,7 +82,7 @@ stages:
binlogsArtifactName: ${{ parameters.uploadPrefix }}nuget-msi-convert-binlogs
signType: Real
useDateTimeVersion: true
condition: "eq(dependencies.configure.outputs['configure_platforms.ENABLE_DOTNET'],'')"
condition: "ne(dependencies.configure.outputs['configure_platforms.ENABLE_DOTNET'],'')"
postConvertSteps:
- task: DownloadPipelineArtifact@2
inputs:
@ -105,7 +105,7 @@ stages:
- job: push_signed_nugets
displayName: Push NuGets
dependsOn: nuget_convert
condition: "eq(dependencies.configure.outputs['configure_platforms.ENABLE_DOTNET'],'')"
condition: "ne(dependencies.configure.outputs['configure_platforms.ENABLE_DOTNET'],'')"
variables:
skipNugetSecurityAnalysis: true
pool:

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

@ -31,17 +31,8 @@ namespace Xamarin {
contents.AppendLine ("#include <stdlib.h>");
contents.AppendLine ();
contents.AppendLine ("extern \"C\" const char *xamarin_icu_dat_file_name;");
contents.AppendLine ();
contents.AppendLine ("static void xamarin_initialize_dotnet ()");
contents.AppendLine ("{");
if (Configuration.InvariantGlobalization) {
contents.AppendLine ("\tsetenv (\"DOTNET_SYSTEM_GLOBALIZATION_INVARIANT\", \"1\", 1);");
} else {
if (Configuration.HybridGlobalization)
contents.AppendLine ("\tsetenv (\"DOTNET_SYSTEM_GLOBALIZATION_HYBRID\", \"1\", 1);");
contents.AppendLine ($"\txamarin_icu_dat_file_name = \"{Configuration.GlobalizationDataFile}\";");
}
if (Configuration.Application.PackageManagedDebugSymbols && Configuration.Application.UseInterpreter)
contents.AppendLine ($"\tsetenv (\"DOTNET_MODIFIABLE_ASSEMBLIES\", \"debug\", 1);");
contents.AppendLine ("}");

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Nepovedlo se dekomprimovat soubor {0}. Zkontrolujte prosím v protokolu o sestavení další informace z nativního příkazu unzip.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>V referencích chybí požadované sestavení Xamarin.Mac.dll.
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>Třída {0} nebude zaregistrována, protože rozhraní WatchKit bylo odebráno ze sady iOS SDK.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Nepovedlo se vypočítat signaturu bloku pro typ „{0}“: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Chybí kompilátor {0}. Nainstalujte prosím nástroje příkazového řádku Xcode.
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>V sestavení „{0}“ nelze najít typ „ObjCRuntime.__Registrar__“.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Die Datei „{0}“ konnte nicht dekomprimiert werden. Überprüfen Sie das Buildprotokoll auf weitere Informationen aus dem nativen Befehl „unzip“.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>Die erforderliche Assembly "Xamarin.Mac.dll" fehlt in den Verweisen.
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>Die Klasse "{0}" wird nicht registriert, weil das WatchKit-Framework aus dem iOS SDK entfernt wurde.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Die Blocksignatur für den Typ „{0}“ kann nicht berechnet werden: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Der Compiler "{0}" fehlt. Installieren Sie die Xcode-Komponente "Befehlszeilentools".
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>Der Typ „ObjCRuntime.__Registrar__“ wurde in der Assembly „{0}“ nicht gefunden.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>No se pudo descomprimir el archivo '{0}'. Revise el registro de compilación para más información del comando nativo "unzip".</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>Falta el ensamblado "Xamarin.Mac.dll" necesario en las referencias.
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>La clase "{0}" no se registrará porque el marco WatchKit se ha quitado del SDK de iOS.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>No se puede calcular la firma de bloque para el tipo '{0}': {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Falta el compilador "{0}". Instale el componente "Herramientas de línea de comandos" de Xcode.
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>No se encontró el tipo 'ObjCRuntime.__Registrar__' en el ensamblado '{0}'.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Impossible de décompresser le fichier '{0}'. Veuillez consulter le journal de compilation pour plus d'informations sur la commande native 'unzip'.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>L'assembly 'Xamarin.Mac.dll' nécessaire est manquant dans les références
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>La classe '{0}' ne sera pas enregistrée, car le framework WatchKit a été supprimé du kit iOS SDK.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Impossible de calculer la signature de bloc pour le type '{0}' : {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Compilateur '{0}' manquant. Installez le composant 'Command-Line Tools' (Outils en ligne de commande) de Xcode
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>Impossible de trouver le type 'ObjCRuntime.__Registrar__' dans lassembly '{0}'.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Non è stato possibile decomprimere il framework '{0}'. Per altre informazioni restituite dal comando 'unzip' nativo, esaminare il log di compilazione.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>L'assembly obbligatorio 'Xamarin.Mac.dll' non è presente nei riferimenti
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>La classe '{0}' non verrà registrata perché il framework WatchKit è stato rimosso da iOS SDK.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Impossibile calcolare la firma del blocco per il tipo '{0}': {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Manca il compilatore '{0}'. Installare il componente 'Strumenti da riga di comando' di Xcode
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>Impossibile trovare il tipo 'ObjCRuntime.__Registrar__' nell'assembly '{0}'.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>ファイル '{0}' を展開できませんでした。ビルド ログを参照して、ネイティブの 'unzip' コマンドからの詳細情報をご確認ください。</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>必要な 'Xamarin.Mac.dll' アセンブリが参照にありません
</value>
@ -1519,7 +1525,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>WatchKit フレームワークが iOS SDK から削除されたため、クラス '{0}' は登録されません。
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1543,6 +1549,9 @@
<data name="MX4188" xml:space="preserve">
<value>型 '{0}' のブロック署名を計算できません: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>'{0}' コンパイラがありません。Xcode の 'Command-Line Tools' コンポーネントをインストールしてください
</value>
@ -1814,4 +1823,7 @@
<data name="MX8055" xml:space="preserve">
<value>アセンブリ '{0}' に型 'ObjCRuntime.__Registrar__' が見つかりませんでした。</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>'{0}' 파일의 압축을 풀 수 없습니다. 기본 unzip 명령에 대한 자세한 내용은 빌드 로그를 참조하세요.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>필요한 'Xamarin.Mac.dll' 어셈블리가 참조에 없습니다.
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>WatchKit 프레임워크가 iOS SDK에서 제거되었으므로 '{0}' 클래스가 등록되지 않습니다.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>'{0}' 형식에 대한 블록 서명을 계산할 수 없습니다. {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>'{0}' 컴파일러가 없습니다. Xcode '명령줄 도구' 구성 요소를 설치하세요.
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>어셈블리 '{0}'에서 'ObjCRuntime.__Registrar__' 형식을 찾을 수 없습니다.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Nie można zdekompresować pliku "{0}". Przejrzyj dziennik kompilacji, aby uzyskać więcej informacji z poziomu polecenia natywnego "unzip".</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>W odwołaniach brakuje wymaganego zestawu „Xamarin.Mac.dll”
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>Klasa „{0}” nie zostanie zarejestrowana, ponieważ platforma WatchKit została usunięta z zestawu iOS SDK.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Nie można obliczyć podpisu bloku dla typu „{0}”: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Brak kompilatora „{0}”. Zainstaluj składnik „Command-Line Tools” środowiska Xcode
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>Nie można odnaleźć typu „ObjCRuntime.__Registrar__” w zestawie „{0}”.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Não foi possível descompactar o arquivo '{0}'. Examine o log da build para obter mais informações sobre o comando nativo 'unzip'.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>O assembly 'Xamarin.Mac.dll' necessário está ausente das referências
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>A classe '{0}' não será registrada porque a estrutura WatchKit foi removida do SDK do iOS.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Não é possível calcular a assinatura do bloco para o tipo '{0}': {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Compilador '{0}' ausente. Instale o componente 'Ferramentas de Linha de Comando' do Xcode
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>Não foi possível encontrar o tipo 'ObjCRuntime.__Register__' no assembly '{0}'.</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>Не удалось распаковать файл "{0}". Дополнительные сведения о собственной команде unzip см. в журнале сборки.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>В ссылках отсутствует требуемая сборка "Xamarin.Mac.dll".
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>Класс "{0}" не будет зарегистрирован, так как платформа WatchKit была удалена из пакета iOS SDK.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>Не удалось вычислить подпись блока для типа "{0}": {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>Отсутствует компилятор "{0}". Установите компонент программ командной строки для Xcode.
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>Не удалось найти тип "ObjCRuntime.__Registrar__" в сборке "{0}".</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>'{0}' dosyasıılamadı. Yerel 'unzip' komutundan daha fazla bilgi için lütfen derleme günlüğünü gözden geçirin.</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>Gerekli 'Xamarin.Mac.dll' bütünleştirilmiş kodu başvurularda eksik
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>WatchKit çerçevesi iOS SDK'sından kaldırıldığından '{0}' sınıfı kaydedilmeyecek.
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>'{0}' türü için blok imzası işleme alınamıyor: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>'{0}' derleyicisi eksik. Lütfen Xcode 'Komut Satırı Araçları' bileşenini yükleyin
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>'{0}' derlemesinde 'ObjCRuntime.__Registrar__' türü bulunamadı..</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>无法解压缩文件“{0}”。请查看生成日志,以从本机 “unzip” 命令获取详细信息。</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>引用中缺少必需的 "Xamarin.Mac.dll" 程序集
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>不会注册类 "{0}",因为已从 iOS SDK 中删除 WatchKit 框架。
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>无法计算类型“{0}”的块签名: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>缺少 "{0}" 编译器。请安装 Xcode“命令行工具”组件
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>在程序集“{0}”中找不到类型“ObjCRuntime.__Registrar__”。</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>

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

@ -820,6 +820,12 @@
<data name="MX1306" xml:space="preserve">
<value>無法解壓縮檔案 '{0}'。請從原生的 '解壓縮' 命令,檢閱組建記錄檔以了解更多資訊。</value>
</data>
<data name="MX1307" xml:space="preserve">
<value>Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MX1308" xml:space="preserve">
<value>Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'.</value>
</data>
<data name="MM1401" xml:space="preserve">
<value>參考中缺少必要的 'Xamarin.Mac.dll' 組件
</value>
@ -1518,7 +1524,7 @@
</value>
</data>
<data name="MT4178" xml:space="preserve">
<value>因為已從 iOS SDK 移除 WatchKit 架構,所以將不會登錄類別 '{0}'。
<value>The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
</value>
</data>
<data name="MT4179" xml:space="preserve">
@ -1542,6 +1548,9 @@
<data name="MX4188" xml:space="preserve">
<value>無法計算類型 '{0}' 的區塊簽章: {1}</value>
</data>
<data name="MX4189" xml:space="preserve">
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
</data>
<data name="MT5101" xml:space="preserve">
<value>缺少 '{0}' 編譯器。請安裝 Xcode [命令列工具] 元件
</value>
@ -1813,4 +1822,7 @@
<data name="MX8055" xml:space="preserve">
<value>在組件 '{0}' 中找不到類型 'ObjCRuntime.__Registrar__'。</value>
</data>
<data name="MX8056" xml:space="preserve">
<value>Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}.</value>
</data>
</root>