任何人都可以帮我这个吗?
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 / X. code / DerivedData / New_GUI-ffkeokshboqifhchxwfwfwbauahh / Build / Products / Debug-iphonesimulator / New GUI.app/New GUI“
架构i386的未定义符号: “_main”,引自: 从crt1.o开始 ld:找不到架构i386的符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
我不知道错误是什么以及我应该如何解决这个问题。非常感谢
答案 0 :(得分:0)
我认为你缺少一些框架所以请导入这些框架...
1. CoreGraphics
2. Social
3. Accounts etc.
告诉我你导入了哪个框架。 ?