I'm getting the following error after added pods to existing Cocos3D helloWorld project:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Here are the steps performed:
- Copy
CC3HelloWorld
project from the distribution into location /someplace/CC3HelloWorld/ - Added the
SWTableViewCell
to Podfile - Via command line: pod install
- Getting the following complaints:
[!] The
CC3HelloWorld [Debug]
target overrides theOTHER_CFLAGS
build setting defined inPods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or - Remove the build settings from the target.[!] The
CC3HelloWorld [Debug]
target overrides theOTHER_LDFLAGS
build setting defined inPods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or - Remove the build settings from the target.[!] The
CC3HelloWorld [Release]
target overrides theOTHER_CFLAGS
build setting defined inPods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or - Remove the build settings from the target.[!] The
CC3HelloWorld [Release]
target overrides theOTHER_LDFLAGS
build setting defined inPods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
$(inherited)` flag, or - Remove the build settings from the target. Phams-MacBook-Pro:CC3HelloWorld phamdacloc$ pod install
- I then went into Build Settings and added
$(inherited)
flag forOTHER_CFLAGS
andOTHER_LDFLAGS
. - Compiled and received the following error:
ld: library not found for -lPods-SWTableViewCell clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can't seem to get pass this clang error. Note that this only happen when I copy the existing CC3HelloWorld project as a starting template to begin my work. The pods are working fine if I begin a brand new project not using Cocos3D. Any help would be appreciated. Thanks