I have tried removig the following error by following many solutions here and on other forums.
Undefined symbols for architecture armv7:
"_kABPersonPhoneProperty", referenced from:
+[InviteHelpers findPhoneNumbersForContact:] in libMedioEvent.a(InviteHelpers.o)
"_ABPersonCopyArrayOfAllLinkedPeople", referenced from:
_CopyValuesFromLinkedContact in libMedioEvent.a(InviteHelpers.o)
"_ABMultiValueCopyLabelAtIndex", referenced from:
_CopyValuesFromLinkedContact in libMedioEvent.a(InviteHelpers.o)
"_ABMultiValueAddValueAndLabel", referenced from:
_CopyValuesFromLinkedContact in libMedioEvent.a(InviteHelpers.o)
"_ABMultiValueCopyValueAtIndex", referenced from:
+[InviteHelpers findEmailsForContact:] in libMedioEvent.a(InviteHelpers.o)
+[InviteHelpers findPhoneNumbersForContact:] in libMedioEvent.a(InviteHelpers.o)
_CopyValuesFromLinkedContact in libMedioEvent.a(InviteHelpers.o)
+[InviteHelpers findContactTwitter:] in libMedioEvent.a(InviteHelpers.o)
I have already included the MedioEvent SDK and its precompiled source in the project, and also included it in Framework and Library search paths. What bothers me is that it is coming from inside libMedioEvent.o.
Do I have to include "InviteHelpers" sdk as well?
Related
So I'm trying to compile a C code but I keep getting this error. After reading a lot of older posts with this issue I'm not really understanding the jargon so the solutions are going over my head. The command I use is /usr/local/bin/gcc-9 -I/usr/local/include/ ARES_v2.c
The error I get is pretty long
Undefined symbols for architecture x86_64:
"_ffclos", referenced from:
_read_fits_file in ccKuUiJh.o
"_ffgipr", referenced from:
_read_fits_file in ccKuUiJh.o
"_ffgky", referenced from:
_read_fits_file in ccKuUiJh.o
"_ffgpxv", referenced from:
_read_fits_file in ccKuUiJh.o
"_ffopentest", referenced from:
_read_fits_file in ccKuUiJh.o
"_ffrprt", referenced from:
_read_fits_file in ccKuUiJh.o
"_gsl_blas_dnrm2", referenced from:
_fitngauss in ccKuUiJh.o
And it keeps going from there. I can attach the code I'm trying to compile but it's pretty long so hopefully the error itself can shed some light. If anything else needs added I certainly can add it.
I am trying to add the MLVisionTextModel of Firebase 5.0.1 into an Xcode project without cocoapods. I have added all the dependent frameworks as stated in the Readme.md file. Getting the following linker errors:
Showing All Messages
"_OBJC_CLASS_$_LAContext", referenced from:
objc-class-ref in GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o)
"_vImageConverter_CreateWithCGImageFormat", referenced from:
+[GMVUtility(Internal) sampleBuffer32BGRATo32RGBA:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImageConvert_AnyToAny", referenced from:
+[GMVUtility(Internal) sampleBuffer32BGRATo32RGBA:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImageConverter_Release", referenced from:
+[GMVUtility(Internal) sampleBuffer32BGRATo32RGBA:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImageBuffer_InitWithCGImage", referenced from:
+[GMVUtility(Internal) rgbaPixelDataFromCGImage:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImageRotate_ARGB8888", referenced from:
+[GMVUtility(Internal) rotatePixelData:width:height:bytesPerRow:withAngle:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImageHorizontalReflect_ARGB8888", referenced from:
+[GMVUtility(Internal) flipRGBA8888Horizontally:width:height:bytesPerRow:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImagePermuteChannels_ARGB8888", referenced from:
+[GMVUtility(Internal) permutate:width:height:bytesPerRow:order:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
"_vImageFlatten_RGBA8888ToRGB888", referenced from:
+[GMVUtility(Internal) flattenRGBA8888ToRGB888:width:height:bytesPerRow:] in GoogleMobileVision(GMVUtility+Internal_1a3089c1f18dbb4046735909972b8cb2.o)
ld: symbol(s) not found for architecture x86_64
Any help is appreciated.
The issue got resolved after adding Accelerate.framework as part of the build phases in Xcode.
Firebase frameworks are built statically, so if you are adding them manually to your project they should not be under embedded binaries in xcode under your application target. If you have it there removing it should fix the issue.
I'm using Simple IAP and OpenIAB system.
I have no problem Android system but i tried Xcode for IOS I have an error.
I added StoreKit framework.
"_Inventory_removePurchase", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_Inventory_query", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_AppStore_requestProducts", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_Inventory_hasPurchase", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_AppStore_startPurchase", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_AppStore_restorePurchases", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
http://i.stack.imgur.com/v0Uik.png
How can I fix this? Thanks.
Ensure you have added the following files to your project:
AppStoreBridge.mm, AppStoreDelegate.h,
AppStoreDelegate.mm
Without these files present, you will encounter the above framework errors when trying to build.
I've created a clean build of libmariadbclient and integrated it into my project. Whenever I try to build said project I fail with an error:
Undefined symbols for architecture x86_64:
"_libiconv", referenced from:
_mariadb_convert_string in libmariadbclient.a(my_charset.c.o)
"_libiconv_close", referenced from:
_mariadb_convert_string in libmariadbclient.a(my_charset.c.o)
"_libiconv_open", referenced from:
_mariadb_convert_string in libmariadbclient.a(my_charset.c.o)
ld: symbol(s) not found for architecture x86_64
I then add libiconvlib.dylid to my project, cleaned it and tried to build again, but I still get the same error. Any ideas?
I filed a bug report with the developers and the issue was promptly fixed.
I am getting this error when I try to run my unit tests. The entire error is:
Undefined symbols for architecture i386:
"_CGImageRelease", referenced from:
_releaseImages in UIImage+animatedGIF.o
"_CGImageSourceCopyPropertiesAtIndex", referenced from:
_delayCentisecondsForImageAtIndex in UIImage+animatedGIF.o
"_CGImageSourceCreateImageAtIndex", referenced from:
_createImagesAndDelays in UIImage+animatedGIF.o
"_CGImageSourceCreateWithData", referenced from:
+[UIImage(animatedGIF) animatedImageWithAnimatedGIFData:] in UIImage+animatedGIF.o
"_CGImageSourceCreateWithURL", referenced from:
+[UIImage(animatedGIF) animatedImageWithAnimatedGIFURL:] in UIImage+animatedGIF.o
"_CGImageSourceGetCount", referenced from:
_animatedImageWithAnimatedGIFImageSource in UIImage+animatedGIF.o
"_kCGImagePropertyGIFDelayTime", referenced from:
_delayCentisecondsForImageAtIndex in UIImage+animatedGIF.o
"_kCGImagePropertyGIFDictionary", referenced from:
_delayCentisecondsForImageAtIndex in UIImage+animatedGIF.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I did all the instructions here:
http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/
Also added the library to "Compile Sources" in Build Phrases of the test target. Still no luck.
Looks like you need to add "CoreGraphics.framework" and "ApplicationServices.framework" to your unit test target membership.
Here's how it's done for a file:
Just go to "CoreGraphics.framework" in the list of files and folders on the left side and make certain the checkmark is "ON" for the unit tests target.
Go to build phases of target, Add ImageIO.framework