尝试使用Xcode进行编译时,出现以下错误: **Ld /Users/doronkatz/Library/Developer/Xcode/DerivedData/iKosher-bphnihrngmqtkqfgievrrumzmyce/Build/Products/Debug-iphonesimulator/iKosher.app/iKosher normal i386 cd /Users/doronkatz/Sites/xCode/iKosher setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Xcode4/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Xcode4/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Xcode4/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Xcode4/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -L/Users/doronkatz/Library/Developer/Xcode/DerivedData/iKosher-bphnihrngmqtkqfgievrrumzmyce/Build/Products/Debug-iphonesimulator -L/Users/doronkatz/Sites/xCode/iKosher -F/Users/doronkatz/Library/Developer/Xcode/DerivedData/iKosher-bphnihrngmqtkqfgievrrumzmyce/Build/Products/Debug-iphonesimulator -filelist /Users/doronkatz/Library/Developer/Xcode/DerivedData/iKosher-bphnihrngmqtkqfgievrrumzmyce/Build/Intermediates/iKosher.build/Debug-iphonesimulator/iKosher.build/Objects-normal/i386/iKosher.LinkFileList -mmacosx-version-min=10.6 -all_load -ObjC -Xlinker -objc_abi_version -Xlinker 2 -lz -framework Security -framework CFNetwork -framework CoreData -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -o /Users/doronkatz/Library/Developer/Xcode/DerivedData/iKosher-bphnihrngmqtkqfgievrrumzmyce/Build/Products/Debug-iphonesimulator/iKosher.app/iKosherUndefined symbols for architecture i386: "_UTTypeCreatePreferredIdentifierForTag", referenced from: +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o "_UTTypeCopyPreferredTagWithClass", referenced from: +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o "_kUTTagClassMIMEType", referenced from: +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o "_kUTTagClassFilenameExtension", referenced from: +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o不知道这意味着什么。
3 回答
蝴蝶不菲
TA贡献1810条经验 获得超4个赞
我使用以下方法(针对XCode 4)解决了该问题:
1)在项目导航窗口中选择项目,该项目将在右侧显示项目摘要
2)选择第4个标签构建阶段
3)选择使用库链接二进制文件选项
4)添加要获取的框架
5)将框架从主文件夹移动到frameworks文件夹
6)重新构建它,错误消失了。
- 3 回答
- 0 关注
- 514 浏览
添加回答
举报
0/150
提交
取消