0

現在iPhoneでは、プロジェクトでiAdsコンセプトを使用していますが、プロジェクトはシミュレータ4.1で完全に実行されていますが、デバイス4.2.1バージョンでデバイスエラーが発生しません。この種のエラーが発生した理由は何ですか。私のエラーは

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
4

1 に答える 1

0

XCode 4.1 には iOS 4.3 が付属しており、お使いのデバイスは 4.2.1 を実行しているため、SDK が一致しません。お使いのデバイスの iOS を最新のものにアップグレードしました。

または、デバイスを接続すると、オーガナイザーはデバイスからシンボルを収集するかどうかを尋ねます。もしそうなら、シンボルを集めましょう。次に、デバイスが実行されているバージョンを認識し、動作するはずです。

于 2011-08-04T06:49:38.827 に答える