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?
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.
Related
Under delphi Alexandria, when I try to compile my ios app I receive this warning message from the linker :
ld: warning: object file
(.\Libraries\ios\facebook\FBSDKLoginKit.xcframework\ios-arm64/FBSDKLoginKit.framework/FBSDKLoginKit(AppEvents+Internal.o))
was built for newer iOS version (12.0) than being linked
(11.0)
How to get ride of this error message or how to say to the linker the we target iOS 12 instead of iOS 11 ?
I found, just add the -w to the linker option flag :)
I am using https://github.com/tinycreative/react-native-intercom and went through the installation there and https://developers.intercom.com/installing-intercom/docs/ios-installation
This worked fine for a while and just started all of a sudden.
"_UISceneWillEnterForegroundNotification", referenced from:
+[ICMBridge load] in Intercom(ICMBridge.o)
"___isPlatformVersionAtLeast", referenced from:
-[IntercomSDK_IntercomConversationCollectionViewController insetsForAccessoryView] in Intercom(IntercomConversationCollectionViewController.o)
+[IntercomSDK_ITBUpload createUploadForMediaAsset:completion:] in Intercom(ITBUpload.o)
+[IntercomSDK_ITBUpload processImageDataForUpload:mediaAsset:info:imageUploadDataUTI:completion:] in Intercom(ITBUpload.o)
-[IntercomSDK_IIMInputAccessoryView createConstraints] in Intercom(IIMInputAccessoryView.o)
-[IntercomSDK_IIMInputButtonContainerView createConstraints] in Intercom(IIMInputButtonContainerView.o)
-[IntercomSDK_IIMMediaViewController updateCollectionViewContentInsets] in Intercom(IIMMediaViewController.o)
-[IntercomSDK_IIMMediaViewController layoutExpandButton] in Intercom(IIMMediaViewController.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On 12-09-2019, Intercom released sdk version 5.5.0, which supports iOS 13.
https://github.com/intercom/intercom-ios/releases/tag/5.5.0
UISceneWillEnterForegroundNotification and isPlatformVersionAtLeast are in iOS SDK 13, so would require Xcode 11 beta. I think you are getting the error because you are using an earlier Xcode version like Xcode 10.3 etc.
Ideally Intercom should have conditionally supported iOS 13 stuff so that the code wouldn't have broken on iOS sdk versions earlier than 13.0
Getting the error While upgraded the code to xcode 8 and iOS sierra 10.12.1 and set deployment target to 8.0. Earlier it was working with xcode 7 and deployent target was 6.0. Can anybody face the same problem while upgrading to xcode 8
I am getting below mentioned error while running the application on simulator with libFlurry_7.2.1.a:
duplicate symbol _llvm.embedded.module in:
.../Flurry/libFlurry_7.2.1.a(PLCrashReportTextFormatter.o)
.../Flurry/libFlurry_7.2.1.a(PLCrashReportMachExceptionInfo.o) ld: 110
duplicate symbols for architecture i386 clang: error: linker command
failed with exit code 1 (use -v to see invocation)
but when i replaced the lib file with "libFlurry_6.5.0.a" it is running on simulator.
I suspect you are using an older version of xCode? If so you'll need to use Flurry iOS v7.1. This is the last version that will work with xCode versions less than 7.
You can find more details here:
https://developer.yahoo.com/flurry/docs/publisher/code/ios/
I'm trying to compile an application in delphi XE6 for my Ipad Air with the latest version of ios, the yosemite version of mac and last xcode before had the version mountain lion and xcode 5 I compiled perfectly IOS version 7 but changing this version, when I try to compile I jump the following error:
[DCC Error] E2597 ld: file not found: /usr/lib/system/libsystem_coreservices.dylib for ARMv7 architecture
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
I loaded the libraries again and again, but always the same error, I searched the internet and no one has solution,
Help!
Embarcadero has the following hot fix for the IOS Simulator that has a file called iPhoneOS8.0.defaultsdkpaths. Deploy that file as documented. Delete the SDK and then re-add the SDK.
http://cc.embarcadero.com/Item/30013