0
ld: warning: directory not found for option '-L/Users/MYcomputer002/Documents/MGTwitterEngineTest/yajl/build/yajl-1.0.7/lib'
ld: framework not found Cocoa
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

我正在我的项目中实现 MGTwitterEngine。经过大量修改并删除错误后,我遇到了上述错误。这个确切的错误呢?

4

1 回答 1

1

MGTwitterEngine 引用但不包含yajl。你必须自己添加它。您可以手动下载和复制文件,也可以按照 yajl 页面上的说明将其添加为框架。

如果您在 MGTwitterEngine 中四处寻找,您会看到 yajl 文件呈红色,这意味着它们丢失了。您会发现 OAuthConsumer 和 TouchJSON 存在同样的问题。

于 2011-06-13T11:12:51.263 回答