我有一个链接到Python.framework
.
通过otool -L <binary>
,它似乎链接到完整的符号链接解析路径,即/System/Library/Frameworks/Python.framework/Versions/2.7/Python
而不是/System/Library/Frameworks/Python.framework/Versions/Current/Python
。从只有 Python 2.6 框架的用户那里,我还得到了它抛出此错误的报告:
Dyld Error Message:
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/MusicPlayer.app/Contents/MacOS/MusicPlayer
Reason: image not found
我如何告诉 Xcode 它应该链接到/System/Library/Frameworks/Python.framework/Versions/Current/Python
?