Last active
August 29, 2015 14:20
-
-
Save joeangel/68f6e8ef795912cb102a to your computer and use it in GitHub Desktop.
Using XCDYouTubeKit with Cocoapods occurs error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Using XCDYouTubeKit with Cocoapods occurs error | |
| =============================================== | |
| # pod install error | |
| Analyzing dependencies | |
| Downloading dependencies | |
| Using XCDYouTubeKit (2.1.2) | |
| Generating Pods project | |
| Integrating client project | |
| [!] The `Fanily [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/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 `Fanily [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/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 | |
| # Xcode project error | |
| ld: warning: directory not found for option '-L/___DIRECTORY__/build/Debug-iphoneos' | |
| Undefined symbols for architecture x86_64: | |
| "_OBJC_CLASS_$_XCDYouTubeVideoPlayerViewController", referenced from: | |
| objc-class-ref in ViewController.o | |
| ld: symbol(s) not found for architecture x86_64 | |
| clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
| # I do these for sloved this issue | |
| 1. remove all setting in Target->Build Settings->Library Search Paths and setting it to: | |
| 1.a. $(SRCROOT) recursive | |
| 1.b. $(inherited) non-recursive | |
| 1.c. $(PROJECT_DIR)/build/Debug-iphoneos non-recursive | |
| 2. setting "Other Linker Flags" | |
| -licucore | |
| # reference | |
| 1. http://stackoverflow.com/questions/29965283/unable-to-install-xcdyoutubekit-with-pods | |
| 2. http://stackoverflow.com/questions/27286226/undefined-symbols-for-architecture-armv7-for-cocoapods-libraries | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment