如何在xcode 4.1中使用iAds

时间:2011-08-04 05:02:56

标签: iphone ios4 iad iadstsuserex

在i Phone目前我在我的项目中使用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

1 个答案:

答案 0 :(得分:0)

XCode 4.1附带iOS 4.3您的设备运行4.2.1,因此SDK不匹配。 我已经将你设备上的iOS升级到应该运行的最新版本。

或者当您连接设备时,组织者会询问您是否可以从设备中收集符号。如果是这样,让它收集符号。然后它会知道你的deice正在运行哪个版本,它应该可以工作。