Re: Even Distribution

2020-04-16 Thread Jerry Jensen via use-livecode
 Hi Skip,
Forgive me if this is not the answer you seek, or an oversimplification, but 
there is an easy way to find if the jobs can be exactly evenly distributed, 
with nothing left over:
if (tjobs mod tdrivers) = 0 then // it is evenly distrutable.
.Jerry

> On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode 
>  wrote:
> 
> I have working on creating a loop that would divide the number of jobs by
> the number of users and then checking to see to see if it is evenly
> divisible but that is kind of where I am stuck.  Everything I have tried
> thus far has proven to be unsuccessful.


___
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: Even Distribution

2020-04-16 Thread Håkan Liljegren via use-livecode
Maybe I’m misunderstanding but if you just want to divide the jobs you could 
have a counter for the current driver and after assigning a job you increase 
the counter and wrap it when you exceed the number of drivers.

If you’re looking for a more fancy job division algorithm you should take a 
look at the classical traveling salesman problem but with multiple drivers. And 
even with one driver this is a tricky solution. If you are building an app that 
really needs a good solution for the vehicle routing problem you can maybe wrap 
the optaplanner Java library. (optaplanner.org)

Good luck!

Håkan
On 17 Apr 2020, 04:42 +0200, Skip Kimpel via use-livecode 
, wrote:
> I have working on creating a loop that would divide the number of jobs by
> the number of users and then checking to see to see if it is evenly
> divisible but that is kind of where I am stuck. Everything I have tried
> thus far has proven to be unsuccessful.
>
> SKIP
>
> On Thu, Apr 16, 2020 at 10:36 PM Skip Kimpel  wrote:
>
> > Dev, I have already sorted the jobs out by proximity so I don't need to
> > worry about that. Just need the distribution piece down. I agree, you
> > have a good point an might prove valuable in the future.
> >
> > SKIP
> >
> > On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel  wrote:
> >
> > > Haha... Let me specify, I am looking to do this programmatically :)
> > >
> > > SKIP
> > >
> > > On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > Since you would probably have long trips and short trips, I would try
> > > > and allocate on an estimated time to complete basis so that all were 
> > > > busy
> > > > for about the same time.
> > > >
> > > > > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode <
> > > > use-livecode@lists.runrev.com> wrote:
> > > > >
> > > > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would 
> > > > > you
> > > > > evenly distribute the jobs to the drivers? In this case one of the
> > > > drivers
> > > > > would have 3 jobs while the others have two.
> > > > >
> > > > > Obviously, the number of drivers and number of jobs would fluctuate.
> > > > >
> > > > > This has been my mind twister for the night thus far :)
> > > > >
> > > > > SKIP
> > > > > ___
> > > > > 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
___
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: Even Distribution

2020-04-16 Thread Skip Kimpel via use-livecode
I have working on creating a loop that would divide the number of jobs by
the number of users and then checking to see to see if it is evenly
divisible but that is kind of where I am stuck.  Everything I have tried
thus far has proven to be unsuccessful.

SKIP

On Thu, Apr 16, 2020 at 10:36 PM Skip Kimpel  wrote:

> Dev, I have already sorted the jobs out by proximity so I don't need to
> worry about that.  Just need the distribution piece down.  I agree, you
> have a good point an might prove valuable in the future.
>
> SKIP
>
> On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel  wrote:
>
>> Haha... Let me specify, I am looking to do this programmatically :)
>>
>> SKIP
>>
>> On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> Since you would probably have long trips and short trips, I would try
>>> and allocate on an estimated time to complete basis so that all were busy
>>> for about the same time.
>>>
>>> > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> >
>>> > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
>>> > evenly distribute the jobs to the drivers?  In this case one of the
>>> drivers
>>> > would have 3 jobs while the others have two.
>>> >
>>> > Obviously, the number of drivers and number of jobs would fluctuate.
>>> >
>>> > This has been my mind twister for the night thus far :)
>>> >
>>> > SKIP
>>> > ___
>>> > 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: Even Distribution

2020-04-16 Thread Brian Milby via use-livecode
It was already mentioned somewhat, but you need some sort of weight metric for 
each job.  Save the “smallest” job.  For each driver, assign the largest and 
smallest job remaining.  When done, add the weight for each driver and give the 
remaining job to the one with the least work.

Thanks,
Brian
On Apr 16, 2020, 10:34 PM -0400, Skip Kimpel via use-livecode 
, wrote:
> Haha... Let me specify, I am looking to do this programmatically :)
>
> SKIP
>
> On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Since you would probably have long trips and short trips, I would try and
> > allocate on an estimated time to complete basis so that all were busy for
> > about the same time.
> >
> > > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> > > evenly distribute the jobs to the drivers? In this case one of the
> > drivers
> > > would have 3 jobs while the others have two.
> > >
> > > Obviously, the number of drivers and number of jobs would fluctuate.
> > >
> > > This has been my mind twister for the night thus far :)
> > >
> > > SKIP
> > > ___
> > > 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
___
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: Even Distribution

2020-04-16 Thread Skip Kimpel via use-livecode
Dev, I have already sorted the jobs out by proximity so I don't need to
worry about that.  Just need the distribution piece down.  I agree, you
have a good point an might prove valuable in the future.

SKIP

On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel  wrote:

> Haha... Let me specify, I am looking to do this programmatically :)
>
> SKIP
>
> On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Since you would probably have long trips and short trips, I would try and
>> allocate on an estimated time to complete basis so that all were busy for
>> about the same time.
>>
>> > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
>> > evenly distribute the jobs to the drivers?  In this case one of the
>> drivers
>> > would have 3 jobs while the others have two.
>> >
>> > Obviously, the number of drivers and number of jobs would fluctuate.
>> >
>> > This has been my mind twister for the night thus far :)
>> >
>> > SKIP
>> > ___
>> > 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: Even Distribution

2020-04-16 Thread Skip Kimpel via use-livecode
Haha... Let me specify, I am looking to do this programmatically :)

SKIP

On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Since you would probably have long trips and short trips, I would try and
> allocate on an estimated time to complete basis so that all were busy for
> about the same time.
>
> > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> > evenly distribute the jobs to the drivers?  In this case one of the
> drivers
> > would have 3 jobs while the others have two.
> >
> > Obviously, the number of drivers and number of jobs would fluctuate.
> >
> > This has been my mind twister for the night thus far :)
> >
> > SKIP
> > ___
> > 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: Even Distribution

2020-04-16 Thread Dev via use-livecode
Since you would probably have long trips and short trips, I would try and 
allocate on an estimated time to complete basis so that all were busy for about 
the same time.

> On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode 
>  wrote:
> 
> I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> evenly distribute the jobs to the drivers?  In this case one of the drivers
> would have 3 jobs while the others have two.
> 
> Obviously, the number of drivers and number of jobs would fluctuate.
> 
> This has been my mind twister for the night thus far :)
> 
> SKIP
> ___
> 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: Even Distribution

2020-04-16 Thread doc hawk via use-livecode

On Apr 16, 2020, at 7:23 PM, Skip Kimpel via use-livecode 
 wrote:
> 
> I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> evenly distribute the jobs to the drivers? 

Fire two drivers.

:_)

If they complain, fire two more, and it’s still easy . . .


___
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


Even Distribution

2020-04-16 Thread Skip Kimpel via use-livecode
I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
evenly distribute the jobs to the drivers?  In this case one of the drivers
would have 3 jobs while the others have two.

Obviously, the number of drivers and number of jobs would fluctuate.

This has been my mind twister for the night thus far :)

SKIP
___
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: A short question about Xcode

2020-04-16 Thread scott--- via use-livecode
Hello Graham,

When you created the development provisioning profile, I assume you added your 
iPhone’s UUID to the list of allowed test devices. In the Standalone 
Application Settings—> iOS—> Basic Settings (tab) did you select the correct 
profile. (Simulator doesn’t care about profiles but your real devices need to 
be specifically allowed.) If you just added one, be sure to restart LC so that 
it sill see it.
—
Scott Morrow

> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Ralph, I am using a development provisioning profile for iPhone. It was 
> created this month and expires next year. I will try to go over the whole 
> process again. I did as much as I could to include all the icons and splash 
> pages needed for all the phones I was likely to encounter (that was about 5 
> different types). Do I have to include ones that nobody is going to use?
> 
> Graham
> 
>> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> You can ignore the "this version of Xcode (10.1) was not compatible with the 
>> iOS 13 on my iPhone XS"
>> 
>> Make sure your using a development provisioning profile. Create a new one 
>> and try using it. If I remember correctly I've also seen this when not all 
>> Icons or Splash pages are included.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>> Of Graham Samuel via use-livecode
>> Sent: Thursday, April 16, 2020 3:05 PM
>> To: How to use LiveCode
>> Cc: Graham Samuel
>> Subject: Re: A short question about Xcode
>> 
>> Sadly, my test targets are just simulators. No real device is mentioned.
>> 
>> However, following Ralph’s advice (thanks), i reconnected with my phone 
>> unlocked. Things looked promising, but then a message came up saying that 
>> maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my 
>> iPhone XS, which is my main test device (it’s OK in the simulator). It then 
>> tried to do the loading of the app into the phone and eventually said
>> 
>>> The entitlements specified in your application’s Code Signing Entitlements 
>>> file are invalid, not permitted, or do not match those specified in your 
>>> provisioning profile. (0xE8008016).
>> 
>> I suppose that may be the end of that. I need a new iMac - the one I’ve got 
>> won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
>> visit anyone else’s, even if I could find one, since i’m in lockdown.
>> 
>> Nothing, but nothing, is simple when trying to deploy to iOS.
>> 
>> [Sound of grinding teethe]
>> 
>> Graham
>> 
>>> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I can’t recall whether this is specific to a particular LC license but when 
>>> physically attaching a device to the computer, on my setup that mobile 
>>> device appears under the menu Development —> Test Target (along with 
>>> simulator options) and can simply be selected as the test device… which 
>>> saves the added step of dragging into Xcode.
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web   https://elementarysoftware.com/
>>> email sc...@elementarysoftware.com
>>> booth1-800-615-0867
>>> --
 On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
  wrote:
 
 I’m following the LC lesson 'How do I build an iOS application?’. I think 
 I’ve done everything they mention, and I have my Apple developer 
 credentials and three iOS devices registered. I have saved my iOS app as a 
 standalone. But when I get to this instruction about getting my app on a 
 real device:
 
> 1) Open Xcode
> 
> 2) In the 'Window' menu select "Devices"
> 
> 4) Select your connected iOS device
> 
> 5) Drag standalone app to "Installed Apps" section of device window
> 
> Your app should now be on your device
 
 
 There is nothing in the Devices section for me to select (plenty of stuff 
 in the Simulators, but so what?). Do I have to fiddle with keychain or 
 particular folders or what? I have no idea what to do next (not for the 
 first time!).
 
 Graham
> 

___
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: Making an iOS app look like one

2020-04-16 Thread Brian Milby via use-livecode
I wrote the docs, so I guess I can fix them.  The issue is that for widgets 
that is how the syntax for handlers is displayed.  What can be done is to add 
an example that shows it as a command without the parentheses.

Thanks,
Brian
On Apr 16, 2020, 4:41 PM -0400, J. Landman Gay via use-livecode 
, wrote:
> On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote:
> > The ability to create additional SVG Icon Libraries is something that I
> > helped get done a while back. Here's a thread with a stack that I
> > developed that helps organize libraries:
>
> I should have guessed you'd had a hand in this. ;) Someone should take a look 
> at the dictionary
> entries for addIcon and addIconFamily, and maybe some of the other related 
> entries. The syntax
> is wrong and it threw me -- they look like functions (with parentheses) but 
> they're command
> handlers.
>
> If I weren't so stressed for time I'd write a bug report.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> ___
> 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: A short question about Xcode

2020-04-16 Thread J. Landman Gay via use-livecode

On 4/16/20 2:04 PM, Graham Samuel via use-livecode wrote:

Sadly, my test targets are just simulators. No real device is mentioned.


Missed this the first time around. You can still do everything from LC, once you launch a 
simulator which you need to do from XCode. Wait until it is fully launched and running.


Then you can choose the simulator from the LC Development menu, hit the Test button and it 
should go.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: A short question about Xcode

2020-04-16 Thread J. Landman Gay via use-livecode

On 4/16/20 3:12 PM, Graham Samuel via use-livecode wrote:

Why is it so complicated? How can anyone write a single piece of software (I’m 
talking about XCode) that uses up more bytes than would be needed for the 
Library of Babel?


That. But it is what it is, and I plan to spend double or triple the usual time when a client 
wants a mobile app, which virtually all of them do these days.


You don't need XCode though, except to have it sitting on your hard drive with its command 
tools installed. Once that's done, you can ignore it. Use the Development menu to choose your 
test device, and then choose Test from the menu, or just click the Test button in the toolbar. 
(And make sure your stack is focused or nothing will happen.) As long as XCode is set up and 
green-lighted in LC mobile preferences, that's all you need.


If you want to use a simulator though, you do have to launch it from XCode. But then you can 
ignore it again.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
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: A short question about Xcode

2020-04-16 Thread Dev via use-livecode
I feel for you Ralph. My general solution is that it is time for my wife to get 
a new computer - ie pass on my old one. Pain in the neck and so on, but it 
doesn’t happen too often. I don’t know how old yours is, but I usually get 5-6 
years out of a Mac laptop, and that means my $$$/yr stays in just in the 
painful range, and I keep doing it (3x now). So for me it is the cost of my 
hobby or a cost of doing business.
Sorry to say, but this has been going on for a while - since I bought my first 
286 and MacPlus.



> On 16-Apr-2020, at 2:45 PM, Ralph DiMola via use-livecode 
>  wrote:

>  I'm facing the fact that my 16 gig 2TB perfectly running MacBook Pro 
> still with great performance is too old to update to Catalina. This means I 
> have to scrape up $1,800 minimum to get even a 2018 MacBook Pro. And then you 
> get what you buy because memory and hard drives are now soldered in so no 
> upgrades can be done 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net

___
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: A short question about Xcode

2020-04-16 Thread Ralph DiMola via use-livecode
First of all. Make A new Provisioning Profile and put a date or other 
identifying indicator suffix at the end of the profile name.
To download it open up Xcode preferences. In the Accounts tap click on 
"Download Manual Profiles". Then reopen LC and use the new profile that can be 
identified with the suffix you added when you created it. If this does not work 
then I would try including all the icons and splash screens.

I know that this can be frustrating but when you make it through the gauntlet 
the first time it get easier after that.

 I'm facing the fact that my 16 gig 2TB perfectly running MacBook Pro 
still with great performance is too old to update to Catalina. This means I 
have to scrape up $1,800 minimum to get even a 2018 MacBook Pro. And then you 
get what you buy because memory and hard drives are now soldered in so no 
upgrades can be done 

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Graham Samuel via use-livecode
Sent: Thursday, April 16, 2020 4:21 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Re: A short question about Xcode

Ralph, I am using a development provisioning profile for iPhone. It was created 
this month and expires next year. I will try to go over the whole process 
again. I did as much as I could to include all the icons and splash pages 
needed for all the phones I was likely to encounter (that was about 5 different 
types). Do I have to include ones that nobody is going to use?

Graham

> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode 
>  wrote:
> 
> You can ignore the "this version of Xcode (10.1) was not compatible with the 
> iOS 13 on my iPhone XS"
> 
> Make sure your using a development provisioning profile. Create a new one and 
> try using it. If I remember correctly I've also seen this when not all Icons 
> or Splash pages are included.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Graham Samuel via use-livecode
> Sent: Thursday, April 16, 2020 3:05 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Re: A short question about Xcode
> 
> Sadly, my test targets are just simulators. No real device is mentioned.
> 
> However, following Ralph’s advice (thanks), i reconnected with my phone 
> unlocked. Things looked promising, but then a message came up saying that 
> maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my 
> iPhone XS, which is my main test device (it’s OK in the simulator). It then 
> tried to do the loading of the app into the phone and eventually said
> 
>> The entitlements specified in your application’s Code Signing Entitlements 
>> file are invalid, not permitted, or do not match those specified in your 
>> provisioning profile. (0xE8008016).
> 
> I suppose that may be the end of that. I need a new iMac - the one I’ve got 
> won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
> visit anyone else’s, even if I could find one, since i’m in lockdown.
> 
> Nothing, but nothing, is simple when trying to deploy to iOS.
> 
> [Sound of grinding teethe]
> 
> Graham
> 
>> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>>  wrote:
>> 
>> I can’t recall whether this is specific to a particular LC license but when 
>> physically attaching a device to the computer, on my setup that mobile 
>> device appears under the menu Development —> Test Target (along with 
>> simulator options) and can simply be selected as the test device… which 
>> saves the added step of dragging into Xcode.
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> I’m following the LC lesson 'How do I build an iOS application?’. I think 
>>> I’ve done everything they mention, and I have my Apple developer 
>>> credentials and three iOS devices registered. I have saved my iOS app as a 
>>> standalone. But when I get to this instruction about getting my app on a 
>>> real device:
>>> 
 1) Open Xcode
 
 2) In the 'Window' menu select "Devices"
 
 4) Select your connected iOS device
 
 5) Drag standalone app to "Installed Apps" section of device window
 
 Your app should now be on your device
>>> 
>>> 
>>> There is nothing in the Devices section for me to select (plenty of stuff 
>>> in the Simulators, but so what?). Do I have to fiddle with keychain or 
>>> particular folders or what? I have no idea what to do next (not for the 
>>> first time!).
>>> 
>>> Graham
>> 
>> 

Re: Making an iOS app look like one

2020-04-16 Thread J. Landman Gay via use-livecode

On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote:

The ability to create additional SVG Icon Libraries is something that I
helped get done a while back.  Here's a thread with a stack that I
developed that helps organize libraries:


I should have guessed you'd had a hand in this. ;) Someone should take a look at the dictionary 
entries for addIcon and addIconFamily, and maybe some of the other related entries. The syntax 
is wrong and it threw me -- they look like functions (with parentheses) but they're command 
handlers.


If I weren't so stressed for time I'd write a bug report.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
Ralph, I am using a development provisioning profile for iPhone. It was created 
this month and expires next year. I will try to go over the whole process 
again. I did as much as I could to include all the icons and splash pages 
needed for all the phones I was likely to encounter (that was about 5 different 
types). Do I have to include ones that nobody is going to use?

Graham

> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode 
>  wrote:
> 
> You can ignore the "this version of Xcode (10.1) was not compatible with the 
> iOS 13 on my iPhone XS"
> 
> Make sure your using a development provisioning profile. Create a new one and 
> try using it. If I remember correctly I've also seen this when not all Icons 
> or Splash pages are included.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Graham Samuel via use-livecode
> Sent: Thursday, April 16, 2020 3:05 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Re: A short question about Xcode
> 
> Sadly, my test targets are just simulators. No real device is mentioned.
> 
> However, following Ralph’s advice (thanks), i reconnected with my phone 
> unlocked. Things looked promising, but then a message came up saying that 
> maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my 
> iPhone XS, which is my main test device (it’s OK in the simulator). It then 
> tried to do the loading of the app into the phone and eventually said
> 
>> The entitlements specified in your application’s Code Signing Entitlements 
>> file are invalid, not permitted, or do not match those specified in your 
>> provisioning profile. (0xE8008016).
> 
> I suppose that may be the end of that. I need a new iMac - the one I’ve got 
> won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
> visit anyone else’s, even if I could find one, since i’m in lockdown.
> 
> Nothing, but nothing, is simple when trying to deploy to iOS.
> 
> [Sound of grinding teethe]
> 
> Graham
> 
>> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>>  wrote:
>> 
>> I can’t recall whether this is specific to a particular LC license but when 
>> physically attaching a device to the computer, on my setup that mobile 
>> device appears under the menu Development —> Test Target (along with 
>> simulator options) and can simply be selected as the test device… which 
>> saves the added step of dragging into Xcode.
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> I’m following the LC lesson 'How do I build an iOS application?’. I think 
>>> I’ve done everything they mention, and I have my Apple developer 
>>> credentials and three iOS devices registered. I have saved my iOS app as a 
>>> standalone. But when I get to this instruction about getting my app on a 
>>> real device:
>>> 
 1) Open Xcode
 
 2) In the 'Window' menu select "Devices"
 
 4) Select your connected iOS device
 
 5) Drag standalone app to "Installed Apps" section of device window
 
 Your app should now be on your device
>>> 
>>> 
>>> There is nothing in the Devices section for me to select (plenty of stuff 
>>> in the Simulators, but so what?). Do I have to fiddle with keychain or 
>>> particular folders or what? I have no idea what to do next (not for the 
>>> first time!).
>>> 
>>> Graham
>> 
>> ___
>> 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


___
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: A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
Just got the same error with an iPhone 5, which is only running iOS 10.4 - so 
whatever is wrong, it’s not to do with the newness of the operating system in 
the device. Why is it so complicated? How can anyone write a single piece of 
software (I’m talking about XCode) that uses up more bytes than would be needed 
for the Library of Babel? Things have got out of hand. Rant ends.

Graham

> On 16 Apr 2020, at 21:04, Graham Samuel via use-livecode 
>  wrote:
> 
> Sadly, my test targets are just simulators. No real device is mentioned.
> 
> However, following Ralph’s advice (thanks), i reconnected with my phone 
> unlocked. Things looked promising, but then a message came up saying that 
> maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my 
> iPhone XS, which is my main test device (it’s OK in the simulator). It then 
> tried to do the loading of the app into the phone and eventually said
> 
>> The entitlements specified in your application’s Code Signing Entitlements 
>> file are invalid, not permitted, or do not match those specified in your 
>> provisioning profile. (0xE8008016).
> 
> I suppose that may be the end of that. I need a new iMac - the one I’ve got 
> won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
> visit anyone else’s, even if I could find one, since i’m in lockdown.
> 
> Nothing, but nothing, is simple when trying to deploy to iOS.
> 
> [Sound of grinding teethe]
> 
> Graham
> 
>> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>>  wrote:
>> 
>> I can’t recall whether this is specific to a particular LC license but when 
>> physically attaching a device to the computer, on my setup that mobile 
>> device appears under the menu Development —> Test Target (along with 
>> simulator options) and can simply be selected as the test device… which 
>> saves the added step of dragging into Xcode.
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> I’m following the LC lesson 'How do I build an iOS application?’. I think 
>>> I’ve done everything they mention, and I have my Apple developer 
>>> credentials and three iOS devices registered. I have saved my iOS app as a 
>>> standalone. But when I get to this instruction about getting my app on a 
>>> real device:
>>> 
 1) Open Xcode
 
 2) In the 'Window' menu select "Devices"
 
 4) Select your connected iOS device
 
 5) Drag standalone app to "Installed Apps" section of device window
 
 Your app should now be on your device
>>> 
>>> 
>>> There is nothing in the Devices section for me to select (plenty of stuff 
>>> in the Simulators, but so what?). Do I have to fiddle with keychain or 
>>> particular folders or what? I have no idea what to do next (not for the 
>>> first time!).
>>> 
>>> Graham
>> 
>> ___
>> 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: A short question about Xcode

2020-04-16 Thread Ralph DiMola via use-livecode
You can ignore the "this version of Xcode (10.1) was not compatible with the 
iOS 13 on my iPhone XS"

Make sure your using a development provisioning profile. Create a new one and 
try using it. If I remember correctly I've also seen this when not all Icons or 
Splash pages are included.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Graham Samuel via use-livecode
Sent: Thursday, April 16, 2020 3:05 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Re: A short question about Xcode

Sadly, my test targets are just simulators. No real device is mentioned.

However, following Ralph’s advice (thanks), i reconnected with my phone 
unlocked. Things looked promising, but then a message came up saying that maybe 
this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone 
XS, which is my main test device (it’s OK in the simulator). It then tried to 
do the loading of the app into the phone and eventually said

> The entitlements specified in your application’s Code Signing Entitlements 
> file are invalid, not permitted, or do not match those specified in your 
> provisioning profile. (0xE8008016).

I suppose that may be the end of that. I need a new iMac - the one I’ve got 
won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
visit anyone else’s, even if I could find one, since i’m in lockdown.

Nothing, but nothing, is simple when trying to deploy to iOS.

[Sound of grinding teethe]

Graham

> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>  wrote:
> 
> I can’t recall whether this is specific to a particular LC license but when 
> physically attaching a device to the computer, on my setup that mobile device 
> appears under the menu Development —> Test Target (along with simulator 
> options) and can simply be selected as the test device… which saves the added 
> step of dragging into Xcode.
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-800-615-0867
> --
>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> I’m following the LC lesson 'How do I build an iOS application?’. I think 
>> I’ve done everything they mention, and I have my Apple developer credentials 
>> and three iOS devices registered. I have saved my iOS app as a standalone. 
>> But when I get to this instruction about getting my app on a real device:
>> 
>>> 1) Open Xcode
>>> 
>>> 2) In the 'Window' menu select "Devices"
>>> 
>>> 4) Select your connected iOS device
>>> 
>>> 5) Drag standalone app to "Installed Apps" section of device window
>>> 
>>> Your app should now be on your device
>> 
>> 
>> There is nothing in the Devices section for me to select (plenty of stuff in 
>> the Simulators, but so what?). Do I have to fiddle with keychain or 
>> particular folders or what? I have no idea what to do next (not for the 
>> first time!).
>> 
>> Graham
> 
> ___
> 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: A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
Sadly, my test targets are just simulators. No real device is mentioned.

However, following Ralph’s advice (thanks), i reconnected with my phone 
unlocked. Things looked promising, but then a message came up saying that maybe 
this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone 
XS, which is my main test device (it’s OK in the simulator). It then tried to 
do the loading of the app into the phone and eventually said

> The entitlements specified in your application’s Code Signing Entitlements 
> file are invalid, not permitted, or do not match those specified in your 
> provisioning profile. (0xE8008016).

I suppose that may be the end of that. I need a new iMac - the one I’ve got 
won’t run a later version of Xcode. Sadly they are rather expensive. I can’t 
visit anyone else’s, even if I could find one, since i’m in lockdown.

Nothing, but nothing, is simple when trying to deploy to iOS.

[Sound of grinding teethe]

Graham

> On 16 Apr 2020, at 20:22, scott--- via use-livecode 
>  wrote:
> 
> I can’t recall whether this is specific to a particular LC license but when 
> physically attaching a device to the computer, on my setup that mobile device 
> appears under the menu Development —> Test Target (along with simulator 
> options) and can simply be selected as the test device… which saves the added 
> step of dragging into Xcode.
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-800-615-0867
> --
>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> I’m following the LC lesson 'How do I build an iOS application?’. I think 
>> I’ve done everything they mention, and I have my Apple developer credentials 
>> and three iOS devices registered. I have saved my iOS app as a standalone. 
>> But when I get to this instruction about getting my app on a real device:
>> 
>>> 1) Open Xcode
>>> 
>>> 2) In the 'Window' menu select "Devices"
>>> 
>>> 4) Select your connected iOS device
>>> 
>>> 5) Drag standalone app to "Installed Apps" section of device window
>>> 
>>> Your app should now be on your device
>> 
>> 
>> There is nothing in the Devices section for me to select (plenty of stuff in 
>> the Simulators, but so what?). Do I have to fiddle with keychain or 
>> particular folders or what? I have no idea what to do next (not for the 
>> first time!).
>> 
>> Graham
> 
> ___
> 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: Making an iOS app look like one

2020-04-16 Thread Brian Milby via use-livecode
The ability to create additional SVG Icon Libraries is something that I
helped get done a while back.  Here's a thread with a stack that I
developed that helps organize libraries:

http://forums.livecode.com/viewtopic.php?f=10=30411

I need to take another look at it now that we have the ability to create
drawings from SVG (and use them with an image object).

On Thu, Apr 16, 2020 at 1:19 PM Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just a quick ‘Thank You’ to Andrew, Devin and Bill for their ultra-rapid
> and detailed replies. There is a lot to take in there, and I’ll respond
> later if I have to ask yet more questions. It does seem a bit of a dog’s
> breakfast (if I can say that), doesn’t it? I did not realise you could buy
> in other SCGs without some kind of intervention from the mother ship - I
> will check that out.
>
> I’ll be back.
>
> Thanks again
>
> Graham
>
>
>
> ___
> 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: A short question about Xcode

2020-04-16 Thread scott--- via use-livecode
I can’t recall whether this is specific to a particular LC license but when 
physically attaching a device to the computer, on my setup that mobile device 
appears under the menu Development —> Test Target (along with simulator 
options) and can simply be selected as the test device… which saves the added 
step of dragging into Xcode.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--
> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m following the LC lesson 'How do I build an iOS application?’. I think 
> I’ve done everything they mention, and I have my Apple developer credentials 
> and three iOS devices registered. I have saved my iOS app as a standalone. 
> But when I get to this instruction about getting my app on a real device:
> 
>> 1) Open Xcode
>> 
>> 2) In the 'Window' menu select "Devices"
>> 
>> 4) Select your connected iOS device
>> 
>> 5) Drag standalone app to "Installed Apps" section of device window
>> 
>> Your app should now be on your device
> 
> 
> There is nothing in the Devices section for me to select (plenty of stuff in 
> the Simulators, but so what?). Do I have to fiddle with keychain or 
> particular folders or what? I have no idea what to do next (not for the first 
> time!).
> 
> Graham

___
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: A short question about Xcode

2020-04-16 Thread Ralph DiMola via use-livecode
Graham,

When you attach a device to the Mac it should appear in the devices window of 
Xcode. A couple of things:
1) Make sure the device is unlocked when attaching.
2) The first time you attach it you should get a message box that will say 
something to the effect "Do you trust this Mac?"

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Graham Samuel via use-livecode
Sent: Thursday, April 16, 2020 1:11 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: A short question about Xcode

I’m following the LC lesson 'How do I build an iOS application?’. I think I’ve 
done everything they mention, and I have my Apple developer credentials and 
three iOS devices registered. I have saved my iOS app as a standalone. But when 
I get to this instruction about getting my app on a real device:

> 1) Open Xcode
> 
> 2) In the 'Window' menu select "Devices"
> 
> 4) Select your connected iOS device
> 
> 5) Drag standalone app to "Installed Apps" section of device window
> 
> Your app should now be on your device


There is nothing in the Devices section for me to select (plenty of stuff in 
the Simulators, but so what?). Do I have to fiddle with keychain or particular 
folders or what? I have no idea what to do next (not for the first time!).

Graham


___
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: Making an iOS app look like one

2020-04-16 Thread Graham Samuel via use-livecode
Just a quick ‘Thank You’ to Andrew, Devin and Bill for their ultra-rapid and 
detailed replies. There is a lot to take in there, and I’ll respond later if I 
have to ask yet more questions. It does seem a bit of a dog’s breakfast (if I 
can say that), doesn’t it? I did not realise you could buy in other SCGs 
without some kind of intervention from the mother ship - I will check that out.

I’ll be back.

Thanks again

Graham



___
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


A short question about Xcode

2020-04-16 Thread Graham Samuel via use-livecode
I’m following the LC lesson 'How do I build an iOS application?’. I think I’ve 
done everything they mention, and I have my Apple developer credentials and 
three iOS devices registered. I have saved my iOS app as a standalone. But when 
I get to this instruction about getting my app on a real device:

> 1) Open Xcode
> 
> 2) In the 'Window' menu select "Devices"
> 
> 4) Select your connected iOS device
> 
> 5) Drag standalone app to "Installed Apps" section of device window
> 
> Your app should now be on your device


There is nothing in the Devices section for me to select (plenty of stuff in 
the Simulators, but so what?). Do I have to fiddle with keychain or particular 
folders or what? I have no idea what to do next (not for the first time!).

Graham


___
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: Making an iOS app look like one

2020-04-16 Thread Devin Asay via use-livecode
Hi Graham,

TL/DR: It’s doable, but there is a learning curve.

Making your apps look native is doable, but how to get there is a mixed bag. As 
you’ve discovered, you have to use a range of capabilities.

1. Widgets. They are mostly straightforward to figure out. See my lesson at 
http://livecode.byu.edu/objects/widgets.php. I also created a sample stack with 
mobile-appropriate widgets at 
http://dight310.byu.edu/lesson_materials/13-Mobile_native_controls/mobileAndWidgets.livecode

1.a. Control over SVG icons. You have quite a bit of control over which icons 
you can use, by using icon families. See my stack SVG Icon Family Maker in 
Sample Stacks (AKA revOnline). You can go out on the internet and find an SBG 
icon set you like, import them into your stack, and put them into an icon 
family. Then you can set the icon family when you’re choosing icons for your 
SVG widget or Navbar widget.
1.b. Mobile native controls wrapped into widgets. They include the Android 
Native Button, Android Native Field, and iOS Native Button. The Android ones 
seem alright, but the iOS button just displays a label in the app, nothing 
else, no outline or background color. So these widgets seem incomplete. 
Standard LiveCode buttons using custom icons might be a better choice for now.

2. Mobile Native Controls. See my lesson at 
http://livecode.byu.edu/mobile/device-specific.php. I divide them into a few 
different groups.

2.a. Stuff that “just works”. Basically ask and answer dialogs just work right 
on mobile. Easy. Popup keyboards in fields also appear on mobile without any 
effort.

2.b. Stuff that’s pretty easy, but use mobile-specific commands.
- mobilePick - this is probably what you want in place of a radio button group.
- mobilePickDate
- mobilePickPhoto

2.c. Mobile native controls. These have to be completely scripted, but are 
doable. As for sizing and placing, I usually use a place-holder control during 
development and set the rect of the mobile native control to the place holder, 
hiding the place holder when running in the mobile environment.

Sample stack for native controls at 
http://dight310.byu.edu/lesson_materials/13-Mobile_native_controls/testMobileControls.livecode

Hope this helps.

Devin


On Apr 16, 2020, at 9:15 AM, Graham Samuel via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Folks, I know this is a desperately naive question, but as I progress with my 
first serious attempt at an iOS app, which I’m trying to do in a hurry with 
only my experience of developing LC desktop apps to go on, I am struck by how 
un-iOS-like it looks. Richard Gaskin has already suggested that I look for good 
practice amongst existing apps from all sources, and I’ve tried to do this. 
Where I come unstuck is how to imitate the ‘look’ of such apps.

I am trying, for example by getting the Native Control Widget pack from the LC 
store, and by attempting (but not so far succeeding) to understand the LC 
lesson about Native text controls, especially how I can create such controls in 
the first place.

My app is not outrageously complicated. What it needs is

 -  Fields to display information, some of which must allow input via keyboard 
or pasting. Although there is a Native Android Field widget, there isn’t one 
for iOS, so I don’t know what my options are. I want the kind of fonts and font 
sizes that are typical of iOS, but so far I haven’t found a reference to these 
properties in the LC documentation. I found a command, mobileControlCreate, 
which it appears can only function dynamically in a mobile app, which seems to 
mean I can’t create and place controls until the app is running. I find that 
confusing.

 -  Small, tidy icons, for use as the equivalent of menus or menu items, for 
example acting as links to various settings cards - so typically an image like 
a cogwheel for example. I would like these to be SVG, but none of LC’s SVG 
images have the necessary unchunky look. Do I have to create them from scratch 
(it would not be the end of the world if I did, but I imagine that there’s a 
library of them somewhere).

 -  “Done” type buttons (there is a built in widget for this but it doesn’t end 
up looking like the ‘done’ buttons I see on typical apps) and other buttons to 
start off processes or displays.

 -  Some kind of control that acts like a radio button group, so that one 
option is chosen to the exclusion of any others in the group (I suppose it’s a 
picking list, but I don’t know how to implement such a thing in an 
iOS-compatible way and the widgets on offer are specialised to date and time)

LC Support has been helpful in pointing me at various lessons, but I have 
obviously missed masses of stuff which must be there somewhere. As usual I am 
searching for pointers and examples in order to try to fast track this 
development.

Sorry for asking yet more questions.

Graham



___
use-livecode mailing list

Re: Making an iOS app look like one

2020-04-16 Thread Andrew at MidWest Coast Media via use-livecode
>  -  Fields to display information, some of which must allow input via 
> keyboard or pasting. Although there is a Native Android Field widget, there 
> isn?t one for iOS, so I don?t know what my options are. I want the kind of 
> fonts and font sizes that are typical of iOS, but so far I haven?t found a 
> reference to these properties in the LC documentation. I found a command, 
> mobileControlCreate, which it appears can only function dynamically in a 
> mobile app, which seems to mean I can?t create and place controls until the 
> app is running. I find that confusing.

No native iOS field yet, and hopefully a “mobile field” widget that is more 
cross-platform gets added at some point. For now what I do is use standard 
fields and add the mobileControl options to basically create native mobile 
fields over top of your standard fields and pass the information back and forth 
using mobileControlGet and mobileControlSet. This let’s me test in the IDE w/o 
compiling for device as often.

http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile

>  -  Small, tidy icons, for use as the equivalent of menus or menu items, for 
> example acting as links to various settings cards - so typically an image 
> like a cogwheel for example. I would like these to be SVG, but none of LC?s 
> SVG images have the necessary unchunky look. Do I have to create them from 
> scratch (it would not be the end of the world if I did, but I imagine that 
> there?s a library of them somewhere).

The SVGs in the current library are FontAwesome 4. They were good at the time, 
but are outdated now with the release of 5.13.0 (which includes COVID icons). I 
lucked out and bought a lifetime license when they ran a Kickstarter campaign a 
couple years ago which gives greater access, but even the free options are 
decent.

>  -  ?Done? type buttons (there is a built in widget for this but it doesn?t 
> end up looking like the ?done? buttons I see on typical apps) and other 
> buttons to start off processes or displays.

There is a widget pack to help with this, but I’ve always just made my own 
option that skirted the HID requirements of both major app stores without fully 
adhering or breaking them (of all the times my apps have been rejected it has 
NEVER been from native interface issues). Scott Rossi has some amazing assets 
to help with this.

http://tactilemedia.com/blog/2018/05/12/blasts-from-the-past/

>  -  Some kind of control that acts like a radio button group, so that one 
> option is chosen to the exclusion of any others in the group (I suppose it?s 
> a picking list, but I don?t know how to implement such a thing in an 
> iOS-compatible way and the widgets on offer are specialised to date and time)

After skinning them, radio buttons should act the same in mobile as they do on 
desktop since you aren’t using a native solution.

https://forums.livecode.com/viewtopic.php?t=22169 


> 
> 
—Andrew Bell
___
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: Making an iOS app look like one

2020-04-16 Thread Prothero-earthlearningsol via use-livecode
Graham,
I feel your pain!
Weren’t there some app building lessons that took you through the process of 
building a number of commonly included ios apps? I did a couple of them a few 
years ago. They were kind of quirky to follow, and not using the latest stuff, 
but perhaps they could inform you in critical ways.

In fact, here is a link that looks hopeful. But then, you’ve probably already 
been there.

http://lessons.livecode.com/m/2571/l/23075-how-do-i-build-an-ios-application

Good luck,
Bill

William Prothero
http://es.earthednet.org

> On Apr 16, 2020, at 8:16 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> Folks, I know this is a desperately naive question, but as I progress with 
> my first serious attempt at an iOS app, which I’m trying to do in a hurry 
> with only my experience of developing LC desktop apps to go on, I am struck 
> by how un-iOS-like it looks. Richard Gaskin has already suggested that I look 
> for good practice amongst existing apps from all sources, and I’ve tried to 
> do this. Where I come unstuck is how to imitate the ‘look’ of such apps.
> 
> I am trying, for example by getting the Native Control Widget pack from the 
> LC store, and by attempting (but not so far succeeding) to understand the LC 
> lesson about Native text controls, especially how I can create such controls 
> in the first place.
> 
> My app is not outrageously complicated. What it needs is
> 
>  -  Fields to display information, some of which must allow input via 
> keyboard or pasting. Although there is a Native Android Field widget, there 
> isn’t one for iOS, so I don’t know what my options are. I want the kind of 
> fonts and font sizes that are typical of iOS, but so far I haven’t found a 
> reference to these properties in the LC documentation. I found a command, 
> mobileControlCreate, which it appears can only function dynamically in a 
> mobile app, which seems to mean I can’t create and place controls until the 
> app is running. I find that confusing.
> 
>  -  Small, tidy icons, for use as the equivalent of menus or menu items, for 
> example acting as links to various settings cards - so typically an image 
> like a cogwheel for example. I would like these to be SVG, but none of LC’s 
> SVG images have the necessary unchunky look. Do I have to create them from 
> scratch (it would not be the end of the world if I did, but I imagine that 
> there’s a library of them somewhere).
> 
>  -  “Done” type buttons (there is a built in widget for this but it doesn’t 
> end up looking like the ‘done’ buttons I see on typical apps) and other 
> buttons to start off processes or displays.
> 
>  -  Some kind of control that acts like a radio button group, so that one 
> option is chosen to the exclusion of any others in the group (I suppose it’s 
> a picking list, but I don’t know how to implement such a thing in an 
> iOS-compatible way and the widgets on offer are specialised to date and time)
> 
> LC Support has been helpful in pointing me at various lessons, but I have 
> obviously missed masses of stuff which must be there somewhere. As usual I am 
> searching for pointers and examples in order to try to fast track this 
> development.
> 
> Sorry for asking yet more questions.
> 
> Graham
> 
> 
> 
> ___
> 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


Making an iOS app look like one

2020-04-16 Thread Graham Samuel via use-livecode
Folks, I know this is a desperately naive question, but as I progress with my 
first serious attempt at an iOS app, which I’m trying to do in a hurry with 
only my experience of developing LC desktop apps to go on, I am struck by how 
un-iOS-like it looks. Richard Gaskin has already suggested that I look for good 
practice amongst existing apps from all sources, and I’ve tried to do this. 
Where I come unstuck is how to imitate the ‘look’ of such apps.

I am trying, for example by getting the Native Control Widget pack from the LC 
store, and by attempting (but not so far succeeding) to understand the LC 
lesson about Native text controls, especially how I can create such controls in 
the first place.

My app is not outrageously complicated. What it needs is

  -  Fields to display information, some of which must allow input via keyboard 
or pasting. Although there is a Native Android Field widget, there isn’t one 
for iOS, so I don’t know what my options are. I want the kind of fonts and font 
sizes that are typical of iOS, but so far I haven’t found a reference to these 
properties in the LC documentation. I found a command, mobileControlCreate, 
which it appears can only function dynamically in a mobile app, which seems to 
mean I can’t create and place controls until the app is running. I find that 
confusing.

  -  Small, tidy icons, for use as the equivalent of menus or menu items, for 
example acting as links to various settings cards - so typically an image like 
a cogwheel for example. I would like these to be SVG, but none of LC’s SVG 
images have the necessary unchunky look. Do I have to create them from scratch 
(it would not be the end of the world if I did, but I imagine that there’s a 
library of them somewhere).

  -  “Done” type buttons (there is a built in widget for this but it doesn’t 
end up looking like the ‘done’ buttons I see on typical apps) and other buttons 
to start off processes or displays.

  -  Some kind of control that acts like a radio button group, so that one 
option is chosen to the exclusion of any others in the group (I suppose it’s a 
picking list, but I don’t know how to implement such a thing in an 
iOS-compatible way and the widgets on offer are specialised to date and time)

LC Support has been helpful in pointing me at various lessons, but I have 
obviously missed masses of stuff which must be there somewhere. As usual I am 
searching for pointers and examples in order to try to fast track this 
development.

Sorry for asking yet more questions.

Graham



___
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


[ANN] Release 9.6.0 DP-4

2020-04-16 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.6.0 DP-4.


Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your
stacks before testing them.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 9.6.0 DP-4 comes with more than 20 changes, including:

New Features
  - Ability to detect dark mode on MacOS, iOS and Android
  - Improvements on mobilePickPhoto on Android, including support for front
camera
  - Ability to highlight none of the icons in the navigation bar widget

Bug Fixes:
  - Improvements in the text-to-speech library
  - Improvements in the android mobile player
  - Improvements in the iOS native browser
  - Improvements in the Android barcode scanner widget
  - Support for dark mode on mobilePick on iOS

For the full list of all fixes, updates and enhancements please see the
release notes:
http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0_dp_4.pdf


Known issues

- The Browser widget's native layer is not shown in some Linux distros with
Cinnamon window manager.
- The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
yet.


Required Software
=
To build iOS apps with LiveCode you must have the appropriate versions of
Xcode as follows:

  - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1
SDK
  - macOS 10.14.4: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS
13.2 SDK (also covers iOS 13.3)
  - macOS 10.15.3: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS
13.2 SDK (also covers iOS 13.3)

There is a full list of working LiveCode/macOS/Xcode combinations here:
https://livecode.com/docs/9-5-0/faq/faq/

Note: Whilst we endeavour to release updated versions of LiveCode
supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly
recommend disabling automatic update of Xcode or downloading the specific
version of Xcode required directly from the Apple developer portal and
installing it separately.

Important: From the end of June 2020, Apple will only be accepting apps
built using iOS13 SDKs. This means that, if you wish to submit apps to the
AppStore you will have to be running at least macOS 10.14 in order to be
able to install the necessary version of Xcode.


Important Note
==
As it stands 9.6 no longer supports Android 4.x. It might be possible for
us to push back dropping support for this (now unsupported) Android version
to 9.7, however, this is only something we will consider if we assess that
there is a real need. IF you are a commercial license holder AND you have a
significant customer base still using this very old operating system AND
there is a genuine reason why that customer base cannot upgrade AND there
is a genuine reason you will need to use 9.6 to support them, please give
us feedback to supp...@livecode.com so that we can assess the need. Please
do not feedback on the basis that you think there may be a handful of
customers still using it. We're looking for definite evidence that there
are significant numbers of your end users still reliant on this OS AND that
you will need to be able to use 9.6 to support them.


Feedback

Please report any bugs encountered on our quality center at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!
The LiveCode Team
--
___
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