another thorny permissions issue

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: another thorny permissions issue

Post by stam » Fri Sep 30, 2022 4:06 pm

marksmithhfx wrote:
Thu Sep 29, 2022 6:27 pm
I am actually hoping to put this app into the new macOS TestFlight program and distribute beta's from there. Anyone have any experience with that?

Mark

Hi Mark - I'd be interested in doing this as well. Can you post your experience if you have success with this?

Many thanks
Stam

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: another thorny permissions issue

Post by marksmithhfx » Fri Sep 30, 2022 5:26 pm

stam wrote:
Fri Sep 30, 2022 4:06 pm
Hi Mark - I'd be interested in doing this as well. Can you post your experience if you have success with this?

Many thanks
Stam
Absolutely. I hope to get started on it next week.

Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: another thorny permissions issue

Post by marksmithhfx » Wed Nov 09, 2022 10:19 pm

marksmithhfx wrote:
Fri Sep 30, 2022 5:26 pm
stam wrote:
Fri Sep 30, 2022 4:06 pm
Hi Mark - I'd be interested in doing this as well. Can you post your experience if you have success with this?

Many thanks
Stam
Absolutely. I hope to get started on it next week.

Mark
Hi Stam, just getting started with this (finally). Will keep you posted.
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: another thorny permissions issue

Post by marksmithhfx » Tue Dec 20, 2022 8:53 pm

richmond62 wrote:
Tue Jul 05, 2022 1:01 pm
I thought I would be clever and try this:

Code: Select all

on mouseUp
   if (shell("top -o rsize -ncols 2 -l 1")) contains "safari" then
      put "Yes"
   else
      put "No"
      end if
end mouseUp
Well, this worked great outside the Mac App Store but building for the store requires sandboxing and a sandboxed app that runs that shell command returns the following error message:

Code: Select all

/bin/sh: line 1: /usr/bin/top: Operation not permitted
Lovely. I'm now on the hunt to see if a sandboxed app can determine if a specific app is running on the users machine. If anyone has any experience in that regard, or has an entitlement to suggest I try, I would be delighted!!

Thanks
Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”