Problem simulating a location

Graham Samuel livfoss at mac.com
Tue Apr 14 14:13:52 EDT 2020


Gents, thank you. Good advice, and I’m taking it! I will report back.

Graham

> On 14 Apr 2020, at 19:39, Andrew at MidWest Coast Media via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> 
>> From: Graham Samuel 
>> I suppose I can try the test on a real phone, but I would rather stick to the simulator for now.
> If you have a physical device, regardless of age, try it. There are some things that either don’t work (like camera) or are spotty in the emulator.
> 
> 
>> And I haven?t found out how LC knows I?ve got a provisioning profile (separate problem I admit).
> 
> When you download from the Apple Developer site, just double-click the provisioning profile to open it in Xcode. Livecode will know it’s installed next time you open the Save As Standalone window (but won’t recognize if you install while that window is open)
>> 
> —Andrew Bell

> On 14 Apr 2020, at 17:33, Rick Harrison via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Graham,
> 
> You should really try it on the phone before knocking yourself out
> about why it doesn’t work on the simulator.  I have found that
> some things involving sensors simply don’t work on the simulator.
> 
> Try that, if it doesn’t work on the phone let us know.
> 
> Good luck!
> 
> Rick
> 
>> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Folks, I am still struggling with this. Alan Stenhouse has been kind enough to help me, but so far I have not got the simulator to simulate any kind of location information.
>> 
>> There is a function, mobileCurrentLocation, that is supposed to return an array provided tracking is enabled and mobileSensorAvailable(“location”) has been invoked (see the LC Dictionary). I have made sure that both these things have  been done, but In my tests on the simulator the array appears to be empty.
>> 
>> I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. And I haven’t found out how LC knows I’ve got a provisioning profile (separate problem I admit).
>> 
>> Has anyone got any idea what’s going wrong?
>> 
>> Puzzled.
>> 
>> Graham
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list