Jump to content
Sign in to follow this  
Bert-Jan

XCode 12 compile error

Recommended Posts

Does anyone have advise for me...

 

I upgraded Xcode to 12, my iPhone to iOS 14 and the SDK to 14.0.

 

Compiling to iOS now spawns the following error:

 

[DCC Error] E2597 ld: file 'C:\Users\bwieg\Documents\Embarcadero\Studio\SDKs\iPhoneOS14.0.sdk/usr/lib/libiconv.dylib' too small (length=0) for architecture arm64

 

Going back to SDK 13.6 does not help so I guess this has to do with Xcode.

Edited by Bert-Jan

Share this post


Link to post
7 hours ago, Bert-Jan said:

I upgraded Xcode to 12, my iPhone to iOS 14

You'll find you won't be able to debug with a device that has iOS 14.0. Deploying will work; just not debugging.

7 hours ago, Bert-Jan said:

Going back to SDK 13.6 does not help so I guess this has to do with Xcode.

Because Delphi does not import the iOS 13.6 SDK correctly, either (as well as iOS 14.0). Use iOS 13.5 SDK if you can - it comes with Xcode 11.5. I wrote about it here:

 

https://delphiworlds.com/2020/08/using-a-prior-ios-or-macos-sdk-with-delphi/

Share this post


Link to post

Thank you!

 

Is it something that Delphi will catch up on eventually?

Share this post


Link to post
33 minutes ago, Bert-Jan said:

Thank you!

 

Is it something that Delphi will catch up on eventually?

Sure, but then XCode 13 will be out....

  • Haha 1

Share this post


Link to post

All these seems to be related RSP31014, RSP31049, RSP31086

No official statement yet, maybe upvoting helps to accelerate that.

 

The "debugserver" issue I see from time to time, which IMHO seems to be an XCode issue.

So far there is no good explanation howto handle this, except to update phones and XCode to latest versions.

This I try to avoid mostly, to not run into such booby traps.

But I think at least the "debugserver" issue might get fixed by updating from time to time.

This always looks rather like a "planned obsolescence" for the API from Apple, than a really technical issue.

Not sure what philosophy Apple really has regarding their updates, so far they seems not to care a lot about their developers,

as I can find many similar issues in the XCode world too.

 

Edited by Rollo62

Share this post


Link to post
17 hours ago, Dave Nottage said:

You'll find you won't be able to debug with a device that has iOS 14.0. Deploying will work; just not debugging.

Because Delphi does not import the iOS 13.6 SDK correctly, either (as well as iOS 14.0). Use iOS 13.5 SDK if you can - it comes with Xcode 11.5. I wrote about it here:

 

https://delphiworlds.com/2020/08/using-a-prior-ios-or-macos-sdk-with-delphi/

Best way, 1- Export SDK from Delphi IDE Tools->Options->SDK Manager select SDK and export and import it in the new Delphi IDE

  • Like 2

Share this post


Link to post
4 hours ago, OmarPerezH said:

Best way, 1- Export SDK from Delphi IDE Tools->Options->SDK Manager select SDK and export and import it in the new Delphi IDE

That the export option exists had slipped my mind.. I'll update my article; thanks!

Share this post


Link to post
On 9/27/2020 at 7:41 PM, Dave Nottage said:

You'll find you won't be able to debug with a device that has iOS 14.0. Deploying will work; just not debugging.

One more info: in release mode will give error too, but you will see that the app has been installed, just open it manually.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×