我有一个应用程序在Iphone 3GS,Ipad和Iphone模拟器上工作。 现在我正在尝试在Iphone 3G上进行测试和调试,但我无法
拳头,XCode让我下载一些图书馆。 我做到了!
然后,我遇到了架构问题并在互联网上搜索我找到了解决方案。在armv6和armv7上设置架构
现在,当我启动应用程序进行调试时,它会显示此日志:
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
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
sharedlibrary apply-load-rules all
warning: Unable to read symbols from "CoreVideo" (not yet mapped into memory).
warning: Unable to read symbols from "CoreMedia" (not yet mapped into memory).
target remote-mobile /tmp/.XcodeGDBRemote-2123-32
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 10755 thread 0x2a03]
[Switching to process 10755 thread 0x2a03]
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
Re-enabling shared library breakpoint 3
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: UUID mismatch detected with the loaded library - on disk is:
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/usr/lib/libiconv.2.dylib
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Library/MobileSubstrate/MobileSubstrate.dylib (file not found).
warning: No copy of MobileSubstrate.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Library/RockExtensions/RockExtensions.dylib (file not found).
warning: No copy of RockExtensions.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
dyld: Symbol not found: _OBJC_CLASS_$_UIPopoverController
Referenced from: /var/mobile/Applications/9DDCE0DE-4B75-434C-B393-99AA847CAE0E/XXXX.app/XXXXX
Expected in: /System/Library/Frameworks/UIKit.framework/UIKit
我不知道该怎么办。有人可以帮帮我吗?
谢谢,抱歉我的英语不好
答案 0 :(得分:1)
您正在尝试在iPhone应用程序中使用UIPopoverController。 UIPopoverController在iPhone中不可用,仅适用于iPad。你可以设置一个条件来避免在iPhone设备运行时使用UIPopoverController。