Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 30 - Last Post: Aug 18, 2017 3:51 AM Last Post By: nico mas
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 6, 2014 10:39 PM
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 6, 2014 10:59 PM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
hi
This is the screenshot for the error.
[IMG]http://i60.tinypic.com/2rrm1a9.png[/IMG]

please help

thanks
chris

Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris
Eli M

Posts: 1,346
Registered: 11/9/13
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2014 10:57 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Is you project from XE5 or XE6?

Does a new empty project work?

If yes, create a new project and add your forms to it. Ditch the old project file.
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2014 6:15 PM   in response to: Eli M in response to: Eli M
Hi Eli
I was using the project from XE5.
Will try out your suggestion on creating a new project file.

thanks
chris
Eli M wrote:
Is you project from XE5 or XE6?

Does a new empty project work?

If yes, create a new project and add your forms to it. Ditch the old project file.
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 7, 2014 11:32 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).

--
Borja Serrano
Embarcadero Technical Support Engineer
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 7:49 PM   in response to: Borja Serrano in response to: Borja Serrano
Hi
I am still getting the DCC Error E2597 ld: file not found: L
after creating a new project and re-import all my files to the new project.

please help.
I am getting these errors after switching from XE 5 to XE 7.

thanks
chris

Borja Serrano wrote:
Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).

--
Borja Serrano
Embarcadero Technical Support Engineer
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 8:08 PM   in response to: Borja Serrano in response to: Borja Serrano
hi
this is the error listing for the DCC error

========== Start ===============
Build
Checking project dependencies...
Compiling ipad_childcare.dproj (Debug, iOSDevice)
brcc32 command line for "ipad_childcare.vrc"
c:\program files (x86)\embarcadero\studio\15.0\bin\cgrc.exe -c65001 ipad_childcare.vrc -foipad_childcare.res
dcc command line for "ipad_childcare.dpr"
c:\program files (x86)\embarcadero\studio\15.0\bin\dcciosarm.exe -$O- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG
-E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files
(x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";
Z:\Downloads\chris\Component\DPF.iOS.Native.Components -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\iOSDevice
-LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\iOSDevice -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files
(x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";
Z:\Downloads\chris\Component\DPF.iOS.Native.Components -R"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files
(x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -U"c:\program files
(x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files
(x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components
--syslibroot:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk
--frameworkpath:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\Frameworks;
\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\PrivateFrameworks -V -VN --linker-option:"-arch armv7"
-NO.\iOSDevice\Debug ipad_childcare.dpr
[DCC Warning] DPF.iOS.UITextField.pas(264): W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
[DCC Warning] DPF.iOS.UILabel.pas(133): W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
[DCC Warning] DPF.iOS.CheckBox.pas(174): W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
[DCC Warning] DPF.iOS.CheckBox.pas(184): W1000 Symbol 'alClient' is deprecated: 'Use TAlignLayout.Client'
[DCC Warning] DPF.iOS.CheckBox.pas(323): W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
[DCC Warning] DPF.iOS.CheckBox.pas(323): W1000 Symbol 'alCenter' is deprecated: 'Use TAlignLayout.Center'
[DCC Warning] DPF.iOS.CheckBox.pas(323): W1000 Symbol 'alRight' is deprecated: 'Use TAlignLayout.Right'
[DCC Warning] DPF.iOS.UIDatePicker.pas(142): W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Failed
Elapsed time: 00:00:09.5
[Warning] W1000 Symbol 'TCalendarEdit' is deprecated: 'Use TDateEdit instead'
[Warning] W1000 Symbol 'TCalendarEdit' is deprecated: 'Use TDateEdit instead'
[Warning] W1000 Symbol 'TCalendarEdit' is deprecated: 'Use TDateEdit instead'
[Warning] W1000 Symbol 'NSSTR' is deprecated: 'use StrToNSStr instead'
Output
Build started 09/10/2014 11:04:52 AM.
__________________________________________________
Project "Z:\Downloads\chris\src\ipad_smis\ipad_childcare.dproj" (Make target(s)):
Target BuildVersionResource:
c:\program files (x86)\embarcadero\studio\15.0\bin\cgrc.exe -c65001 ipad_childcare.vrc -foipad_childcare.res
CodeGear Resource Compiler/Binder
Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.

Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation. All rights reserved.

Deleting file "ipad_childcare.vrc".
Target _PasCoreCompile:
c:\program files (x86)\embarcadero\studio\15.0\bin\dcciosarm.exe -$O- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\iOSDevice -LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\iOSDevice -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -R"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -U"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components --syslibroot:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk --frameworkpath:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\Frameworks;\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\PrivateFrameworks -V -VN --linker-option:"-arch armv7" -NO.\iOSDevice\Debug ipad_childcare.dpr
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UITextField.pas(264,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UILabel.pas(133,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(174,42): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(184,42): warning W1000: W1000 Symbol 'alClient' is deprecated: 'Use TAlignLayout.Client'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,67): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,88): warning W1000: W1000 Symbol 'alCenter' is deprecated: 'Use TAlignLayout.Center'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,111): warning W1000: W1000 Symbol 'alRight' is deprecated: 'Use TAlignLayout.Right'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UIDatePicker.pas(142,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
MSBUILD : error E2597: E2597 ld: file not found: L
c:\program files (x86)\embarcadero\studio\15.0\Bin\CodeGear.Delphi.Targets(329,5): error F2588: F2588 Linker error code: 1 ($00000001)
Done building target "_PasCoreCompile" in project "ipad_childcare.dproj" -- FAILED.
Done building project "ipad_childcare.dproj" -- FAILED.
Build FAILED.
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UITextField.pas(264,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UILabel.pas(133,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(174,42): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(184,42): warning W1000: W1000 Symbol 'alClient' is deprecated: 'Use TAlignLayout.Client'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,67): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,88): warning W1000: W1000 Symbol 'alCenter' is deprecated: 'Use TAlignLayout.Center'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,111): warning W1000: W1000 Symbol 'alRight' is deprecated: 'Use TAlignLayout.Right'
Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UIDatePicker.pas(142,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
MSBUILD : error E2597: E2597 ld: file not found: L
c:\program files (x86)\embarcadero\studio\15.0\Bin\CodeGear.Delphi.Targets(329,5): error F2588: F2588 Linker error code: 1 ($00000001)
8 Warning(s)
2 Error(s)
Time Elapsed 00:00:09.37
================= End ========================

Please help.
I still can't solve this problem.

thanks
chris

Borja Serrano wrote:
Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).

--
Borja Serrano
Embarcadero Technical Support Engineer
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 8, 2014 11:18 PM   in response to: Borja Serrano in response to: Borja Serrano
Now, i try a simple application with just a TButton on the form to be compiled for iOS Device.
I will get the linker error again.

Please help.
is there something to do with the parameters for dcc?

help help

thanks
chris

Borja Serrano wrote:
Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).

--
Borja Serrano
Embarcadero Technical Support Engineer
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 10, 2014 6:31 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Try to remove the iOS SDK and to recreate it (Tools->Options->SDK Manager).

Chuah Yen Hua,Christopher wrote:
Now, i try a simple application with just a TButton on the form to be compiled for iOS Device.
I will get the linker error again.

Please help.
is there something to do with the parameters for dcc?

help help

thanks
chris
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 9, 2014 6:06 PM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Hi
Does anyone have problem compiling XE7 for iOS device? Its just compiling and linking.

I uninstalled my XE7
Remove all 3rd party components
Reinstall XE7 again.

Run the XE7 with the -f option for the start up

Create a multi device application.

Remove ALL the Target platforms EXCEPT iOS device and iOS simulator.
Set the iOS Device platform as default.

On the Form, set the style to "iOS" and the view to "iPad".
Place a TButton on the form and Compile the application.

Result ---> I still have the linker error

============ Error Message ===================
Checking project dependencies...
Compiling Project1.dproj (Debug, iOSDevice)
brcc32 command line for "Project1.vrc"
c:\program files (x86)\embarcadero\studio\15.0\bin\cgrc.exe -c65001 Project1.vrc -foProject1.res
dcc command line for "Project1.dpr"
c:\program files (x86)\embarcadero\studio\15.0\bin\dcciosarm.exe -$O- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG
-E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files
(x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\iOSDevice
-LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\iOSDevice -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files
(x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" -R"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" -U"c:\program files
(x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release"
--syslibroot:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk
--frameworkpath:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk\System\Library\Frameworks;
\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk\System\Library\PrivateFrameworks -V -VN --linker-option:"-arch armv7"
-NO.\iOSDevice\Debug Project1.dpr
[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Failed
Elapsed time: 00:00:03.7
===================== End of message =================

Can anyone tell me why? Help! Help!

thanks
chris


Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris
Ian Barker

Posts: 98
Registered: 5/18/07
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 10, 2014 6:25 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes,
the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

A total wild guess here - but two things...

1) Does this happen if you change from Debug to release and do a "Build
all"?

2) Is it possible that at some point you might have got some weird
characters into the source or one of the resources? The only reason I
ask this is because I seem to remember a bug a long time ago where
Delphi would emit some weird compiler/linker errors if you had Unix
style line feeds instead of 'DOS style' CRLF.

I've had this happen in the past when I've pasted something in from a
Unix box or other non Windows source. The characters do not always
show up in the IDE editor but the compiler and linker seem to 'notice'
them and generate weird errors like this.

If this might be what has happened - and in effect is a corrupt file
- then you can remove those using a utility like Flip
https://ccrma.stanford.edu/~craig/utility/flip/

Given that it's a linker error (based on your error messages), and
again I am guessing, it might be one of the .DPR/.DPROJ or related
files.

The fact it says "L" for the filename is not particularly helpful
although suspiciously "CTRL + L" is ASCII 12 or Form Feed which is a
little too convenient to be ignored.

I am guessing you do not get this error on any other test projects
which are using the same frameworks and components? If you created a
blank project, put all the units from the non-working project in it and
then did a build all of you don't get any errors then it's even more
likely to be some kind of stupidity with the .DPROJ files.

--
IanB.
http://about.me/IanBarker

Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 11, 2014 2:10 AM   in response to: Ian Barker in response to: Ian Barker
Hi Ian
I do not get linker or dcc error when compile for iOS simulator.
I do get it when i compile for iOS device.

Also i have un-installed XE7 and re-install again.
Once XE7 has started, i created a new multi device application.
Remove Windows, android and OS X platform.
Only iOS device and iOS simulator platform is left.

Add a button to the form and compile it under iOS device.
This will give you the dcc error.
If i compile it under iOS Simulator, i will not get this error.

Any ideas?
please help as i want to re-sumbit my code to app store for approval.

thanks
chris

Ian Barker wrote:
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes,
the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

A total wild guess here - but two things...

1) Does this happen if you change from Debug to release and do a "Build
all"?

2) Is it possible that at some point you might have got some weird
characters into the source or one of the resources? The only reason I
ask this is because I seem to remember a bug a long time ago where
Delphi would emit some weird compiler/linker errors if you had Unix
style line feeds instead of 'DOS style' CRLF.

I've had this happen in the past when I've pasted something in from a
Unix box or other non Windows source. The characters do not always
show up in the IDE editor but the compiler and linker seem to 'notice'
them and generate weird errors like this.

If this might be what has happened - and in effect is a corrupt file
- then you can remove those using a utility like Flip
https://ccrma.stanford.edu/~craig/utility/flip/

Given that it's a linker error (based on your error messages), and
again I am guessing, it might be one of the .DPR/.DPROJ or related
files.

The fact it says "L" for the filename is not particularly helpful
although suspiciously "CTRL + L" is ASCII 12 or Form Feed which is a
little too convenient to be ignored.

I am guessing you do not get this error on any other test projects
which are using the same frameworks and components? If you created a
blank project, put all the units from the non-working project in it and
then did a build all of you don't get any errors then it's even more
likely to be some kind of stupidity with the .DPROJ files.

--
IanB.
http://about.me/IanBarker

Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 11, 2014 10:14 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
El 11/10/2014 11:10, Chuah Yen Hua escribió:
Hi Ian
I do not get linker or dcc error when compile for iOS simulator.
I do get it when i compile for iOS device.

Also i have un-installed XE7 and re-install again.
Once XE7 has started, i created a new multi device application.
Remove Windows, android and OS X platform.
Only iOS device and iOS simulator platform is left.

Add a button to the form and compile it under iOS device.
This will give you the dcc error.
If i compile it under iOS Simulator, i will not get this error.

Any ideas?
please help as i want to re-sumbit my code to app store for approval.

thanks
chris

Have you installed the PAServer HotFix for Delphi XE7 and RAD Studio XE7?

http://cc.embarcadero.com/item/30008

http://blogs.embarcadero.com/davidi/2014/09/27/43833/

Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 12, 2014 6:37 PM   in response to: Antonio Estevez in response to: Antonio Estevez
Yes. I have applied the PAServer hot fix as well.
Still having this error when linking.
But how does linking got to do with PA Server?

thanks
chris

Antonio Estevez wrote:
El 11/10/2014 11:10, Chuah Yen Hua escribió:
Hi Ian
I do not get linker or dcc error when compile for iOS simulator.
I do get it when i compile for iOS device.

Also i have un-installed XE7 and re-install again.
Once XE7 has started, i created a new multi device application.
Remove Windows, android and OS X platform.
Only iOS device and iOS simulator platform is left.

Add a button to the form and compile it under iOS device.
This will give you the dcc error.
If i compile it under iOS Simulator, i will not get this error.

Any ideas?
please help as i want to re-sumbit my code to app store for approval.

thanks
chris

Have you installed the PAServer HotFix for Delphi XE7 and RAD Studio XE7?

http://cc.embarcadero.com/item/30008

http://blogs.embarcadero.com/davidi/2014/09/27/43833/

Angus MacRuder

Posts: 12
Registered: 10/30/14
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 11, 2014 10:57 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 12, 2014 8:09 PM   in response to: Angus MacRuder in response to: Angus MacRuder
Hi
I have no problem in compiling the application for iOS simulator 7.1 but i have problem compiling / linking application for iOS Device iPhoneOS8.0

Is there a problem for XE7 in compiling for iOS Device iPhoneOS 8.0?

please advise

thanks
chris

Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 12:45 AM   in response to: Angus MacRuder in response to: Angus MacRuder
Hi
Has anyone tried to compile XE7 for iOS Device 8?
I am still getting the same old error when compiling for iOS Device.

Anyone out there.. please help.

Think i will revert back to XE5.

Thanks
Chris
Sebastian Zierer

Posts: 182
Registered: 4/3/00
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 10:53 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Chuah Yen Hua,Christopher wrote:
XE 7 has no errors when compiling for iOS Simulator.

Have you already patched Macapi.Dispatch?

Line 20 should be changed to:
libdispatch = '/usr/lib/libSystem.dylib';


Also make sure that you use the most recent version of DPFiOS.
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 4:50 PM   in response to: Sebastian Zierer in response to: Sebastian Zierer
Hi
I returned back to XE5 and when building for iOS device, sometimes it will give me the same linker error problem. Sometimes it don't.
Now i am wondering does it got to do with the Parallels 10.0.2 or Yosemite GM Candidate?

Sometimes the linker can find the file. Sometimes it can't.

Can anyone advise me on what are the files that the linker requires?

please advise.

Also where can i find the MacApi.dispatch?

thanks
chris

Sebastian Zierer wrote:
Chuah Yen Hua,Christopher wrote:
XE 7 has no errors when compiling for iOS Simulator.

Have you already patched Macapi.Dispatch?

Line 20 should be changed to:
libdispatch = '/usr/lib/libSystem.dylib';


Also make sure that you use the most recent version of DPFiOS.
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 5:15 PM   in response to: Sebastian Zierer in response to: Sebastian Zierer
Hi

May i know what version of Mac OS and VM are you using?

I am using Yosemite GM with Parallels 10.0.2

please advise

thanks
chris

Sebastian Zierer wrote:
Chuah Yen Hua,Christopher wrote:
XE 7 has no errors when compiling for iOS Simulator.

Have you already patched Macapi.Dispatch?

Line 20 should be changed to:
libdispatch = '/usr/lib/libSystem.dylib';


Also make sure that you use the most recent version of DPFiOS.
danny chou

Posts: 2
Registered: 6/12/07
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 7:57 PM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Try to remove files in folder "iOSDevice\Debug\"
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 8:09 PM   in response to: danny chou in response to: danny chou
Hi Danny
Where is the path?
in Windows? or Mac?

thanks
chris

danny chou wrote:
Try to remove files in folder "iOSDevice\Debug\"
danny chou

Posts: 2
Registered: 6/12/07
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2014 8:23 PM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Your project folder\iOSDevice\Debug\*.*

If you typed some CJK characters in your source code (or FMX), the error will appear, so you need to remove those files again :-(
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 15, 2014 5:40 PM   in response to: danny chou in response to: danny chou
Hi
Now, i have uninstalled Parallels 10.0.2 and use VMWare Fusion for Mavericks instead.
It seems that i do not get the linker problem using XE5.
Now will uninstall XE5 and install XE7 to try out again.

Hope it works.

chris
danny chou wrote:
Your project folder\iOSDevice\Debug\*.*

If you typed some CJK characters in your source code (or FMX), the error will appear, so you need to remove those files again :-(
Chuah Yen Hua,C...

Posts: 73
Registered: 7/5/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 20, 2014 8:28 PM   in response to: danny chou in response to: danny chou
Hi
Finally managed to get my XE7 to compile and link.
I think the problem maybe due to Parallels 10.0.2

I have changed to VMWare fusion that supports Yosemite and XE7 is now able to compile and link again

Thanks everyone for your help.

thanks

danny chou wrote:
Your project folder\iOSDevice\Debug\*.*

If you typed some CJK characters in your source code (or FMX), the error will appear, so you need to remove those files again :-(
David Lipschitz

Posts: 3
Registered: 2/1/11
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 28, 2014 11:40 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

If you're getting a "missing file L" message during the "dcc" build to run your app on your iPhone or a message something like "dcc-error-e2597-when-compiling-for-ios", then:

After a mega amount of trial and error (including trying everything in this thread, except moving to VMWare, which was an option) with reinstall of SDK's and the "-rfoo flag" Delphi etc, the problem turned out to be very simple, as these complex things sometimes are, when one knows the answer!!!

I'm using Parallels (latest version 10.1.1) and OSX 10.9.5.

I tried an application on the shared path and it didn't work, so I moved the application from the Shared Path /Users/david/Documents/Embarcadero/Studio/Projects/Hello iPhone World

to a local path C:\DelphiXE7\iWorld

and now it works. Runs on my iPhone 4S with iOS8.1.

Regards
David
nico mas

Posts: 1
Registered: 4/18/02
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 18, 2017 3:51 AM   in response to: David Lipschitz in response to: David Lipschitz
Thanks David,
you saved my day :)

I had the same problem with RAD studio Tokyo 10.2 update 1, Parallels Desktop v 10.4.

Following your advice I opened the project from a local path to the project (using a drive mapping "Y:\..." instead of the "\\psf\home\..." share) and now it works like a charm.

The initial error I got was totally non-explicit, though... [Error Error] Required local file “iOSDevice64\Debug\(project name)” not found. Deployment failed

thank you again
Nicolas

David Lipschitz wrote:
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

If you're getting a "missing file L" message during the "dcc" build to run your app on your iPhone or a message something like "dcc-error-e2597-when-compiling-for-ios", then:

After a mega amount of trial and error (including trying everything in this thread, except moving to VMWare, which was an option) with reinstall of SDK's and the "-rfoo flag" Delphi etc, the problem turned out to be very simple, as these complex things sometimes are, when one knows the answer!!!

I'm using Parallels (latest version 10.1.1) and OSX 10.9.5.

I tried an application on the shared path and it didn't work, so I moved the application from the Shared Path /Users/david/Documents/Embarcadero/Studio/Projects/Hello iPhone World

to a local path C:\DelphiXE7\iWorld

and now it works. Runs on my iPhone 4S with iOS8.1.

Regards
David
Edgar Leifeld

Posts: 7
Registered: 9/16/07
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 10, 2014 5:52 AM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

--
Hi everyone,

I had this error to, it depends on parallels shared folders. When you have your project located in \\psf\home... you get this error. Move your projects folder to anywhere inside the VM (c:\...) and it works - or use network share instead of
psf...

Found the solution here: http://www.delphipraxis.net/181747-linker-error-code-1-%5Bxe7%5D.html

Edgar
Best Regards from Berlin
Edgar
Jon Nevins

Posts: 12
Registered: 7/11/97
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2015 9:27 PM   in response to: Chuah Yen Hua,C... in response to: Chuah Yen Hua,C...
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

The problem has returned.

I had the same problem in XE7. It was fixed in XE8. And now in XE9 (Delphi 10 Seattle)
same problem.

Any one else having the problem?

thanks
Jon
David Lipschitz

Posts: 3
Registered: 2/1/11
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 30, 2016 6:22 AM   in response to: Jon Nevins in response to: Jon Nevins
Fortunately I am not having this problem in 10.0 Seattle or 10.1 Berlin.

Setup using the Defaults using the Internet setup option.

Jon Nevins wrote:
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

The problem has returned.

I had the same problem in XE7. It was fixed in XE8. And now in XE9 (Delphi 10 Seattle)
same problem.

Any one else having the problem?

thanks
Jon
tugrul karadeniz

Posts: 5
Registered: 7/22/08
Re: DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 12, 2016 4:04 AM   in response to: David Lipschitz in response to: David Lipschitz
I get this

[DCC Error] E2597 ld: warning: directory not found for option '-FC:\Users\WIN\Documents\Embarcadero\Studio\SDKs\iPhoneOS9.3.sdk\System\Library\PrivateFrameworks'
ld: library not found for -lc++

I use vmware 12
El Capitan10.11.5

Seattle 10.0
ios 9,3

I do everything upside

What is the problem?


David Lipschitz wrote:
Fortunately I am not having this problem in 10.0 Seattle or 10.1 Berlin.

Setup using the Defaults using the Internet setup option.

Jon Nevins wrote:
Chuah Yen Hua,Christopher wrote:
Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris

The problem has returned.

I had the same problem in XE7. It was fixed in XE8. And now in XE9 (Delphi 10 Seattle)
same problem.

Any one else having the problem?

thanks
Jon
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02