Uh oh!
There was an error while loading. Please reload this page.
Enable AppleAppBuilder to bundle iOS applications built for NativeAOT runtime - #81711
Conversation
ghost
commented
Feb 6, 2023
Tagging subscribers to this area: @directhex Issue DetailsThis PR adds support for bundling iOS applications built for NativeAOT runtime with AppleAppBuilder. An example of invoking the task would be as follows: <AppleAppBuilderTaskUseNativeAOTRuntime="True"TargetOS="$(TargetOS)"Arch="$(TargetArchitecture)"ProjectName="$(AppName)"Assemblies="@(BundleAssemblies)"GenerateXcodeProject="True"BuildAppBundle="True"DevTeamProvisioning="$(DevTeamProvisioning)"OutputDirectory="$(AppDir)"Optimized="$(Optimized)"AppDir="$(MSBuildThisFileDirectory)$(PublishDir)">
<OutputTaskParameter="AppBundlePath"PropertyName="AppBundlePath" />
<OutputTaskParameter="XcodeProjectPath"PropertyName="XcodeProjectPath" />
</AppleAppBuilderTask>Assumptions:
Fixes: #80910 PS The purpose of adapting AppleAppBuilder is to enable building sample applications which would serve as PoC and initial steps to enable testing and validation of NativeAOT on iOS support. The full SDK integration (via Xamarin build tasks) will become available as a follow-up work.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
2ea9a6f to
e5dee96CompareUh oh!
There was an error while loading. Please reload this page.
This PR adds support for bundling iOS applications built for NativeAOT runtime with AppleAppBuilder.
An example of invoking the task would be as follows:
Assumptions:
$(PublishDir)should include all the*.o,*.dat,*.arequired for linking the AOT compiled managed executable with the native host application (from template: https://github.com/dotnet/runtime/blob/main/src/tasks/AppleAppBuilder/Templates/main-simple.m)Fixes: #80910
PS The purpose of adapting AppleAppBuilder is to enable building sample applications which would serve as PoC and initial steps to enable testing and validation of NativeAOT on iOS support. The full SDK integration (via Xamarin build tasks) will become available as a follow-up work.