Trying to compile iOS device 64-bit in Delphi

2019-08-26 09:39发布

问题:

I'm using Delphi 10.2 Update 3, with an iOS target of 11.3 and an iPad running iOS 10.3.3.

When I try to compile my project for a iOS device, this error occurs:

[DCC Error] E2597 ld: warning: directory not found for option '-FC:\Users\gustavo.reinert\Documents\Embarcadero\Studio\SDKs\iPhoneOS11.3.sdk\System\Library\PrivateFrameworks'
  ld: warning: directory not found for option '-LC:\Users\Marcio.Amorim\Documents\Embarcadero\Studio\SDKs\MacOSX10.13.sdk\usr\lib\system'
  ld: file not found: /usr/lib/system/libcache.dylib for architecture arm64

What can I do to fix this?

回答1:

This is a Delphi bug when compiling against iOS 11.3 SDK.

RSP-20303: XCode 9.3 and iOS 11.3 linker error

You can use iOS 11.2 SDK instead.