apm_planner icon indicating copy to clipboard operation
apm_planner copied to clipboard

No OSX dmg for latest version of apm_planner

Open andyp1per opened this issue 3 years ago • 3 comments

@Arne-W do you know why this is? I looked into building it but seem to be missing some key pieces from a directory called dev_src?

andyp1per avatar Sep 17 '22 16:09 andyp1per

$HOME/dev_src is where I place all my project files on my Mac.

The file you are missing is a ‘source’ dmg that can be the target to copy the resultant .app to.

You can creat it easy enough using diskutility.

billbonney avatar Sep 18 '22 02:09 billbonney

$HOME/dev_src is where I place all my project files on my Mac.

The file you are missing is a ‘source’ dmg that can be the target to copy the resultant .app to.

You can creat it easy enough using diskutility.

Bill, I was able to create a dmg successfully using macdeployqt -dmg apmplanner.app - is it possible that qt has rolled the disk image creation into the tool?

My other issue is the resultant dmg works on the mac I have built on, but not on a much older mac

andyp1per avatar Sep 18 '22 09:09 andyp1per

They may have added the tool in. TBH, you really don't need the dmg anymore. I used it before to ship the FTDIUSBDrivers, Readme but they are built in now. I would suggest you make life easy and just zip the apmplanner.app directory.

billbonney avatar Sep 18 '22 09:09 billbonney

I've tried this on my newish M1 Mac Pro (ARM version) and also on my older Intel Core i5 Air and it works great on both. These are both running the latest OSX Monterey 12.6. I love the look and feel, its a very nice clear UI.

I do get a timeout loading waypoints from the controller.

timtuxworth avatar Oct 18 '22 18:10 timtuxworth

Just to close this off the right command for packaging is:

macdeployqt apmplanner2.app -dmg -appstore-compliant

from the release directory. Seems to work well and I have uploaded the DMG here:

https://firmware.ardupilot.org/Tools/APMPlanner/apm_planner_2.0.30-rc1_osx.dmg

To get to build for older macs I had to:

  • Use macos High Sierra (10.13.6)
  • Install Qt 5.12 from qt.io (brew will not work)
  • Install XCode 10.1

andyp1per avatar Oct 19 '22 07:10 andyp1per

@andyp1per Thanks for the mac build!

Arne-W avatar Oct 31 '22 15:10 Arne-W