【发布时间】:2011-07-28 22:48:55
【问题描述】:
对于上述配置,我的 iPhone 应用程序遇到了构建问题。我的应用程序运行得非常好 在 Snow Leapord Xcode 3.2.5 和 SDK 4.2 上。
这是我遇到的错误。
1)
DataModelCompile /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app/LRWLogs.mom LRWLogs.xcdatamodeld/LRWLogs.xcdatamodel cd "/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/Pinecone/iphone" setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/usr/bin/momc -XD_MOMC_SDKROOT=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -XD_MOMC_IOS_TARGET_VERSION=4.0 -MOMC_PLATFORMS iphonesimulator -MOMC_PLATFORMS iphoneos -XD_MOMC_TARGET_VERSION=10.6 "/Users/roopesh /PineCone/Latest PineCone 07282011/Pinecone/iphone/LRWLogs.xcdatamodeld/LRWLogs.xcdatamodel" /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app/LRWLogs。妈妈
命令 /Developer/usr/bin/momc 失败,退出代码为 1
2)
Ld /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app/Pinecone normal i386 cd "/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/Pinecone/iphone" setenv MACOSX_DEPLOYMENT_TARGET 10.6 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/g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/roopeshm/Library/开发人员/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator“-L/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/Pinecone/iphone/GData/bin/Debug-iphonesimulator”-L../ ../SDK/qo/lib -L../../SDK/openssl-fips-1.2.3 -L/Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug- iphonesimulator -L../../SDK/qo/lib "-L/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/Pinecone/iphone" "-L/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/ Pinecone/iphone/../../SDK/sqlcipher/lib" "-L/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/Pinecone/iphone/../../SDK/openssl-fips-1.2。 3/lib" -F/Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl /Build/Products/Debug-iphonesimulator -filelist /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Intermediates/Pinecone.build/Debug-iphonesimulator/Pinecone.build/Objects-normal/i386/Pinecone .LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -lGDataTouchStaticLib -lxml2 -all_load -ObjC -lsqlcipher /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug- iphonesimulator/libThree20.a /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/libcrypto.a /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/ Build/Products/Debug-iphonesimulator/libsqlcipher.a /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/libiOSCommon.a /Users/roopeshm/Library/Developer/Xcode/ DerivedData/Pinecone-blp usijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/libZipArchive.a -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -lz -framework QuartzCore -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework CoreAudio -framework CoreData -framework CoreFoundation -framework CoreText -framework GameKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework Security -framework SystemConfiguration -lxml2 -framework CoreTelephony -framework MobileCoreServices -framework CoreLocation -framework MapKit -framework EventKit -lsqlite3 -o /Users/roopeshm/Library/ Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app/Pinecone
命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 失败,退出代码为 1
3)
GenerateDSYMFile /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app.dSYM /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl /Build/Products/Debug-iphonesimulator/Pinecone.app/Pinecone cd "/Users/roopeshm/Projects/PineCone/Latest PineCone 07282011/Pinecone/iphone" setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/usr/bin/dsymutil /Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app/Pinecone -o /Users/roopeshm/Library/Developer/Xcode /DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app.dSYM
错误:无法打开可执行文件“/Users/roopeshm/Library/Developer/Xcode/DerivedData/Pinecone-blpusijjphhmenddbrefttvxgsyl/Build/Products/Debug-iphonesimulator/Pinecone.app/Pinecone”
我猜我收到此错误 (3) 是因为前 2 个错误。在过去的 2 天里,我一直被这个错误所震惊,并且没有进一步进行。 如果有人对如何解决这个问题有所了解,那将是一个很大的帮助。
谢谢。
【问题讨论】:
标签: build xcode4 compiler-errors ios4 osx-lion