2011-09-12 106 views
0

我有一个包含b和c版本的框架(FRAME1),然后在另一个框架(FRAME2)中包含这个框架作为依赖关系。在框架内连接框架时未发现框架问题

然而,当我建式2它死了有:ld:framework not found <nameofframework>

我所做的帧1 /资源库/框架的安装位置,我也把它设置为@rpath

但是仍然帧2错误出。我已经对框架搜索路径进行了硬编码,并且也没有改变这种情况。

这里是Xcode错误输出:

Ld build/Release/TSVideoAppKit.framework/Versions/B/TSVideoAppKit normal i386 
cd /Users/benb/Projects/Telestream/swRelease/Pipeline/2.6/Dib/Code/Macintosh/Frameworks/TSVideoAppKit 
setenv MACOSX_DEPLOYMENT_TARGET 10.5 
/Xcode3/usr/bin/g++-4.0 -arch i386 -dynamiclib -isysroot /Xcode3/SDKs/MacOSX10.6.sdk -L/Users/benb/Projects/Telestream/swRelease/Pipeline/2.6/Dib/Code/Macintosh/Frameworks/TSVideoAppKit/build/Release -F/Users/benb/Projects/Telestream/swRelease/Pipeline/2.6/Dib/Code/Macintosh/Frameworks/TSVideoAppKit/build/Release -filelist /Users/benb/Projects/Telestream/swRelease/Pipeline/2.6/Dib/Code/Macintosh/Frameworks/TSVideoAppKit/build/TSVideoAppKit.build/Release/TSVideoAppKitFramework.build/Objects-normal/i386/TSVideoAppKit.LinkFileList -install_name /Library/Frameworks/TSVideoAppKit.framework/Versions/B/TSVideoAppKit -Xlinker -rpath -Xlinker /Library/Frameworks -mmacosx-version-min=10.5 -framework TSPipelineEngine -framework Cocoa -framework CoreVideo -framework OpenGL -framework QTKit -framework QuickTime -framework CoreAudio -single_module -compatibility_version 1 -current_version 1 -o /Users/benb/Projects/Telestream/swRelease/Pipeline/2.6/Dib/Code/Macintosh/Frameworks/TSVideoAppKit/build/Release/TSVideoAppKit.framework/Versions/B/TSVideoAppKit 

ld: framework not found TSPipelineEngine 
collect2: ld returned 1 exit status 
Command /Xcode3/usr/bin/g++-4.0 failed with exit code 1 

感谢所有帮助:)

+0

我已经看过这一点,但它似乎didnt帮助:http://www.dribin.org/dave/blog/archives/2009/11/15/rpath/ – theprojectabot

+0

对不起,但你的问题太难理解了。请提供真实的示例,而不是foo,bar,并编写完整的链接器错误。 – Macmade

回答

0

所以问题的Xcode 3.2.6。如果我下降到3.2.5它的工作。我在他们的雷达系统中记录了一个针对苹果的bug。

问题ID:10139645