Re: Problems with Xcode

2016-06-02 Thread JB
Thank you very much for
the info!

JB


> On Jun 2, 2016, at 10:55 AM, martin meili  wrote:
> 
> Hi 
> Some days ago I posted a message that LiveCode had problems finding the 
> correct Xcode-version on my iMac. Some people from the list told me, the 
> problem could be fixed with Terminal. Now, I’ve got the answer from Apple 
> support, as follows:
> 
> "There is actually UI in Xcode that can help you achieve the same goal. 
> Choose Xcode > Preferences, and click Locations.
> Select a version from the Command Line Tools pop-up menu.
> When you get to step 2, and select the Command Line Tools drop down menu, you 
> should see a list of the different versions of Xcode installed on your 
> machine. Make the appropriate selection from the drop down. 
> 
> FYI, if you don’t need to maintain separate versions of Xcode it may be 
> easier for you if you remove the old versions of Xcode.“
> 
> This piece of advice from Apple helped me to fix my problem.
> 
> Cheers
> Martin
> 
> 
> 
> 
> ___
> 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


Problems with Xcode

2016-06-02 Thread martin meili
Hi 
Some days ago I posted a message that LiveCode had problems finding the correct 
Xcode-version on my iMac. Some people from the list told me, the problem could 
be fixed with Terminal. Now, I’ve got the answer from Apple support, as follows:

"There is actually UI in Xcode that can help you achieve the same goal. 
Choose Xcode > Preferences, and click Locations.
Select a version from the Command Line Tools pop-up menu.
When you get to step 2, and select the Command Line Tools drop down menu, you 
should see a list of the different versions of Xcode installed on your machine. 
Make the appropriate selection from the drop down. 

FYI, if you don’t need to maintain separate versions of Xcode it may be easier 
for you if you remove the old versions of Xcode.“

This piece of advice from Apple helped me to fix my problem.

Cheers
Martin




___
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: Problems with Xcode

2016-05-22 Thread panagiotis merakos
Hi Martin,

Try this in the terminal:

1. Type:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

2. Press enter. You will be asked for your password. Type your password and
press enter.

3. Type xcode-select -p

4. Press Enter. This should output:
/Applications/Xcode.app/Contents/Developer

The command in (1) tells the system where to look for the command line tools
The command in (3) returns the path to the command lines tools.

5. In LiveCode, go to Preferences-> Mobile Support and remove any existing
entries. Now add the path to your Xcode.app

Hopefully this will work.

Best,
Panos
--

On Sun, May 22, 2016 at 1:48 PM, martin meili 
wrote:

> Hi Marc
> Yes, I have removed this space.
> No effect on the result.
>
> The correct path should be: /Applications/Xcode.app/Contents/Developer.
> The „Xcode 2.app“ doesn’t exist anymore on my computer; it was about
> version 4.2.
> LiveCode is leading me to the anymore-existent Xcode version; the question
> is how I can force Terminal to change the wrong path to the correct one.
> Then also LC would do it ………
>
> I’ve contacted Apple about the issue via my account.
> If I get the solution to my problem from Apple, I will let know the list.
>
> Many thanks for your help and advice.
>
> Martin
> ___
> 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
>



-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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: 12. Re: Problems with Xcode

2016-05-21 Thread Marc Siskin
Martin,

Did you try removing or replacing the space in the app name?

Marc
On May 21, 2016, at 7:47 AM, martin meili 
<bmme...@swissonline.ch<mailto:bmme...@swissonline.ch>> wrote:


Am 21.05.2016 um 07:13 schrieb 
use-livecode-requ...@lists.runrev.com<mailto:use-livecode-requ...@lists.runrev.com>:

12. Re: Problems with Xcode


Hi Dave
Many thanks for your advice.

It’s true, I’ve got different Xcode-versions on my Mac. The by Terminal 
returned path is: /Applications/Xcode 2.app/Contents/Developer. So, the problem 
is, as you have stated, the „Xcode 2.app“-part of the path.
I’ve tried to fix the problem with Terminal, but there are too many warnings 
there, saying I could cause damage to the system ……… I’m not sure whether I 
type the correct things, because I’m not familiar with Terminal. I’m just an 
apprentice of the magicians ………

At the moment I’m stuck with this problem.


With kind regards
Martin
___
use-livecode mailing list
use-livecode@lists.runrev.com<mailto: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

---
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>



___
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


12. Re: Problems with Xcode

2016-05-21 Thread martin meili

Am 21.05.2016 um 07:13 schrieb use-livecode-requ...@lists.runrev.com:

> 12. Re: Problems with Xcode


Hi Dave
Many thanks for your advice.

It’s true, I’ve got different Xcode-versions on my Mac. The by Terminal 
returned path is: /Applications/Xcode 2.app/Contents/Developer. So, the problem 
is, as you have stated, the „Xcode 2.app“-part of the path.
I’ve tried to fix the problem with Terminal, but there are too many warnings 
there, saying I could cause damage to the system ……… I’m not sure whether I 
type the correct things, because I’m not familiar with Terminal. I’m just an 
apprentice of the magicians ………

At the moment I’m stuck with this problem.


With kind regards
Martin
___
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: Problems with Xcode

2016-05-20 Thread Dave Kilroy
Hi Martin, I notice from your error message that LiveCode is trying to
connect to Xcode2.app, is that what you have called your copy of Xcode 6.2
or is that an older version of Xcode on your system?

Sometimes the path to Xcode does not get updated in LiveCode's 'mobile
support' preferences and that can produce errors similar to yours...

First thing to try is to remove references to Xcode completely in LiveCode's
preferences pane, exit and restart LiveCode and enter the path to the
correct version of Xcode - follow that with a test build

If that doesn't work and you are comfortable with terminal then open
terminal and type "xcode-select -p" (without the quote marks) - this should
give you the system-wide default path to Xcode assets - if it points to the
wrong version then you can reset it by entering "sudo xcode-select -switch
/path/to/this/xcode/version" (swapping out "/path/to/this/xcode/version"
with the path to the version of Xcode you want to use)

BTW I used the differentiate and store old versions of Xcode by renaming the
Xcode app file, but I've had no more trouble since I instead made version
numbered folders for them (within the Applications folder) so that each
version of the app is still called "Xcode.app"

Please note: the above terminal commands worked for me, and I got them from
a LiveCode staff member ages ago - but I know very little about terminal so
I offer those snippets with NO GUARANTEE WHATSOEVER which is why I suggest
only those who know what they are doing in terminal use them

Best of luck!

Dave



-
"The first 90% of the task takes 90% of the time, and the last 10% takes the 
other 90% of the time."
Peter M. Brigham 
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Problems-with-Xcode-tp4704964p4704994.html
Sent from the Revolution - User mailing list archive at Nabble.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


Problems with Xcode

2016-05-20 Thread martin meili
Hi there
I hope somebody of you pros can help me:

What is wrong here?

When trying putting together my app for my iphone 4 by the help of „Save as 
Standalone application……“ there’s popping up the message: „linking for arm 
(arm7) failed with xcrun: error: active developer  path 
(„Applications/Xcode2.app/Contents/Developer“) does not exist, use xcode-select 
to change“.
If I look at the package contents of Xcode so I can find this missing folder 
„Developer“; but inside there, there must be missing something ………

iMac 3.06 Ghz
OSX 10.9.5
Xcode 6.2

LiveCode 7.1.3
Settings „Mobile Support": green square / Available device SDKs: 8.2 / 
Available simulators 8.2



My little game-app is running without any problems in the iOS 8.2. Simulator, 
but when creating the standalone ……

Martin

___
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