2011-08-04 86 views
0

In i Phone目前我正在使用iAds概念在我的項目中我的項目是成功完全運行模擬器4.1但設備4.2.1版本未能設備錯誤發生這種錯誤什麼是原因?我的錯誤是如何在xcode 4.1中使用iAd

WARNING: Falling back to active SDK directory at: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk 

GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Thu Aug 5 05:54:10 UTC 2010) 
Copyright 2004 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB. Type "show warranty" for details. 
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000 
Loading program into debugger… 
Program loaded. 
target remote-mobile /tmp/.XcodeGDBRemote-169-47 
Switching to remote-macosx protocol 
mem 0x1000 0x3fffffff cache 
mem 0x40000000 0xffffffff none 
mem 0x00000000 0x0fff none 
run 
Running… 
[Switching to thread 11523] 
[Switching to thread 11523] 
sharedlibrary apply-load-rules all 
continue 
warning: UUID mismatch detected with the loaded library - on disk is: 
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk 
/System/Library/Frameworks/Foundation.framework/Foundation 

回答

0

XCode 4.1自帶iOS 4.3設備運行4.2.1,因此SDK不匹配。 我已經讓你升級你的設備上的iOS到最新的它應該工作。

或者當您連接設備時,組織者會詢問您是否可以從設備上收集符號。如果是這樣,讓它收集符號。然後它會知道你的deice正在運行哪個版本,它應該工作。

+0

我的X代碼是3.2.4在模擬器4.1中成功運行我的iads項目,但設備4.2.1未加載請幫助我的原因是什麼。錯誤是設備故障。 – Durga

+0

iPhone UUID不匹配檢測到與加載庫這種警告發生如何解決這個錯誤。 – Durga

+0

UUID表示您的iOS版本與Mac上安裝的任何版本都不匹配。您需要升級您的SDK版本。使用iOS SDk 4.2或更高版本下載新版本的XCode。 – rckoenes