百度空间 | 百度首页 
 
查看文章
 
XCode 3.2 bug?
2009-08-21 21:18
If you use XCode 3.2 to open and compile project created on 3.1, and you are like to have following annoyed error with 'build and go'

dyld: Library not loaded: @executable_path/../Frameworks/Growl-WithInstaller.framework/Versions/A/Growl-WithInstaller
Referenced from: /Users/Malic/Documents/Code/Cocoa/welly/build/Debug/Welly.app/Contents/MacOS/Welly
Reason: image not found
sharedlibrary apply-load-rules all
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.)
warning: Couldn't find minimal symbol for "_sigtramp" - backtraces may be unreliable
Cannot access memory at address 0x0


It says image not found. Where is our framework image anyway? It should be
copied to the built app's framework directory and what the hell has happened?

Then I tries to use otool to find the pointed path for the framework.

Malic:MacOS Malic$ pwd
/Users/Malic/code/cocoa/welly/build/Debug/Welly.app/Contents/MacOS
Malic:MacOS Malic$ otool -L Welly | grep PSM
@executable_path/../Frameworks/PSMTabBarControl.framework/Versions/A/PSMTabBarControl (compatibility version 1.0.0, current version 1.0.0)

then we go to
../Frameworks/PSMTabBarControl.framework/Versions/A/   as suggested.
and there is nothing? Hell, why?? I can only refer to it as a bug, you have to manually copy the current framework alias and their contents to the pointed directory for now.


p.s. After cleaning all targets and something 'magic' I don't even remember, it works fine now, I am still confused :(



类别:默认分类 | 浏览() | 评论 (0)
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu