Notarized Mac packages

Erel

B4X founder
Staff member
Licensed User
Longtime User
1620833751903.png


That was quite difficult.

First notarized app: www.b4x.com/b4j/test3.zip

Note that you need a local Mac and an Apple developer account for this ($99 per year) to sign and notarize apps.

Next week I'll release a tool that will automate many of the steps.
 

ilan

Expert
Licensed User
Longtime User
does it mean that we can make apps using b4j and mac users can download it and run it on their mac? (not from the app store!)
 

udg

Expert
Licensed User
Longtime User
Let me add another question: is this limited to Mac desktops or (eventually in a future) be a solution available for iPads, iPhones.. ?
Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
just another question please will it work also on mac system that has not java installed on them?
Yes. Java is not required.

s this limited to Mac desktops or (eventually in a future) be a solution available for iPads, iPhones.. ?
There is a solution for iOS: B4i.
B4J apps will not run on iOS. The other way can actually work. You can run B4i apps on Macs.
 

udg

Expert
Licensed User
Longtime User
There is a solution for iOS: B4i.
Sure, my question is related to the "avoid Apple Store" topic rather than "use B4J to build a mobile app".
Once I used B4i+MacBuilder to compile a simple test app. I missed the step "mail the ipa file (or equivalent) to someone else, avoiding the store". BTW, I never registerd as an Apple developer..
Anyway this looks a bit OT here :)
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Once I used B4i+MacBuilder to compile a simple test app. I missed the step "mail the ipa file (or equivalent) to someone else, avoiding the store". BTW, I never registerd as an Apple developer..
Anyway this looks a bit OT here
Mac is more open than iOS. In iOS you cannot distribute apps outside of the store with a few irrelevant exceptions.
 
  • Like
Reactions: udg

xulihang

Active Member
Licensed User
Longtime User
Another problem is that if the app is downloaded from the Internet, the system may say the app is damaged

I have to ask my users to manually run this command:
Bash:
sudo xattr -rd com.apple.quarantine /Applications/BasicCAT.app
 

tufanv

Expert
Licensed User
Longtime User
What about sending to mac store ? There were some tools from Janpro that made it available but I doubt if they are still working.
 

christianjeannot

Member
Licensed User
I have tested it. It works properly :)
From my point of view this would be a very big improvement for distributing B4J Applications on the Mac Desktop.
 

cjpryor

Active Member
Licensed User
Erel, Last Friday I got my B4J application notarization to work using a manual process as well and yes, it was difficult. The notarization approval from Apple (see below) was quite satisfying! My app can be downloaded from https://www.nmcollector.net/product-page/nm-collector-software-cp-macos. This is just a Proof of Concept to see how the B4X development environment will work for me and this application. So far I am very happy with it. I think the biggest advantage will be code reuse when I deploy to iOS and Android.

I was thinking about posting my process to this group but I will wait for your automated approach. In the mean-time, if anybody is interested in the manual process I used I will be happy to share it.

Screen Shot 2021-05-17 at 7.16.04 AM.png
 
Top