-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cannot build UWP app in ARM64: exit code 1102 #1177
Comments
I have this same issue with Nightingale. @tipa have you found any workarounds? Also, is your build failing on a CI pipeline or are you building locally on your machine? jenius-apps/nightingale-rest-api-client#99 |
No I haven't found any workarounds, I gave up trying and don't build ARM64 variants for my apps any more. |
@tipa I did some investigations and it looks like the issue is related to low memory. See this comment jenius-apps/nightingale-rest-api-client#99 (comment) |
I've been having the same issue with my app, and I recently upgraded to
Please let me know what sort of diagnostics might help. |
Please share a structured msbuild log to [email protected]:
|
Thanks for following up, @tommcdon. Here's a log: The file seems small, so I'm not sure it has the granularity you need. Let me know if I need to re-run with increased verbosity. |
I ran into the exact same problem. Let me know if more logs could help, or if there is any workaround to try. |
The error message in the msbuild log is:
In the 6.2.11 release, we added a compilation flag to disable symbols on ARM64. This saves memory and as a side-effect may unblock the build. To try it out, add It may also be possible to resolve the issue by reducing the input into the compiler. I’m not sure if we have shared these workarounds in the past, but these have historically been useful in helping to reduce the memory footprint to the compiler, which will also increase compilation speed: Compiler flags There are a wide range of flags available but here’s a couple that may help out: Start from nothing.
Start from everything
These articles provide some useful background info:
|
I get error code 1105. What does this mean? I always get this when the source is on a network share, if the source is on local drive compiling works fine. |
Building ARM64 packages works for most of my UWP apps, but one of them (the largest project) fails with this error:
The text was updated successfully, but these errors were encountered: