0

谁能帮我这个?

ld "/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Products/Debug-iphonesimulator/New GUI.app/New GUI" normal i386 cd "/Users/orkideh/Downloads/New GUI" setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin :/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator .platform/Developer/SDKs/iPhoneSimulator6.1。sdk -L/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Products/Debug-iphonesimulator -F/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Products/ Debug-iphonesimulator -filelist "/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Intermediates/New GUI.build/Debug-iphonesimulator/New GUI.build/Objects-normal/i386/New GUI。 LinkFileList" -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework CoreMedia -framework Accounts -framework Social -framework UIKit -framework Foundation -framework CoreGraphics -framework iAd -o "/Users/orkideh/Library/Developer/Xcode/DerivedData/New_GUI-ffkeokshboqifhchxwfwfwbauahh/Build/Products/Debug-iphonesimulator/New GUI.app/New GUI"

体系结构 i386 的未定义符号:“_main”,引用自:从 crt1.o 开始 ld:未找到体系结构 i386 的符号 clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)

我不知道错误是什么以及我应该如何解决这个问题。感谢任何帮助

4

1 回答 1

0

我认为您缺少一些框架,因此请导入这些框架...

1. CoreGraphics
2. Social
3. Accounts etc.

并告诉我你导入了哪个框架。?

于 2013-04-17T06:04:28.570 回答