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

Fix building iOS projects in AOT mode via command line not working #5940

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Jul 22, 2023

CleanShot 2023-07-22 at 12 18 27

dotnet build by default builds on the AnyCPU platform. Explicitly adding -p:Platform=iPhone doesn't work halfway through the build for reasons I don't think I want to know (it reverts back to AnyCPU platform). Fixed the workaround instead to copy to the correct directory if no custom Platform is specified (eventually the Platform != AnyCPU branch won't exist along with the entire iPhone/iPhoneSimulator configuration once Rider becomes smart about choosing which RID to build with).


For reference, this is the value of Platform when using dotnet build without specifying any platform:

CleanShot 2023-07-22 at 17 34 49

@peppy peppy merged commit 7ab4887 into ppy:master Jul 22, 2023
@frenzibyte frenzibyte deleted the handle-cli-ios-builds branch July 22, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants