Compiling mBlock source code for macOS


#1

The stable mBlock 3.4.5 software is posted on GitHub now (much thanks mBlock team!!) I can compile and export for windows just fine, but getting nowhere trying to compile a macOS application version. Anyone experienced with flashbuilder and macOS application please shoot me a message and let’s try together! Here’s where I am stuck now (so many places!)

Q1. Do I need to specify that I want a macOS project when I start a new FlashBuilder actionscript project? How to do that?
For windows projects, I select new “actionscript project” I can select “web” or “desktop” but I don’t see where to specify “macOS”. If I choose new “actionscript Mobile Project”, then I can pick “iOS”, but that is for iPAD and iPhone. I want macOS, just for regular mac laptops.

Q2. If I just select “actionscript project” and proceed, then I come to an error when I add in my mac ANE files. The error says:
this ANE does not support air-native-win32 platform

So I think that somewhere… I need to specify that this project is not for windows, but is for macOS.

Q3. When I export the project, there are a number of options, which one is correct to build a macOS project?
If I just use the Export Release Build . I get a release for Windows Applications.

The macOS build release should look something like this:
Two folders:

  • _MACOSX and
  • applicationname.app

Thanks for any help making a macOS application with Flash Builder for mBlock!


#2

Hello drew345,

Well I manage well so far to compile and run mBlock under windows, and right now, i’m trying to do the same under macOS. I am right now facing the problem of the ANE not supported by macOS. Where do you find them ? I couldn’t manage it. Do you have any update so far ?
With all my thanks
Oogyvai


#3

I never had a mac laptop, so I put this project on the side. I think a mac is needed to compile for mac.
There are 9 ane files in the library that I have. Some are named for windows and some are named for mac. Do you have those 9 ane files?
I’ll be working on this soon again. If you want to work together, email me directly. add a “2” to the end of my username and send to gmail. That is my direct email.