PDA

View Full Version : Need to open XCode from linux




hbayyavarapu
Nov 12, 2009, 02:16 AM
Hi,

As a part of our project we need to develop the interface for the iphone app which requires SDK to develop. The SDK is installed on the mac system. We are said that we can ssh to the computer and open the applications. When I tried to open the xterm I was able to open xterm however I am not able to open the xcode with ssh with x11 forwarding enabled.

My method

ssh -X ***@***.**

$ open -a Xcode &
[1] 24819

Cany one help me in resolving this issue. I'll be very thankful to them



Catfish_Man
Nov 12, 2009, 02:23 AM
Xcode is not an X11 app, so it's not surprising that doesn't work. In general, X forwarding won't work on Macs. Use VNC or something I guess. Or just build from the commandline with xcodebuild.

hbayyavarapu
Nov 12, 2009, 03:54 AM
But to create the app I need the xcode and xinterfacebuilder to build the interface. Is there any alternative solution for this. If the VNC is installed on the mac's can a linux machine be able to login to Mac and can be used by mutiple users or is it confined to a single user

beg_ne
Nov 12, 2009, 04:37 AM
But to create the app I need the xcode and xinterfacebuilder to build the interface. Is there any alternative solution for this. If the VNC is installed on the mac's can a linux machine be able to login to Mac and can be used by mutiple users or is it confined to a single user

VNC is available by default on OS X. You can enable it by going to the Sharing panel in System Preferences. AFAIK only one user can be logged in at once since it's basically screen sharing with control.

Just curious, is this for some kind of school project? Or is this something for a real app? Either way the situation sounds much less than ideal. I don't want to imagine the pain of debugging an app like that, and it would basically be impossible to hook up a real device to test current builds, debug on device etc.

Also you don't really need to use IB to make your interface, unless there is some kind of artificial condition forcing you to. Anything that can be done in IB can be done in code, albeit not as easy for some things.

hbayyavarapu
Nov 12, 2009, 09:50 AM
Yea it is a part of school project. Its not a real app. Just the interface has to designed using the SDK. I don't know how to code using text editor. I have to do this by 23rd nov