Undefined symbols for architecture arm64: "_OBJC_CLASS_$_MMWormhole" - ios

I am getting following error while build
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_MMWormhole",
referenced from: objc-class-ref in InterfaceController.o ld: symbol(s)
not found for architecture arm64 clang: error: linker command failed with exit
code 1 (use -v to see invocation)
I have installed plugin using
cordova plugin add cordova-plugin-apple-watch
I did not got any libmmwormhole.a file with plugin installation
I had added reference of MMWormhole.h in InterfaceController.m.

In your file InterfaceController, you use the class with a name containing "Wormhole." It's not defined anywhere, so the linker can't put it together. It looks like a library is missing.

Try to find in project MMWormhole or Wormhole if it's in and there is in project files inside Compile Sources than go Project -> Clean Build Folder and delete User/Libraries/Developer/Xcode/Derived Data folder
If it's not -- you need add library with it in your project.

Related

VCFloatingButtonAction error

I am getting these two error in my project after importing VCFloatingActionButton
1.
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_VCFloatingActionButton", referenced from:
objc-class-ref in CreateServiceWizardViewController.o
ld: symbol(s) not found for architecture x86_64
2.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If anyone has used this component intheir project, kindly guide me on how to use this component.
Assuming you have used Cocoa pods for VCFloatingButtonAction for intregation, Cocoapods makes a .xcworkspace file after the intregation is complete. If you open you project by normal .xcodeproj file, xcode will not find the framework and give you linker crash.
Open the project with .xcworkspace and not not .xcodeproj file and everything would be fine.

cocoapods linker error when i added it to my project

i'm using cocoapods for the first time and after everything goes well
i get to run my project that was always wor˚ and got those 2 errors in lin˚er
can anyone please tell me what is it
than˚s
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_PECropViewController", referenced from:
objc-class-ref in addProductViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The addProductViewController object is not found and it was referenced within AppDelegate. You do not link addProductViewController into your app. Check if your Compile Sources section within the Build Phases of your project shows addProductViewController.m
than˚s every body for your help
the problem was with arm 64 i just added it in my target and everything work fine
in architectures filed add standard architectures armv7,arm64

Linker command failed with exit code1 in iOS while using static library file

I create a static library file and used this in another project and build it then I got the error message as bellow.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Test_For_Static", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please give suggestions to resolve this error.I create a static library by following this link
http://www.icodeblog.com/2011/04/07/creating-static-libraries-for-ios/
Add both projects into an Xcode workspace and simply make the static library a dependency of the other project. You will need to configure header search paths and then Xcode should take care of the rest automatically.
To resolve this problem we need to configure the application target to build the static library target
and
we need to configure the application target to link to the static library target.

Acapela TTS engine: "Undefined symbols" in XCode for all classes

I'm trying to get started with the Acapela TTS engine for iPhone. I'm using XCode 4 and I've been following these instructions for setup:
http://www.acapela-for-iphone.com/documentation-quick-start-how-to-add-tts-in-your-app
I've added the voice, and added all the necessary files (from the api and license folders) to a group called "TTS", added them to my project's target, and imported them into one of my view controllers in the same manner as the tutorial. However, when I build I get this message:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AcapelaLicense", referenced from:
objc-class-ref in NavigationViewController.o
"_OBJC_CLASS_$_AcapelaSpeech", referenced from:
objc-class-ref in NavigationViewController.o
objc-class-ref in AcapelaSetup.o
"_AcapelaVoiceName", referenced from:
-[AcapelaSetup SetCurrentVoice:] in AcapelaSetup.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
There are no errors for the files not being found, and when I cmd+click on on the #import statements it takes me to the relevant source code files. So how come XCode thinks the symbols are undefined?
Did you include the files libBabTTS.a and libMobilityStatic.a to your project?
Wild guess : You may check the visibility of headers on your projects build phase.

Architecture issue in iOS

I'm using Reachability on my project to get the type of connection used, but an error has ocurred.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Reachability", referenced from:
objc-class-ref in ContributionViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don't know what to do... my project is for iOS 4.3 and I've never had this kind of problem before.
Thx
Did you include the reachability framework in your projects linked libraries ? You can confirm by clicking on your project file on the file list and checking the build phases tab. It should be listed in the linked library section,

Resources