dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 131 forks source link

iOS 10, Xcode 8, 2 duplicate symbols for architecture arm64 #92

Closed Emadello closed 8 years ago

Emadello commented 8 years ago

Xcode build failed and I'm getting the following error:

duplicate symbol _CMEmptyAddress in: .../CMMapLauncher.o .../LaunchNavigator.o

duplicate symbol _CMEmptyCoord in: .../CMMapLauncher.o .../LaunchNavigator.o

2 duplicate symbols for architecture arm64 linker command failed with exit code 1 (use -v to see invocation)

Emadello commented 8 years ago

changing 'No Common Blocks' from Yes to No ( under Targets->Build Settings->Apple LLVM - Code Generation ) fixed the problem.

dpa99c commented 8 years ago

Since this setting (GCC_NO_COMMON_BLOCKS) defaults to No in a new Cordova XCode project, I'm closing this on the basis it's not an issue with the plugin itself.

ghost commented 7 years ago

It did not work for me.

piotrdenis commented 7 years ago

@Emadello you saved my weeks!!!!! Thank you been looking for solution to this issue for so long. Damn it was so easy to fix.

imdadturi commented 6 years ago

It did not work for me

deblinaalways commented 6 years ago

It didn't work for me either!

gunduzcihat commented 5 years ago

it didn't work!

samuelmorais commented 5 years ago

It worked for me! Thanks @Emadello !

franknoel commented 4 years ago

For those who this wasn't working, what did you do instead?

Edit: I could not find the setting section in xcode 11 because it has been renamed to Apple Clang - Code generation instead of Apple LLVM - Code generation.

kristofvdj88 commented 4 years ago

This didn't work for me either. I did find the "Apple Clang - Code generation" setting section with the "No Common Blocks" setting in it but this was already set to Yes...

Just out of curiosity I tried setting it to No and sure enough I was able to build.

prajjwal81 commented 8 months ago

yet not working