Recent

Author Topic: macOS 32-bit app warning  (Read 27697 times)

Phil

  • Hero Member
  • *****
  • Posts: 2737
macOS 32-bit app warning
« on: April 12, 2018, 04:00:35 pm »
macOS 10.13.4 now warns the first time you run a 32-bit app.

https://developer.apple.com/news/?id=04112018a

If you've run the app previously, you won't get the warning. Apparently it appears only the first time you run a 32-bit app starting from today.

Since I had never run the Laz "lhelp" app, I tried it. Here's what the warning dialog looks like:

If you distribute a Carbon widgetset-based app that you created with Lazarus (the default), your users will get a warning like this the first time they run the app.

Hansaplast

  • Hero Member
  • *****
  • Posts: 674
  • Tweaking4All.com
    • Tweaking4All
Re: macOS 32-bit app warning
« Reply #1 on: April 12, 2018, 04:05:21 pm »
I just noticed the same thing with my small Carbon apps ...
Thanks for the heads up!  :)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: macOS 32-bit app warning
« Reply #2 on: April 12, 2018, 04:23:08 pm »
I can remember some 16 bit apps when I was using Windows 95, then several years later wanted to download some 16 bit apps, and to only notice these can't run anymore.

Well, there should be a way to "hack" maybe, but is not the way you want to distribute your applications.

I've seen videos where you can install from the first Windows to the latest one (skipping some incompatible ones) and run old software on it.

I don't think Apple let these things happen on his machines...

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: macOS 32-bit app warning
« Reply #3 on: April 12, 2018, 04:28:55 pm »
I just noticed the same thing with my small Carbon apps ...

Here's how to see the list of 32-bit apps on a Mac. I believe the instructions were posted here previously, but this article gives screenshots:

https://forums.appleinsider.com/discussion/204327

Note that you can click the 64-bit column header in the listing to group all the 32-bit apps ("No") together to see them easily.

Other than Lazarus, startlazarus, lhelp and Lazarus-compiled apps of my own, the only 32-bit apps I have are DVD Player and InkServer, like in the screenshot.

Note FPC compilers themselves as of 3.0.4 are now "fat" binaries with both 32-bit and 64-bit architectures. And running "fpc" now defaults to the 64-bit target as of 3.0.4.

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: macOS 32-bit app warning
« Reply #4 on: April 12, 2018, 06:24:17 pm »
Note 32 bit code is deprecated by Apple and pretty soon is no longer allowed, so use it only for maintenance, not for new code. Don't even try it. For all platforms, not only Intel, but also ARM. Google has about the same policy, but needs to lag a bit...
« Last Edit: April 12, 2018, 06:26:19 pm by Thaddy »
Specialize a type, not a var.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: macOS 32-bit app warning
« Reply #5 on: April 12, 2018, 11:54:51 pm »
Note 32 bit code is deprecated by Apple and pretty soon is no longer allowed

For Macs, a minor step forward, perhaps clearing the deck of legacy bits in preparation for bigger changes in store for macOS:

https://www.fastcompany.com/40553680/the-fifth-age-of-macintosh-what-happens-if-apple-dumps-intel


dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: macOS 32-bit app warning
« Reply #6 on: April 13, 2018, 07:12:01 am »
Wow, interesting article Phil, we'll see a cross between a Mac and a Raspberry Pi ?

But seriously, ARM has come a long way hasn't it ?

And this thread does explain why I have been asked twice this morning about when my app will do 64bit on MacOS. Going to have to be real soon ......

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: macOS 32-bit app warning
« Reply #7 on: April 13, 2018, 04:24:11 pm »
But seriously, ARM has come a long way hasn't it ?

Yes, already a year ago people were noticing that the iPad Pro was edging into Intel i7 benchmark territory.

https://9to5mac.com/2017/06/14/ipad-pro-versus-macbook-pro-speed-tests/

And this thread does explain why I have been asked twice this morning about when my app will do 64bit on MacOS. Going to have to be real soon ......

You might be in a tough spot. I don't believe the Cocoa widgetset is production code ready. Qt5 might be (although I doubt if it's been tested very thoroughly on Mac), but Qt5 has two big issues: (1) deployment of Qt5 frameworks inside your app bundle and (2) license question if you're not open sourcing your entire app's code.

I have a couple apps I run on my Mac that use Qt and they look fine: Microsoft's Remote Desktop and the open-source QGIS. But I don't thing Qt is a viable option for Lazarus on Mac.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: macOS 32-bit app warning
« Reply #8 on: April 13, 2018, 05:11:08 pm »
But seriously, ARM has come a long way hasn't it ?

Yes, already a year ago people were noticing that the iPad Pro was edging into Intel i7 benchmark territory.

https://9to5mac.com/2017/06/14/ipad-pro-versus-macbook-pro-speed-tests/

Just Amazing. In university I have a teacher that's using a tablet instead of notebook. Less weight and just as good for his needs.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: macOS 32-bit app warning
« Reply #9 on: April 13, 2018, 05:28:42 pm »
In university I have a teacher that's using a tablet instead of notebook. Less weight and just as good for his needs.

I've heard people tell me that when their current computer dies, that they're not going to replace it, that their tablet is good enough for what they do. Part of that is probably the expense of a new computer that they no longer use very often. But what if Apple marketed an ARM-based MacBook running macOS that's priced somewhere between the iPad (starts at US$329, $299 education) and the MacBook (starts at $999)?

https://www.apple.com/ipad-9.7/

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: macOS 32-bit app warning
« Reply #10 on: April 13, 2018, 05:55:48 pm »
But what if Apple marketed an ARM-based MacBook running macOS that's priced somewhere between the iPad (starts at US$329, $299 education) and the MacBook (starts at $999)?

Sure, the iPad price a good price for a good tablet. In my country is almost the price of a "regular" smartphone (I say is not cheap - for me - but also not expensive).

But here iPad and all Apple stuff are regulated by the customs import taxes, that for electronic are almost half the price. So here we pay between 150% or 200% the price of the product in US.

Here it costs a bit more than $500, the same product listed as $329 in Apple website.

And yes, it will be great.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: macOS 32-bit app warning
« Reply #11 on: April 14, 2018, 05:11:03 pm »
Sure, the iPad price a good price for a good tablet. In my country is almost the price of a "regular" smartphone (I say is not cheap - for me - but also not expensive).

Cartoonist's video review of the new iPad by "filming" the screen as she draws, etc:

https://www.youtube.com/embed/nfrAWqUPcFg?modestbranding=0&html5=1&rel=0&autoplay=0&wmode=opaque&loop=0&controls=1&autohide=0&showinfo=0&theme=dark&color=red&enablejsapi=1


lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: macOS 32-bit app warning
« Reply #12 on: April 14, 2018, 05:57:13 pm »
Seems that you really like Apple a lot =)

I have not the privilege to run any of his devices, but people seems very comfortable with them, so maybe there are good reasons.

My boos says that in first place is macOS, then Linux, then Windows.

I personally like Windows, then Linux, and I can't say nothing about macOS yet, since running it on an emulator is not the full experience.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: macOS 32-bit app warning
« Reply #13 on: April 14, 2018, 06:07:23 pm »
My boos says that in first place is macOS, then Linux, then Windows.

And Macs do tend to last a long time. I'm typing this on my late 2008 MacBook.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: macOS 32-bit app warning
« Reply #14 on: April 14, 2018, 06:16:47 pm »
My boos says that in first place is macOS, then Linux, then Windows.

And Macs do tend to last a long time. I'm typing this on my late 2008 MacBook.

And I am reading this on a 2007 Mac Pro. :)
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

 

TinyPortal © 2005-2018