EDMessage.framework error - cocoa

I linked my MacOS project to the EDMessage.framework. Now I get this error:
Apple Mach-O Linker (Id) Error:
in /Users/.../EDMessage 17/EDCommon.framework/EDCommon, truncated fat file. Slice from 847872 to 1189136 is past end of file with length 1048576 for architecture x86_64
Any idea how to resolve this?
(I using Xcode 4.3.2)

A similar issue is being discussed on the "official" forum: http://www.mulle-kybernetik.com/forum/viewtopic.php?f=5&t=273

Related

How do I resolve the error: 5 duplicate symbols for architecture x86_64 in Xcode?

I am receiving the error "5 duplicate symbols for architecture x86_64" when attempting to launch my React Native project in Xcode. I am using a MacBook Pro, chip Apple M1 and macOS Monterey v 12.2.1. Has anyone had this issue before and managed to resolve it? Can you please help? I have tried other fixes but these failed to work. Below is my podFile:
Error log:
duplicate symbol '_bridgeRef' in:
/Users/.../Build/Products/Debug-iphonesimulator/rn-fetch-blob/librn-fetch-blob.a(RNFetchBlob.o)
duplicate symbol '_fsQueue' in:
/Users/.../Build/Products/Debug-iphonesimulator/react-native-blob-util/libreact-native-blob-util.a(ReactNativeBlobUtil.o)
duplicate symbol '_fsQueue' in:
/Users/.../Build/Products/Debug-iphonesimulator/react-native-blob-util/libreact-native-blob-util.a(ReactNativeBlobUtil.o)
/Users/.../Build/Products/Debug-iphonesimulator/rn-fetch-blob/librn-fetch-blob.a(RNFetchBlob.o)
....
duplicate symbol '_fileStreams' in:
/Users/.../Build/Products/Debug-iphonesimulator/rn-fetch-blob/librn-fetch-blob.a(RNFetchBlobFS.o)
/Users/.../Build/Products/Debug-iphonesimulator/rn-fetch-blob/librn-fetch-blob.a(RNFetchBlobNetwork.o)
ld: 5 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I receive the below error if I uninstall rn-fetch-blob, run pod install and then run the app in Xcode:
I need the RNFetchBlob package since I am using it in my code or is there something else I can use as the equivalent? Is react-native-blob-util the equivalent? Can someone help please?
Go to xcode select pods under Targets click on react-native-fetch-blob and
select no common block from yes to no
repeat this process for react-native-blob-utils

XCode - Linker failed

I have been given an xcode project and I am trying to compile and getting the following error:
ld: library not found for -lAFNetworking
I have looked inside \Pods and there is a folder there called AFNetworking
I can't see what the issue is, or how to fix this. Can anyone guide me to how to fix this issue?

Xcode 6 - Undefined symbols for architecture i386 for Parse Framework

I am trying to create a simple push notification iphone Application using Parse framework(from Parse.com) in xcode6. When i compile the app i got Undefined symbols for architecture i386 error. I googled the error and tried following things:
Changed target build settings->Build active architectures only to NO
Tried changing the standard architectures to : i386 armv7 armv7s (and tried combinations of these)
Still i am unable to resolve the error.Below i attached the scrren shots of Target Architectures and linker erros. Any help would be appreciated.
Finally I resolved the error. I changed the architectures to $(ARCHS_STANDARD_32_BIT) and deleted parse.framework from my project and added parse.framework from working example provided in git:ParsePlatform PushTutorial
Here is the screenshot of project and Build Architectures:

XCode won't compile with Kinvey : file is universal (3 slices) but does not contain a(n) i386 slice

I am new to Xcode, New to Kinvey.. Fun start..
I followed Kinvey's installation guide for iOS and everything goes pretty well until I try to compile.The Presence of the Kinvey Framework in my project blocks it from compiling with the following error:
ld: file is universal (3 slices) but does not contain a(n) i386 slice: /Users/*path_to_my_project*/KinveyKit.framework/KinveyKit for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Looking around at other solutions, nothing seems to fit.. Note that the issue is on i386, not armv7s..
I tried on Xcode 4.6.1 and Xcode 4.6.3 with brand new projects with nothing in them..
Thank you very much for any help.
We ran into this issue awhile back in our project. I believe if you go into the build settings for your main app target and set the property ONLY_ACTIVE_ARCH (Build Active Architecture Only) to NO, that should fix your issue.
After contacting Kinvey, it was found that it was a Bug in the 1.19.1 SDK. It has been fixed in the 1.19.2. Kinvey has been pretty reactive on this.
This question can be closed now.

Darn linker errors XCode 4.3--algorithm to solve them?

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AppDelegate_Shared", referenced from:
_OBJC_CLASS_$_AppDelegate_iPad in AppDelegate_iPad.o
"_OBJC_METACLASS_$_AppDelegate_Shared", referenced from:
_OBJC_METACLASS_$_AppDelegate_iPad in AppDelegate_iPad.o ld: symbol(s) not found for architecture i386 clang: error: linker command
failed with exit code 1 (use -v to see invocation)
Hello, this is a straight up AppDelegate, and I'm getting this error. Any ideas? There's no library to link to or anything. I've seen these errors time and time again in XCode, but the causes have ranged from a libxml2 library being not right (needed libxml2.7.3), to just something odd in XCode itself. No idea what to do next, but obviously would like the program to compile. Thanks!
same here. thanks for the answer.
I had just (literally 30 seconds ago) dragged the files in.
I used the same files in other projects no problem.
got this linker error (updated to XCode 4.3 yesterday)
and same problem, the .m file was checked for the Test target membership, but NOT the app target.
possibly a 4.3 bug. it seems it is defaulting to adding dragged in files to the test build and not the app build.
thanks... you helped me find it very fast. I was not looking forward to that.

Resources