[ANN] Release 8.1.5

Ben Rubinstein benr_mc at cogapp.com
Tue Jul 11 17:03:43 EDT 2017


Thanks Panos.

But what happens when switching back to an older LC which references an older 
Xcode - do I have to redo the incantation below each time? Or should it always 
be set to the latest Xcode, regardless of which one LC is using to build with?

Many thanks,

Ben

On 11/07/2017 18:00, panagiotis merakos via use-livecode wrote:
> Hi Ben,
> 
> Yes, this error means that still the old_path_to_xcode_command_line_tools
> is used (i.e. the /Applications/Xcode.app one). You can change it in two
> ways:
> 
> 1) Open a terminal and type:
> 
> sudo xcode-select -s path/to/new/xcode.app
> 
> e.g. for me this is:
> 
> sudo xcode-select -s /Users/panos/Builds/Platforms/Xcode_8_3_3/Xcode.app
> 
> 
> OR
> 
> 
> 2) Open the new Xcode and go to menubar Xcode -> Preferences -> Locations
> and choose the path_to_the_new_Xcode in "Command Line Tools:"
> 
> 
> What those options do is set the path to the command line tools that will
> used when commands such as "xcrun" are called from within LiveCode. Those
> commands are called when building iOS standalones from the Standalone
> Builder.
> 
> 
> Hope this helps,
> 
> Panos
> 
> --
> 
> 
> 
> On Tue, Jul 11, 2017 at 5:45 PM, Ben Rubinstein via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> Hi Panos,
>>
>> On 10/07/2017 18:20, panagiotis merakos via use-livecode wrote:
>>
>>> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I
>>> would suggest to have separate folders for each Xcode version, to avoid
>>> problems where the Xcode version is updated automatically (the one
>>> in /Applications/Xcode.app), but LC not yet supports this Xcode version. I
>>> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc,
>>> and
>>> each one of the has the respective "Xcode.app" binary.
>>>
>>
>> When I've tried something along these lines, I get an error when building
>> standalones that specifically refers to the path /Applications/Xcode.app,
>> as if somewhere in the process it has been hardwired. The error is:
>>
>>          linking for arm failed with xcrun: error: active
>>          developer path
>>          ("/Applications/Xcode.app/Contents/Developer")
>>          does not exist, use ‘xcode-select --switch
>>          path/to/Xcode.app‘ to specify the Xcode that
>>          you wish to use for command line developer
>>          tools (or see ‘man xcode-select‘)
>>
>> I've had to settle for moving the various versions of Xcode in and out of
>> sub-folders, and resetting preferences, each time I switch between LC
>> versions.
>>
>> Evidently you've found a way of making this work - do you know what the
>> magic might be?
>>
>> TIA,
>>
>> Ben
>>
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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