corneliusdavid 214 Posted November 15, 2021 I have the following: Delphi 11 on Windows 10 and Windows 11 Mac Mini with macOS Monterey 12.0.1 on a 3 GHz Intel Core i5 Platform Assistant Server vr. 13.0.12.0 iPad and iPhone both running iOS 15.1 I've had problems in the linker process trying to get even the simplest bare-bones app to build for iOS. I have no problem with Android or MacOS--it's just iOS. At first, I had an error finding the /System/Library/PrivateFrameworks directory. Looking through the SDK Manager for iPhoneOS 15.0, I found a the Remote Path with that entry and removed it--since it didn't exist on the mace where I found other framework folders. Now I get the following error: [DCC Error] E2597 ld: file not found: /System/Library/PrivateFrameworks/DocumentManager.framework/DocumentManager for architecture arm64 I cannot figure out why it tries to link that file and why, if it expects it, that directory does not exist on the Mac--like I mentioned, other "framework" folders exist. I've removed and re-added the iOS platform looked through the .dproj, and refreshed cached SDK files. I've got this problem on two different computers and have run out of ideas--and patience. Anyone have any suggestions? Share this post Link to post
Rollo62 536 Posted November 15, 2021 (edited) CanIUse: Monterey Nope I had a similar Problem (under BigSur), with DocumentManager. A complete clearing of the SDK's in SdkManager and folders in Delphi, and a new addition to the SDK-Manager with Update local cache helped with that. But I don't know if that is also true for Monterey. Edited November 15, 2021 by Rollo62 Share this post Link to post
corneliusdavid 214 Posted November 15, 2021 7 hours ago, Rollo62 said: A complete clearing of the SDK's in SdkManager and folders in Delphi, and a new addition to the SDK-Manager with Update local cache helped with that. I've tried that. I removed the iOS platform from Delphi, deleted the folders, did a total clean of the project (and also tried a brand new project), re-added the platform which re-added the SDK folders... Still got same linker error. 7 hours ago, Rollo62 said: CanIUse: Monterey Nope So this is a problem with Monterey? Doesn't Delphi import the libraries and frameworks from Xcode? I can build a bare-bones Xcode project on Monterey to my iPhone. Share this post Link to post
DiegoR 1 Posted November 15, 2021 it seems , with monterey, passerver import some corrupted files or missing something. macOs and iOs develop, building and debug are ko. only solution, today, is to downgrade to BugSur. 1 Share this post Link to post
corneliusdavid 214 Posted November 24, 2021 This has been fixed in today's patch ... https://blogs.embarcadero.com/rad-studio-11-alexandria-november-patch-available/ Now, I can resume iOS development--and will remember not to upgrade quite so quickly in the future! 1 Share this post Link to post
Maichal 0 Posted January 26, 2022 I have a similar problem. I'm using Delphi 10.4.2 and have done an SDK update to version 15.2. I am using a server in MacInCloud with macOS Monterey to compile. During compilation I get the following error. [DCC Error] E2597 ld: warning: directory not found for option '-FC:UserDocumentsEmbarcaderoStudioSDKsSystemLibraryPrivateFrameworksDocumentManager.framework' ld: file not found: /usr/lib/system/libcache.dylib for architecture arm64 [DCC Fatal Error] F2588 Linker error code: 1 ($00000001) What can be done about it ? Share this post Link to post
Sherlock 663 Posted January 26, 2022 I'm afraid in this case your Delphi version might be outdated. Share this post Link to post
dazstrong 0 Posted January 27, 2022 (edited) Hi, Having issues here too, Delphi 11 with November and January Patches installed. PAServer version 13.0.12.1 Mac With Monterey OS 12.2 installed. iPhone 6s iOS version 15.3 XCode version 13.2.1 I am getting the demo MasterDetailApplication app to install but fails with the error - Project MasterDetailApplication raised exception class 6. Any suggestions please? Update - rebooted everything, again, and this morning it works! Edited January 28, 2022 by dazstrong update Share this post Link to post
nader38 1 Posted February 18, 2022 Any updates on this? I have a blank application that I can compile to the mac but when trying the ios I get the error DCC Error] E2597 ld: warning: directory not found for option '-FC:\Users\admin\Documents\Embarcadero\Studio\SDKs\iPhoneOS15.2.sdk\System\Library\PrivateFrameworks' I tried above including removing all SDKs and re-installing them. My issue seems to be that PrivateFrameworks is not installed as it was in older SDKs. Delphi 11 with November and January Patches installed. PAServer version 13.0.12.2 Mac With Monterey OS 12.2.1 installed. iPhone iOS version 15.3 XCode version 13.2.1 Share this post Link to post
nader38 1 Posted February 18, 2022 In case anyone has same issues with this. Dave Nottage pointed out to me that at least in my case the problem seemed to be the cache-dir-XXXX folders on the Mac. Once I deleted them and re-imported all was fine. 1 Share this post Link to post