Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HelloiOS sample for NativeAOT #80911

Closed
2 tasks done
Tracked by #80905 ...
ivanpovazan opened this issue Jan 20, 2023 · 3 comments
Closed
2 tasks done
Tracked by #80905 ...

HelloiOS sample for NativeAOT #80911

ivanpovazan opened this issue Jan 20, 2023 · 3 comments

Comments

@ivanpovazan
Copy link
Member

ivanpovazan commented Jan 20, 2023

Description

  • HelloiOS sample application used for monitoring size and performance regressions on iOS platforms is currently used only with Mono.
  • Once AppleAppBuilder support is implemented, adapt the sample or create a new application which would serve the same purpose for NativeAOT.

Proposal

The sample app would be used to prove that:

  • First step - NativeAOT can build and run a PoC iOS application with native UI and managed interop (on both: simulator and device) Adding HelloiOS sample for NativeAOT #82249
  • Second step - Full integration with dotnet SDK and internal build tasks for targeting iOS platforms (integrate System.Globalization.Native and support all iOS-like platforms)
@ghost
Copy link

ghost commented Jan 20, 2023

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

  • HelloiOS sample application used for monitoring size and performance regressions on iOS platforms is currently used only with Mono.
  • Once AppleAppBuilder support is implemented, adapt the sample or create a new application which would serve the same purpose for NativeAOT.

Proposal The sample app would be used to prove that:

  1. NativeAOT can build and run a sample iOS application with native UI and managed interop (on both: simulator and device)
  2. Is properly integrated with dotnet SDK and build tasks for targeting iOS platforms
Author: ivanpovazan
Assignees: ivanpovazan
Labels:

feature-request, os-ios, area-NativeAOT-coreclr

Milestone: 8.0.0

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 16, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 24, 2023
@kotlarmilos
Copy link
Member

@ivanpovazan fyi I've started integrating the sample app as a functional test on the CI. Full integration with dotnet SDK and internal build tasks for targeting iOS platforms shouldn't change the CI as it uses make script.

- script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false
env:
DevTeamProvisioning: '-'
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS
displayName: Build HelloiOS AOT sample app LLVM=True

@ivanpovazan
Copy link
Member Author

@ivanpovazan fyi I've started integrating the sample app as a functional test on the CI. Full integration with dotnet SDK and internal build tasks for targeting iOS platforms shouldn't change the CI as it uses make script.

- script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false
env:
DevTeamProvisioning: '-'
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS
displayName: Build HelloiOS AOT sample app LLVM=True

@kotlarmilos awesome, thanks! I created a top-level tracking issue for it: #85294

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

2 participants