Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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) #45

Open
mouryaamit opened this issue Feb 8, 2016 · 1 comment

Comments

@mouryaamit
Copy link

Hi,
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_.

I am getting following error

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)

@JasonTolliver
Copy link

I had this same issue. It seems that while the plugin successfully adds the proper classes to the iOS app's "Compile Sources" in the "Build Phases" section, it does not to your watch extension...

It was a simple fix, I simply opened the Build Phases on my watch extension (note: this is the extension not the watch app) and manually added all wormhole classes (essentailly Plugins/MMWormhole*) and everything went great from there.

See this link for more details: http://stackoverflow.com/questions/6984368/undefined-symbols-for-architecture-i386-objc-class-skpsmtpmessage-referenc#answer-9438843

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants