삽질기/Cappuccino & Obj-J2012. 10. 15. 15:10

구성을 분리해야 하겠다는 생각이 들어, 짧게 끝날줄 알고 기존 프로젝트를 복사, 간단한 구조 변경을 시도.


잘 돌아가는 것을 확인함.


배포 과정을 위해서, jake 를 이용, debug, release, deploy 를 수행.


deployment 를 서버에 올렸는데 문제 발생. - 내부 코어 그래픽스 쪽 함수가 정의 안되었다고 함. -.-;;;


기존 소스를 복사해 온 녀석이라 멘붕이 더 심함. -.-;;


반나절 끊어서 테스트 후, 자포자기 한 심정으로 release 판을 쓰려고 하는 찰나, - deploy 만 오류남, release, debug 는 또 잘 됨 -.-;; - 혹시나 하는 마음에 다시한번 이번에는 '직접' 구글링을 시도, 올 3월 irc 로그에서 해결책 발견. -.-;;


...전략...


<Sergii> Hello everyone! 

17:54 <Sergii> I've got a question about CPPopover. It works great. But once I build my project with jake deploy I get in FF: [23:51:21.406] CGGradientCreateWithColorComponents is not defined @ .../Build/Deployment/mifi/Frameworks/Objective-J/Objective-J.js:3182 

17:54 <Sergii> in Safari ReferenceError: Can't find variable: CGGradientCreateWithColorComponents 

17:56 timeimp joined 

17:57 <Sergii> actually there is a difference in rendering too. Children like buttons are not drawn in Safari, but ok in FF. No background in both browsers. Release (jake release) is working as expected 

17:59 timeimp joined 

18:04 matthusby joined 

18:04 <cacaodev> Sergii: Add @import <AppKit/CGGradient.j> and jake deploy. It's definitely a bug. 

18:07 timeimp joined 

18:18 timeimp joined 

18:28 Sergii joined 

18:28 <Sergii> cocoadev: Thanks a lot! works now! =) 


... (후략) ... 출처 : http://irclogger.com/.cappuccino/2012-03-19


끄응.. 카프치노 버그;였고 해결책은 직접 임폴트. 결론은 된다. -.-;;


문제점을 못찾았던 이유 : 기존 원본 소스에서는 deploy 이후에도 잘 되던 부분이었음. 문제는 구조를 단순화한 뒤에 발생한거라..

두번째 이유는 시작부터 구글 그룹안에서만 검색을 했건 것. 어흑. ㅠ.ㅜ


-코나-




Posted by 코나