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

Unable to deploy maui app on ios #19671

Closed
BjoernMSG opened this issue Jan 3, 2024 · 11 comments
Closed

Unable to deploy maui app on ios #19671

BjoernMSG opened this issue Jan 3, 2024 · 11 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working

Comments

@BjoernMSG
Copy link

BjoernMSG commented Jan 3, 2024

Description

Ive created a simple project which references an another project. The referenced project has no maui-related code so it has "net8" as targetframework. The deployment fails on. I found in the log a error that the "project.assets.json" does not have a target for "net8.0". if i add "net8.0-ios" as targetframework to the referenced project it seems to work.
For android it is fine.

Demo: https://github.com/BjoernMSG/MauiTest

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

Xcode 15.1

Did you find any workaround?

No response

Relevant log output

No response

@BjoernMSG BjoernMSG added the t/bug Something isn't working label Jan 3, 2024
@drasticactions drasticactions added the s/needs-repro Attach a solution or code which reproduces the issue label Jan 3, 2024
@ghost
Copy link

ghost commented Jan 3, 2024

Hi @BjoernMSG. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@drasticactions
Copy link
Contributor

Could you please create an example for how you set up your projects?

@BjoernMSG
Copy link
Author

BjoernMSG commented Jan 3, 2024

Ive created a small demo project:

https://github.com/BjoernMSG/MauiTest

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue labels Jan 3, 2024
@drasticactions
Copy link
Contributor

It builds and deploys fine for me without issue from CLI. Are you doing this from Visual Studio on Windows? VS Mac? Rider?

@drasticactions drasticactions added s/needs-info Issue needs more info from the author and removed s/needs-attention Issue has more information and needs another look labels Jan 5, 2024
@ghost
Copy link

ghost commented Jan 5, 2024

Hi @BjoernMSG. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@BjoernMSG
Copy link
Author

Im using Rider on a MacOs.
Thats the error i got from the log:
image

And that is project.json from the library:

image

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Jan 5, 2024
@BjoernMSG
Copy link
Author

We have the same issue for another developer, too

@BjoernMSG
Copy link
Author

Any news?

@samhouts samhouts added partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) labels Jan 10, 2024
@ChristopherStephan
Copy link

@ChristopherStephan
Copy link

I can confirm that this error is not reproducible with version of Jetbrains Rider 2023.3 EAP 9 D Build #RD-233.13945.4, built on January 14, 2024.

I guess this issue can be closed.

@kevinxufei
Copy link
Collaborator

Verified on 8.0.14 & 8.0.0-rc.2.9530 with the latest 17.6.10(build428), cannot repro on iOS platform.

@kevinxufei kevinxufei added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels Apr 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants