{"id":1125,"date":"2021-04-03T10:32:52","date_gmt":"2021-04-03T16:32:52","guid":{"rendered":"https:\/\/www.great-white-software.com\/blog\/?p=1125"},"modified":"2021-05-26T10:00:38","modified_gmt":"2021-05-26T16:00:38","slug":"heads-up","status":"publish","type":"post","link":"https:\/\/www.great-white-software.com\/blog\/2021\/04\/03\/heads-up\/","title":{"rendered":"Heads up"},"content":{"rendered":"\n<p>Been getting weird reports from friends that Xojo 2021r1 isnt quite as &#8220;native&#8221; on M1&#8217;s as expected<\/p>\n\n\n\n<p>If you do NOT install Rosetta the IDE runs &#8211; but you cannot debug or build anything<\/p>\n\n\n\n<p>Poking around it appears the linkers, ld, ldarm and lld are all only built as x86_64 binaries meaning that you MUST install Rosetta for Xojo to be able to debug or build<\/p>\n\n\n\n<p>EDIT : I wrote Geoff after I heard of this and said &#8220;someone should look into this ASAP&#8221;. The reply I got doesnt surprise me; nor impress me.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>We are aware of this. We will be making the linker native but for now it requires Rosetta. This is rarely an issue because nearly everyone installs Rosetta anyway since they almost certainly have some software that requires it at this point. Linking is a tiny fraction of the run\/build time at this point.<\/p><p>While I can\u2019t tell you when, it is a priority to get the linker to be native and thus not require Rosetta.<\/p><\/blockquote>\n\n\n\n<p>EDIT II : I replied, as follows, quoting the press release<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>So this claim is not entirely true<\/p><p>With this release Xojo itself is native on Apple Silicon, as well as XojoScript and Worker, which builds native Apple Silicon helper apps. In the previous release from November 2020, native compilation for the Apple Silicon (M1) Macs was added, which made Xojo the first cross-platform development tool to support Macs with this new processor technology.<\/p><\/blockquote>\n\n\n\n<p>And I received another reply<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>We said the IDE, XojoScript, Worker and compilation are native. We did NOT say linking is native. That may be a distinction without a difference but it is what we said. Regardless, linking is a tiny fraction of the entire process. And for a lot of users, linking is an implementation detail. As I said we are working on making the linker native as well. But just to make the point even stronger, I wouldn&#8217;t add that as a bullet item for a release because for most users linking is an implementation detail.<\/p><\/blockquote>\n\n\n\n<p>A hair splitting detail since the press release makes it seem like the ENTIRE IDE is M1 native when its not. Were the linker a separate application, like it sometimes is in other tools, I could see splitting this out as a separate item. With Xojo, the IDE is editor, compiler, and linker all in one so saying Xojo is native leads one to assume that ALL components of it are. But that is not true.<\/p>\n\n\n\n<p>I&#8217;ve asked they add Rosetta to the requirements pages JUST so no one is surprised.<\/p>\n\n\n\n<p>EDIT III : System requirements page HAS been updated, 2021-04-04-02:09:22, to say<br><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>macOS Mojave (10.14) or higher is required to build for Apple silicon. See below for iOS requirements.<\/p><p>An SSD is recommended for best performance.<\/p><p>While Xojo itself (and the Xojo compiler) are native on Apple silicon, a small part of the build process still requires Rosetta to be installed in order to run\/build apps when using Xojo on Apple silicon. You will be prompted to automatically install Rosetta if it is not present.<\/p><\/blockquote>\n\n\n\n<p>EDIT IV : While the requirements are &#8220;more correct&#8221; its not true that you will be prompted to install it if it is not present. Maybe that will come in a future version &#8211; but at the moment the reason this entire thing got started was because there was an error debugging &amp; building ARM only apps from Xojo as they would fail with an obscure error about not being able to start the linker. The Xojo IDE does NOT prompt you to install Rosetta if it is missing.<\/p>\n\n\n\n<p>If you get an error that looks like<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"306\" src=\"https:\/\/i0.wp.com\/www.great-white-software.com\/blog\/wp-content\/uploads\/2021\/04\/Xojo_M1-1.png?resize=525%2C306&#038;ssl=1\" alt=\"\" class=\"wp-image-1142\" srcset=\"https:\/\/i0.wp.com\/www.great-white-software.com\/blog\/wp-content\/uploads\/2021\/04\/Xojo_M1-1.png?resize=1024%2C596&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.great-white-software.com\/blog\/wp-content\/uploads\/2021\/04\/Xojo_M1-1.png?resize=300%2C175&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.great-white-software.com\/blog\/wp-content\/uploads\/2021\/04\/Xojo_M1-1.png?resize=768%2C447&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.great-white-software.com\/blog\/wp-content\/uploads\/2021\/04\/Xojo_M1-1.png?resize=1536%2C894&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.great-white-software.com\/blog\/wp-content\/uploads\/2021\/04\/Xojo_M1-1.png?resize=2048%2C1192&amp;ssl=1 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>know that this error is from the linkers NOT being native and so without Rosetta they will not work. Save your work. Quit the IDE. Install Rosetta and go back to work.<\/p>\n\n\n\n<p>I do just wish they&#8217;d been more clear about this requirement<\/p>\n\n\n\n<p>EDIT V : And now <a href=\"https:\/\/forum.xojo.com\/t\/is-xojo-really-applesilicon-native\/62481\">another user has experienced this<\/a><\/p>\n\n\n\n<p>I still don&#8217;t understand what TIME has to do with this issue. The point is not that the linker takes milliseconds, or hours. It&#8217;s that, without Rosetta, it wont work AT ALL. Saying linking only takes a short amount of time isnt relevant in any way.<\/p>\n\n\n\n<p>Does it work without Rosetta ? NO. End of story<\/p>\n\n\n\n<p>EDIT VI : This is perhaps one of the most edited posts on my blog in the entire time its been up<br><\/p>\n\n\n\n<p>The system requirements page has been updated. Again<\/p>\n\n\n\n<p>Now it says<\/p>\n\n\n\n<p><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>While Xojo itself (and the Xojo compiler) are native on Apple silicon, a small part of the build process still requires Rosetta to be installed in order to run\/build apps when using Xojo on Apple silicon. You can easily install Rosetta if needed by pasting the following command into a Terminal:<\/p><p><em>\/usr\/sbin\/softwareupdate &#8211;install-rosetta<\/em>\n<\/p><\/blockquote>\n\n\n\n<p>Big or small portion isnt really relevant. Nor is how long this portion takes to run.<\/p>\n\n\n\n<p>The entire app bundle is made up of several apps and some were not native. Period. Not fully native and Rosetta is required.<\/p>\n\n\n\n<p>Everything else is hair splitting<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Been getting weird reports from friends that Xojo 2021r1 isnt quite as &#8220;native&#8221; on M1&#8217;s as expected If you do NOT install Rosetta the IDE runs &#8211; but you cannot debug or build anything Poking around it appears the linkers, ld, ldarm and lld are all only built as x86_64 binaries meaning that you MUST &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.great-white-software.com\/blog\/2021\/04\/03\/heads-up\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Heads up&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/1125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/comments?post=1125"}],"version-history":[{"count":10,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/1125\/revisions"}],"predecessor-version":[{"id":1194,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/1125\/revisions\/1194"}],"wp:attachment":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/media?parent=1125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/categories?post=1125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/tags?post=1125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}