I've created a FireMonkey HD for iOS application using Delphi XE2. I used dpr2xcode.exe to convert it to XCode. I've copied all the necessary files to my Mac and opened the xcodeproj file in XCode. When I try to compile the project, XCode tells me that it can't find file iPhoneTest.pas. iPhoneTest is the Delphi project (dpr) file that gets converted to a PAS file by dpr2xcode.
Has anyone run into this situation and if so, how do I go about fixing it? Keep in mind I'm a total noob when it comes to Mac and XCode so please be detailed and specific in your responses.
Thanks.
> {quote:title=Lars Meyer wrote:}{quote}
> Do you have any spaces in the path to the project directory?
>
> If yes, move the projet to somewhere else without using spaces in the path
>
> "Barry Dirks" wrote in message news:435063@forums.embarcadero.com...
Nope, no spaces. I found that in my first Google searches on this issue.
> {quote:title=Barry Dirks wrote:}{quote}
> I've created a FireMonkey HD for iOS application using Delphi XE2. I used dpr2xcode.exe to convert it to XCode. I've copied all the necessary files to my Mac and opened the xcodeproj file in XCode. When I try to compile the project, XCode tells me that it can't find file iPhoneTest.pas. iPhoneTest is the Delphi project (dpr) file that gets converted to a PAS file by dpr2xcode.
> Has anyone run into this situation and if so, how do I go about fixing it? Keep in mind I'm a total noob when it comes to Mac and XCode so please be detailed and specific in your responses.
>
> Thanks.
One thing that I would try and make sure that the file is generally accessible on your Mac machine. Can you type (cat or more) it in console or open it for edit in xcode or any other editor and save the changes back?
> One thing that I would try and make sure that the file is generally accessible on your Mac machine. Can you type (cat or more) it in console or open it for edit in xcode or any other editor and save the changes back?
I can open it with TextEdit, DashCode and XCode and modify and change and reload it. I can click on the file in XCode and it comes up in the editor.
What I don't understand is the path in this error message has /../iPhoneTest.pas.
+Compiling /Users/User/Documents/Development/DelphiXE2/xcode/../iPhoneTest.pas+
+Fatal: Can't open file "iPhoneTest.pas"+
iPhoneTest.pas is in the xcode folder. Why does XCode put /../ in the path? Is something screwed up there maybe?
Edited by: Barry Dirks on Jan 13, 2012 12:24 PM
> {quote:title=Barry Dirks wrote:}{quote}
> > One thing that I would try and make sure that the file is generally accessible on your Mac machine. Can you type (cat or more) it in console or open it for edit in xcode or any other editor and save the changes back?
>
> I can open it with TextEdit, DashCode and XCode and modify and change and reload it. I can click on the file in XCode and it comes up in the editor.
>
> What I don't understand is the path in this error message has /../iPhoneTest.pas.
>
> +Compiling /Users/User/Documents/Development/DelphiXE2/xcode/../iPhoneTest.pas+
> +Fatal: Can't open file "iPhoneTest.pas"+
>
> iPhoneTest.pas is in the xcode folder. Why does XCode put /../ in the path? Is something screwed up there maybe?
>
> Edited by: Barry Dirks on Jan 13, 2012 12:24 PM
i also have this problem, and i am confused.
> {quote:title=bzhkl jelly wrote:}{quote}
> > {quote:title=Barry Dirks wrote:}{quote}
> > > One thing that I would try and make sure that the file is generally accessible on your Mac machine. Can you type (cat or more) it in console or open it for edit in xcode or any other editor and save the changes back?
> >
> > I can open it with TextEdit, DashCode and XCode and modify and change and reload it. I can click on the file in XCode and it comes up in the editor.
> >
> > What I don't understand is the path in this error message has /../iPhoneTest.pas.
> >
> > +Compiling /Users/User/Documents/Development/DelphiXE2/xcode/../iPhoneTest.pas+
> > +Fatal: Can't open file "iPhoneTest.pas"+
> >
> > iPhoneTest.pas is in the xcode folder. Why does XCode put /../ in the path? Is something screwed up there maybe?
> >
> > Edited by: Barry Dirks on Jan 13, 2012 12:24 PM
>
>
> i also have this problem, and i am confused.
And I also have this problem..is it a sharing issue?, not sure how to check in mac