CocoaPods 이란 놈을 쓰기 위해 요래조래 이케저케 세팅은 예~~~전에 했고

플젝 배포를 할려고 inhouse로 archive를 돌렸다


흠... 음... 응... ?

뭐야 debug 할 땐 잘 되던 애가 갑자기 링크 에러??


static library 도 잘 추가되어 있고

path 설정도 다 똑바로 되어 있는데

어째서 링크 에러가 나는 것일까...


구글링을 해봐도 죄다 path 설정을 잘못한 것뿐

따라해도 해결이 안돼서 이틀을 날렸는데

설마... 인하우스의 문제인걸까? 라는 생각이 문득 들었다


개발서버 전환의 편의성을 위해 configuration scheme을 어제 추가했었는데

문제가 없을 것 같지만 왠지 몰라 release 로 archive 시전.


결과는... 또르르 잘되네


CocoaPods 을 install 하면 workspace 파일이 생김과 동시에 Pods 프로젝트가 포함되는데


이 Pods 프로젝트에도 똑같이 scheme 을 추가해주어야 했던 것!!

그, 그렇지 없는 scheme으로 빌드가 될리는 없겠지 너도 플젝인데...


이런 쓰잘데기 없는 애로 이틀을 날... 리진 않고 그래 뭐 다른 작업하긴했지만

날 귀찮게만들었어 너란 녀석... 기억해주마




============================================================



I did archive for distribution but there was a linker error "ld: library not found for -lPods".

After installing CocoaPods, workspace has created and Pods project added to the workspace with my project.

Problem I wanted to find out was very simple. I added configuration scheme for my project and if I use that new one to archive, the error had happened. To add schemes to Pods' configurations solved this error completely.


I spent almost 2 days for this and I feel upset little. I decided to drink beer tonight!! TGIT:D

+ Recent posts