Closed Emadello closed 8 years ago
changing 'No Common Blocks' from Yes to No ( under Targets->Build Settings->Apple LLVM - Code Generation ) fixed the problem.
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.
It did not work for me.
@Emadello you saved my weeks!!!!! Thank you been looking for solution to this issue for so long. Damn it was so easy to fix.
It did not work for me
It didn't work for me either!
it didn't work!
It worked for me! Thanks @Emadello !
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.
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.
yet not working
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)