xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Tasks
Sebastien Pouliot 3bd14c3eef
[msbuild] Add support for `.xcframework` (#10046)
This is done early so we can resolve the inner framework, inside the
xcframework, and let the existing framework support do most of the
work.

The resolving code has unit tests. Custom projects for "NoEmbedding"
exists for all supported platforms and executed by xharness.

A sample `xcframework` with tests projects is also available 
[here](https://github.com/spouliot/xcframework).

The xcframework test case is based on Rolf's earlier/partial implementation.
https://github.com/rolfbjarne/xamarin-macios/commit/xcframework

Things to note:

Do not rename a framework (like XTest) to use it in an xcframework
(like XCTest). That will fail at codesign but won't give anything
useful. You might think signing the framework (instead of the inner
binary) would solve it. It does, as it codesign, but then the app
crash at startup. At some point you realize some symbols are still
using XTest (not XCTest) and then you can delete several other weird
workarounds (like for `ld`) because all of it was cause by this
never identified rename.

dSYM support (and tests) to be done in a separate PR.
2020-11-30 13:44:03 -05:00
..
AOTCompile.cs [dotnet] Implement AOT compilation for mobile platforms (#9962) 2020-10-27 15:16:34 +01:00
ArTool.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
Codesign.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
CollectBundleResources.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
CollectFrameworks.cs [mac] Add user-framework support for Xamarin.Mac (#10144) 2020-11-26 08:47:41 -05:00
CompileNativeCode.cs [dotnet] Add a CompileNativeCode task and compile the generated main code into object files. 2020-06-18 15:57:01 +02:00
ComputeBundleResourceOutputPaths.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
CoreMLCompiler.cs [msbuild] Added support for building CoreML models (#2714) 2017-11-28 11:16:44 -05:00
CreateAssetPackManifest.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
CreateInstallerPackage.cs Added missing SessionId to CreateInstallerPackage (#170) 2016-06-10 11:32:41 -04:00
CreatePkgInfo.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
DSymUtil.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
Ditto.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
FindItemWithLogicalName.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
GenerateBundleName.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
GetMinimumOSVersion.cs [msbuild] Add a GetMinimumOSVersion target that reads the app manifest and outputs the MinimumOSVersion. (#8858) 2020-06-16 17:40:04 +02:00
GetNativeExecutableName.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
GetPropertyListValue.cs [msbuild] Properly subclass GetPropertyListValueTaskBase (#2793) 2017-10-04 20:08:54 +02:00
LinkNativeCode.cs [dotnet] Add a LinkNativeCode task and link the output from the CompileNativeCode task into a main executable. 2020-06-18 15:57:02 +02:00
PackLibraryResources.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
ParseBundlerArguments.cs [msbuild] Make the ParseExtraMtouchArgs task platform-agnostic, and share it between Xamarin.iOS and Xamarin.Mac. (#9061) 2020-07-13 14:56:34 +02:00
PrepareResourceRules.cs [msbuild] Move Xamarin.iOS' implementation of the PrepareResourceRules task to Xamarin.MacDev.Tasks. (#9318) 2020-08-07 14:54:38 +02:00
PropertyListEditor.cs [msbuild] Added a PropertyListEditor task which works like PlistBuddy (#1306) 2016-12-06 13:29:31 -05:00
ReadItemsFromFile.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
ResolveNativeReferences.cs [msbuild] Add support for `.xcframework` (#10046) 2020-11-30 13:44:03 -05:00
SmartCopy.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
SpotlightIndexer.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
SymbolStrip.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
UnpackLibraryResources.cs [msbuild] Dispose the AssemblyBuilder in the UnpackLibraryResource when done with it. (#8941) 2020-06-25 15:23:10 +02:00
WriteItemsToFile.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
Zip.cs Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00