Open bvanrijn opened 5 years ago
I'm not entirely sure where I read this, but it seems that the culprit was the display name of the app. I had changed it to "Hello, Mac" (mind the comma) instead of "Hello_Mac" as is used in the tutorial.
Following the tutorial in record time, making sure not to change the display name, everything works!
I still think this error message should be updated.
Hello @bvanrijn!
Thank you so much for your report! You are completely right, we should do a better job when providing invalid assembly names into our tooling, I will make sure to mark this enhancement request as such.
Again, thank you for your report!
MM0000
or MT0000
are bugs (missing validations) since they do not provide an actionable description to solve the issue.
This works fine in iOS (even if the name will be without a space and comma when using the project's wizard) and it's also a valid assembly name (as far as .net is concerned).
Actually it works on iOS simulator but on device the AOT compiler is not happy.
/Users/poupou/Projects/HelloMac/HelloiOS/MTOUCH: Error MT3001: Could not AOT the assembly '/Users/poupou/Projects/HelloMac/HelloiOS/obj/iPhone/Debug/device-builds/iphone11.6-12.1.4/mtouch-cache/3-Build/Hello, iOS.exe' (MT3001) (HelloiOS)
Steps to Reproduce
Expected Behavior
The app builds without any errors and then running the app works as well.
Actual Behavior
Building the app fails with:
I found https://bugzilla.xamarin.com/show_bug.cgi?id=44697, which says:
Environment
Build Logs
Example Project (If Possible)
HelloMac.zip