命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1ld:未找到用于-liLibs的库
我在编译iphone应用程序时发现Apple Mach-O链接器Id错误。并且在误差以下 Ld “/Users/adminbluepal/Library/Developer/Xcode/DerivedData/Tiger czyksblsmfqdqybamuutemvjbdek/Build/Products/Debug iphonesimulator/Tiger Dev.app/Tiger Dev“普通i386 cd/Users/adminbluepal/Desktop/Dir-Tiger\u最新版本 setenv MACOSX_部署_目标10.6 setenv PATH“/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/bin:/usr/sbin:/sbin” /开发者/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386-isysroot/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/adminbluepal/Library/Developer/Xcode/DerivedData/Tiger czyksblsmfqdqybamuutemvjbdek/Build/Products/Debug iphonesimulator -F/Users/adminbluepal/Library/Developer/Xcode/DerivedData/Tiger czyksblsmfqdqybamuutemvjbdek/Build/Products/Debug iphonesimulator -文件列表“/Users/adminbluepal/Library/Developer/Xcode/DerivedData/Tiger czyklsmfqdqybamuutemvjbdek/Build/Intermediates/Tiger.Build/Debug-iphonesimulator/Tiger.Build/Objects-normal/i386/Tiger Dev.LinkFileList“-Xlinker --无需求-mmacosx版本最小值=10.6-Xlinker-objc_abi_版本-Xlinker 2-liLibs-framework AVFoundation-framework AudioToolbox-framework CoreMedia 框架基础——框架GAMEKIT——框架OpenGLE框架 QuartzCore-框架安全 -框架系统配置-框架UIKit-lz-o“/Users/adminbluepal/Library/Developer/Xcode/DerivedData/Tiger czyksblsmfqdqybamuutemvjbdek/Build/Products/Debug iphonesimulator/Tiger Dev.app/Tiger-Dev“ 命令 /开发者/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 失败,退出代码为1 请帮我解决这个问题 谢谢,,命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1ld:未找到用于-liLibs的库,iphone,objective-c,cocoa-touch,Iphone,Objective C,Cocoa Touch,我在编译iphone应用程序时发现Apple Mach-O链接器Id错误。并且在误差以下 Ld “/Users/adminbluepal/Library/Developer/Xcode/DerivedData/Tiger czyksblsmfqdqybamuutemvjbdek/Build/Products/Debug iphonesimulator/Tiger Dev.app/Tiger Dev“普通i386 cd/Users/adminbluepal/Desktop/Dir-Tiger\u最
Madan Mohan昨天我遇到了这个问题。。。。借助此答案清除了该错误。它也可以帮助你 您可能没有将CoreGraphics.framework添加到框架列表中 要确保这一点,请单击Xcode上的“Frameworks”文件夹。如果框架未在右侧的表中列出,则需要通过右键单击框架文件夹,选择“添加现有框架…”,然后从列表中选择它来添加框架。
来源听起来你在尝试使用iLibs库(谷歌称这是用于游戏开发的)。XCode无法正确链接到它。尝试将他们的框架添加到项目中,或阅读库的帮助文档以获取有关其设置的帮助。或者,如果您不使用库,请查看是否可以删除生成设置中的“-liLibs”链接器标志。可能的副本
ld: library not found for -liLibs
collect2: ld returned 1 exit status