Browser widget in notarized Application

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mimu
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 76
Joined: Tue Mar 05, 2013 7:00 pm
Location: Berlin
Contact:

Browser widget in notarized Application

Post by mimu » Sun Sep 06, 2020 9:37 pm

I've built an a desktop Application using the great levure framework from Trevor DeVore.

After some fiddling around with app.yaml, i was able to integrate the app-updater, dropDMG,Inno Setup and macOS Notary helpers.
Works like a charme now.

At the end i get a notification from Apple that my app is successfully notarized.

The problem are stacks containing a browser-widget.

If i try to open a stack with a browser-widget included, i get immediately a spinning beach ball on OSX Mojave and Catalina. (HighSierra works fine).
I even tried to open a stack inside the app with nothing else inside then an empty, unconfigured browser widget.

My Rest-API calls are working fine, so it shouldn't be a tsnet problem.
if i do not notarize the app it works on Mojave.

Has anybody an idea what could be the problem and how to solve it?



I'am building on a OSX 10.13.6
Livecode 9.6.1 business
Xcode 10.1
Levure 0.9.5

enclosed is a zipped console diagnostic file
Attachments
Spareparts2020_2020-09-06-211632_Michaels-iMac27-7.wakeups_resource.diag.zip
(5.29 KiB) Downloaded 214 times

mimu
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 76
Joined: Tue Mar 05, 2013 7:00 pm
Location: Berlin
Contact:

Re: Browser widget in notarized Application

Post by mimu » Mon Sep 07, 2020 2:12 pm

Problem solved with help from the mothership!

i didn't know that it is important to add an entitlements file inside the resources folder
like this one:


<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.personal-information.location</key>
<true/>
<key>com.apple.security.personal-information.addressbook</key>
<true/>
<key>com.apple.security.personal-information.photos-library</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>

Post Reply

Return to “Mac OS”