티스토리 뷰
SDWebImage Integrate한 iOS Project를
빌드까지 이상없이 잘 되어서
Product > Archive 했는데
Lexical or Preprocessor Issue
'SDWebImage/UIImageView+WebCache.h' file not found
오류가 발생했다.
디버거는
#import <SDWebImage/UIImageView+WebCache.h>
라인에서 오류를 알려주며 멈춰있었다.
구글링과 스택오버플로를 통해 찾아낸 해결법
- 프로젝트를 클릭
- Target > Build settings
- 검색 입력란에 'header search paths' 입력
- Header Search Paths의 오른쪽 값 부분 더블클릭
- 아래의 3개 중 마지막것만 일단 빼고 입력하는데, 앞/뒤에 아무것도 붙이지 않아야 함 $(TARGET_BUILD_DIR)/usr/local/lib/include
$(OBJROOT)/UninstalledProducts/include
$(SOURCE_ROOT)/SDWebImage - 그래도 오류 발생 시 4.에서 마지막 항목 추가
- 다시 Product > Archive
'모바일 > iOS' 카테고리의 다른 글
UITable Cell, UILabel, UITextView 등에서 자동 높이 (1) | 2014.02.22 |
---|---|
iOS 자동 UITableView Paging & infinite loading (0) | 2014.02.17 |
XCode 4.x 이상에서 디버깅 셋팅과 추적 (0) | 2013.05.27 |
APNS 푸시 서버 라이브러리 (0) | 2012.08.13 |
APNS PHP 발송 간단 예제 (0) | 2012.08.13 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Debug
- centos
- Prototype
- nodejs
- iphone
- 안드로이드
- 한글
- PHP
- laravel
- API
- javascript
- Wordpress
- sencha touch
- iis
- IOS
- ASP
- classic asp
- JQuery
- Linux
- macos
- Docker
- 워드프레스
- JSON
- nginx
- CSS
- Android
- mssql
- git
- IE
- Mac
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함