xamarin-macios/tests/xharness
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
..
Jenkins [main][watchOS] Add x86_64 simulator support (#10059) 2020-11-20 09:27:46 -05:00
Properties [Harness] Split out classes from Jenkins.cs to separate files (#8046) 2020-03-06 06:00:34 -05:00
Targets [main][watchOS] Add x86_64 simulator support (#10059) 2020-11-20 09:27:46 -05:00
TestImporter [main][watchOS] Add x86_64 simulator support (#10059) 2020-11-20 09:27:46 -05:00
Xharness.Tests [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
.gitignore [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
AppBundleLocator.cs Merge remote-tracking branch 'origin/main' into dotnet-6.0.100-alpha.1.20559.4 2020-11-16 15:33:26 +01:00
AppRunner.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
BCLTestImportTargetFactory.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
CrashSnapshotReporterFactory.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
DeviceLoaderFactory.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
DeviceLogCapturerFactory.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
GitHub.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
Harness.cs [msbuild] Add support for `.xcframework` (#10046) 2020-11-30 13:44:03 -05:00
IEnvManager.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
IHarness.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
MacFlavorsExtensions.cs [Harness] Move the definition of the tasks outside of the jenkins class. (#8635) 2020-05-21 12:48:05 -04:00
MacTestProject.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
MakefileGenerator.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
MonoNativeInfo.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
Nullable.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
Program.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
SimulatorLoaderFactory.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
SolutionGenerator.cs [xharness] Add the Touch.Client projects to our solutions instead of MonoTouch.NUnitLite. 2020-08-03 11:53:17 +02:00
TestPlatform.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
TestPlatformExtensions.cs [Harness] Move the generation of the variations out. (#8611) 2020-05-19 11:13:31 -04:00
TestProject.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
TestProjectExtensions.cs [Harness] Move all common code to the shared lib. (#8389) 2020-08-05 18:52:39 -04:00
TestTargetExtensions.cs [Harness] Move the generation of the variations out. (#8611) 2020-05-19 11:13:31 -04:00
XmlDocumentExtensions.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
favicon.ico [xharness] Backport a few changes to get HE0038 reporting. (#6272) 2019-06-12 16:47:15 +02:00
iOSTestProject.cs [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
xharness.csproj [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00
xharness.css [xharness] Backport a few changes to get HE0038 reporting. (#6272) 2019-06-12 16:47:15 +02:00
xharness.js [xharness] Backport a few changes to get HE0038 reporting. (#6272) 2019-06-12 16:47:15 +02:00
xharness.sln [xharness] Remove Microsoft.DotNet.XHarness.iOS.Shared project and use NuGet instead (#9980) 2020-11-13 11:05:10 -05:00