Re: App fails to launch after code signing

2021-04-26 Thread Jimmieson, Phil via use-livecode
Panos said that the older version of revZip was built with an older version of 
Xcode (11.x), vs the newer revZip (Xcode 12.x), so presumably the difference is 
due to that...

Sent from my iPad

> On 26 Apr 2021, at 07:11, J. Landman Gay via use-livecode 
>  wrote:
> 
> I was wondering the same thing, and also why an older version of revZip 
> didn't need entitlements to be set.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On April 25, 2021 11:31:25 PM scott--- via use-livecode 
>>  wrote:
>> 
>> ps. Out of curiosity, what might cause the app/installer to change if it 
>> were launched before signing?
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: App fails to launch after code signing

2021-04-25 Thread Jimmieson, Phil via use-livecode
Hi Scott,

I had something similar with an app that uses revZip. Have a look at this 
discussion on livecode’s bug reporter site:


https://quality.livecode.com/show_bug.cgi?id=23176

Sent from my iPhone

On 25 Apr 2021, at 11:38, scott--- via use-livecode 
 wrote:

I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 
5) which is what I had been using. And it worked… which is great but I have no 
idea why.

—
Scott


On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
 wrote:

I have created a standalone Mac app. It launches and works as expected. The 
problem is that after code signing it (though it throws a few errors they seem 
to all be ones that are generally regarded as bogus error messages) the app 
fails to launch.

It reports success for code signing, notarization and staplication.
I’m using a lightly modified version of  Matthias Rebbe’s great  < 
mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
with the terminal shows:

"valid on disk”
"satisfies its Designated Requirement"

When I look in the console I see this happens when the app tries to launch:

"AddInstanceForFactory: No factory registered for id  
F8BB1C28-BAE8-11D6-9C31-00039315CD46”

This app uses the following inclusions (added manually)
   tsNet
   mergJSON
   Revolution Zip
   Internet
   DataGrid

The Googles seem to indicate that it is associated with AV stuff (primarily 
audio) but my app doesn’t do anything like that. Any ideas what this might mean?

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--








___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Ideas on iOS GPS tracking needed

2020-11-05 Thread Jimmieson, Phil via use-livecode
Hi Graham,


PS The only test data I have been able to find for the XCode Simulator is a 
bike ride in California which runs along giving a succession of GPS . It is 
quite useful, but naturally it doesn’t involve anomalies.


You can make your own location simulations to run in the iOS simulator. They 
are .gpx files containing coordinate information in XML format.

I created one for my students to use on my App Development (in Swift) module. I 
managed to hack it together and made a simulated walk/run around part of the 
Liverpool University Campus. To make one these you need GPS coordinates (I got 
them from Google Maps) and times - the difference in time from the last step 
determines the speed that the marker travels from the previous step. Since it 
was done by hand, the times between steps don’t match well with the distances 
and so the walk turns into a very fast run once or twice, but it works as an 
example.

Copy and paste the text below into a text file and save it with a “.gpx” 
extension.






http://www.topografix.com/GPX/1/1;
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation="http://www.topografix.com/GPX/1/1 
http://www.topografix.com/GPX/1/1/gpx.xsd;
 version="1.1"
 creator="Phil Jimmieson and Jodie Zhou">
 
Ashton Building
  2019-11-22T08:59:46Z
 

 
step 1
  2019-11-22T09:01:00Z
 

 
step 2
  2019-11-22T09:01:20Z
 

 
step 3
  2019-11-22T09:01:40Z
 

 
step 4
  2019-11-22T09:02:00Z
 

 
step 5
  2019-11-22T09:02:20Z
 

 
step 6
  2019-11-22T09:02:40Z
 

 
step 7
  2019-11-22T09:03:00Z
 

 
step 8
  2019-11-22T09:03:20Z
 

 
step 9
  2019-11-22T09:03:40Z
 

 
step 10
  2019-11-22T09:04:00Z
 

 
step 11
  2019-11-22T09:04:20Z
 
 
step 12
  2019-11-22T09:04:40Z
 


--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Issue with dropbox

2020-09-11 Thread Jimmieson, Phil via use-livecode
Hi Charles,
if this is on a Mac, it’s a security feature - apps cannot access folders 
outside of their own bundle unless the user explicitly grants permission. If 
you add an "answer folder”  command to your program, and ask the user to select 
folder B, then your app will be granted access to it and everything will work 
as it should.

Downloaded apps (even if you download them in a zip file) are flagged as being 
insecure and are not allowed to access your Mac’s filesystem.

I had this problem with an app of mine. An alternative approach I took there 
was to put folders of required supporting files into the app’s own bundle - 
using the standalone builder’s copy files tab. Apps are allowed to access files 
in their own bundle (but should not change them if your app is digitally 
signed).

--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236

On 10 Sep 2020, at 23:33, Charles Lachat via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi everybody,

A friend has accepted to test my new desktop app. I upload the app to dropbox 
and send a link, by e-mail, to my friend.

My app is in a folder "A" containing :

** the app
** a folder "B" containing several text files the app needs

The folder "A" is zipped before uploading.

After downloading (friend side) and unzipping, all the files are there but the 
app behaves as if there were no folder "B".

Most of the time.

What am I doing wrong ? Any idee ?




Thanks
Charles Lachat

===
iMac 2019
macOS 10.14
Livecode 9.6.0



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Adding items to a group

2020-08-26 Thread Jimmieson, Phil via use-livecode
Thanks very much Mark, the relayer command is exactly what I needed.


relayer field “xx” to the front of group “thePoem” —adds the field to the poem 
group at the top of the group

relayer field “xx” after group “thePoem” —removes the field from the poem group 
and leaves it in front of the group


On 26 Aug 2020, at 10:27, Mark Waddingham via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

On 2020-08-26 10:06, Jimmieson, Phil via use-livecode wrote:
One thing I’m considering is having a set of dummy hidden items
already in the group and making one of those look like the word the
user just dragged in - thus it’s already a member of the group and can
be scrolled etc with the rest. Can anyone think of any better ways of
doing it?

Take a look at the 'relayer' command in the dictionary. It allows you to move 
controls up and down the layer order and in and out of groups easily (without 
any need to ungroup/regroup).

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com<mailto:m...@livecode.com> ~ 
http://www.livecode.com/
LiveCode: Everyone can create apps

--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Adding items to a group

2020-08-26 Thread Jimmieson, Phil via use-livecode
Hi folks,
The app I’m currently working on features a poem presented as a series of 
fields (each containing one word of the poem) all grouped together, so that the 
poem can be scrolled vertically by the user. I need to be able to add extra 
words to the poem as the user drags them in from a set of words above the poem 
area. Currently I am doing this by ungrouping the poem, adding the new field to 
the list of group items and then re-grouping everything.  I know you can 
reorder group items, and move things in from outside, but the documentation 
seems to suggest that the number of items in the group will stay the same - if 
one item is moved in, another will be moved out. Is there another way to add an 
item to a group, or is ungrouping then regrouping but with an additional item 
in the list of items the only way?


One thing I’m considering is having a set of dummy hidden items already in the 
group and making one of those look like the word the user just dragged in - 
thus it’s already a member of the group and can be scrolled etc with the rest. 
Can anyone think of any better ways of doing it?

Thanks

--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Provisioning Profile issue

2020-05-22 Thread Jimmieson, Phil via use-livecode
Hi Graham,
What I usually do when I have provisioning profile problems is:

locate the folder that contains my downloaded profiles -  it’s in your personal 
library folder in your home folder (which by default is hidden).

In my case I open a window to:

/Users/phil/Library/MobileDevice/Provisioning Profiles/

Trash all of the profiles in there.

Start Xcode, and once it’s running go to preferences and select the accounts 
tab. From the area on the right of the window, select download manual profiles 
- this will re-download the profiles from Apple (and repopulate the folder that 
you just emptied).

Go back to LiveCode, and from the standalone application settings window, iOS 
tab, select the required profile from the profile popup menu.

All of that usually solves the problem. I did once have an issue where even 
that didn’t work, and in that case I logged in to Apple's developer site, 
trashed the provisioning profile and re-created it. I then went through the 
sequence outlined above and this time it was successful.

On 22 May 2020, at 16:16, Graham Samuel via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Panos, it is very strange: I looked up my provisioning profile in the 
developer.app.com site (I’ve only got the one 
provisioning profile, for iOS, type “App Store"), noted that the expiry date is 
8 May 2021, re-downloade it, double-clicked it to bring it to the attention of 
XCode, and tried the upload of the app to the phone again. Exactly the same 
result.

My next move is to revisit the Standalone Settings for the app - I am not quite 
sure  how LC knows which profiles I have or where they are, but I assume it’s 
looking in Keychain Access as I have had to supply a password for that, and 
where one can read that the certificate exists and is valid.

Graham


On 22 May 2020, at 13:48, panagiotis merakos via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hello Graham,

Hmm ok, that's strange. Could you make sure the provisioning profile has
not expired, and it is still valid, as Matthias suggested?

There is no need to download 9.6 RC-2 for that, we have not changed
anything that could cause this issue.

Kind regards,
Panos
--

On Fri, 22 May 2020 at 13:49, Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:

Panos - thanks for asking

Yes it is - an iPhone XS which has been my key test device for weeks.
Should I try it on the very latest version of LC? I had a download glitch
last night so didn’t install it (the joys of rural broadband).

Graham


Sent from my iPhone

On 22 May 2020, at 11:00, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

Hello Graham,

Is that the same iOS device you used when you could successfully
install the app?

Kind regards,
Panos
--

On Fri, 22 May 2020 at 11:52, Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:

I’ve been using XCode to load an app into my iPhone for some time now,
but
today using LC 9.6.0 rc1, I got this refusal:

A valid provisioning profile for this executable was not found.

As far as I’m concerned, I’ve got the same provisioning profile as I
had a
few days ago, and it’s  been in the Standalone Settings for the app for
some time, when this version of LC did several successful updates.

Can anyone suggest what I’ve done wrong?

--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode