2012-01-13 36 views
1

不太確定該怎麼做,蘋果mach-o鏈接器錯誤(「對齊丟失」)

但程序在模擬器中運行得很好。但是,當我測試它的iPod/iPhone,我得到以下...

Ld /Users/MacBookPro/Library/Developer/Xcode/DerivedData/Swangle-iPhone-emtomlxdirhuoobwiveczqncivfw/Build/Products/Debug-iphoneos/Swangle-iPhone.app/Swangle-iPhone normal armv7 
cd /Iphone/SDK/Swangle-iPhone 
setenv IPHONEOS_DEPLOYMENT_TARGET 4.2 
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/MacBookPro/Library/Developer/Xcode/DerivedData/Swangle-iPhone-emtomlxdirhuoobwiveczqncivfw/Build/Products/Debug-iphoneos -L/Iphone/SDK/Swangle-iPhone -F/Users/MacBookPro/Library/Developer/Xcode/DerivedData/Swangle-iPhone-emtomlxdirhuoobwiveczqncivfw/Build/Products/Debug-iphoneos -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/Developer/Library/Frameworks -filelist /Users/MacBookPro/Library/Developer/Xcode/DerivedData/Swangle-iPhone-emtomlxdirhuoobwiveczqncivfw/Build/Intermediates/Swangle-iPhone.build/Debug-iphoneos/Swangle-iPhone.build/Objects-normal/armv7/Swangle-iPhone.LinkFileList -dead_strip -miphoneos-version-min=4.2 -framework CoreGraphics -framework UIKit -framework Foundation -framework QuartzCore -framework CoreData -lLexicontext -framework SenTestingKit -o /Users/MacBookPro/Library/Developer/Xcode/DerivedData/Swangle-iPhone-emtomlxdirhuoobwiveczqncivfw/Build/Products/Debug-iphoneos/Swangle-iPhone.app/Swangle-iPhone 

LD:警告:對準合併暫定定義_resultbuffer

任何人有任何建議失去了什麼?謝謝!

回答

2

@James Dunay ...嘗試這種100%的工作方法。

去你的項目概況

- >構建設置

- >進入 「搜索路徑」

- >去 「框架搜索路徑」

- >現在,雙擊路徑位於

- >有兩條路徑,如

(1)$(繼承)

(2) 「$(SRCROOT)/../../../數據/ myCodes/Hello_SOAP 2/edumb /導航」

- >刪除所有數據第二條道路......這就是它......

謝謝..

2

清理您的目標,重新啓動XCode,重新編譯,然後重試。