我是编程新手,但努力工作并弄清楚为什么我会遇到上述错误.我已经阅读并尝试了我在网上找到的所有内容,该程序来自Head First iPhone开发手册第7章(他们的论坛没有解决这个错误,并且该论坛上的一些问题都得到了解答).
我已经尝试过或确认过:
在应用程序目标中检查目标(我的意思是主应用程序名称是唯一显示并且被检查为目标的应用程序名称)
我试过更改模拟器和sdk的版本
我添加了它正在寻找的类的#import(我的代码完全是书籍)
我的直觉告诉我这是IB的内容,但没有帖子暗示可能是问题(可能是错误的东西?)
任何帮助将不胜感激!!
更新:
CoreData框架就在那里 - 没有错过.谢谢你,还有其他想法吗?
很抱歉在"答案"中发帖,只有选项可用(在创建帐户之前写入和发布的问题 - 抱歉是laaaamo)
这是完整的错误:
Ld build/Debug-iphonesimulator/iBountyHunter.app/iBountyHunter normal i386
cd /Users/Home/Desktop/iBountyHunter
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk -L/Users/Home/Desktop/iBountyHunter/build/Debug-iphonesimulator -F/Users/Home/Desktop/iBountyHunter/build/Debug-iphonesimulator -filelist /Users/Home/Desktop/iBountyHunter/build/iBountyHunter.build/Debug-iphonesimulator/iBountyHunter.build/Objects-normal/i386/iBountyHunter.LinkFileList -mmacosx-version-min=10.5 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreData -o /Users/Home/Desktop/iBountyHunter/build/Debug-iphonesimulator/iBountyHunter.app/iBountyHunter
Undefined symbols:
"_OBJC_CLASS_$_FugitiveDetailViewController", referenced from:
objc-class-ref-to-FugitiveDetailViewController in FugitiveListViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
思考?非常感谢你的帮助!
| 归档时间: |
|
| 查看次数: |
6979 次 |
| 最近记录: |