Отладка на iOS 4.0.1 сбой устройства - PullRequest
1 голос
/ 26 июля 2010

Попытка исправить ошибку на iOS 4, но при отладке она вылетает с такими ошибками: SDK установлен в отдельном каталоге, так как мне нужно также выполнить отладку 3.1.3

Developer_Xcode3_2_3_iOS_SDK_4_0_1

Устройство работает 4.0.1

Есть идеи? Приветствия


[Session started at 2010-07-27 14:26:45 +0100.]
Undefined command: "Developer".  Try "help".
Undefined command: "Developer".  Try "help".
Undefined command: "Developer".  Try "help".
Undefined command: "Developer".  Try "help".
GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 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".Developer_Xcode3_2_3_iOS_SDK_4_0_1/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/usr" /System "/Developer_Xcode3_2_3_iOS_SDK_4_0_1
    Developer_Xcode3_2_3_iOS_SDK_4_0_1/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System" /private/var/mobile/Applications/50A5673A-2D68-4EA2-B033-2CA40C8DFC79 /Users/clearbrian/Documents/Development/IPhoneDevelopment/029.LondonBusMaps/021.Bus.v2a.RedesignWithRoutes_iOs4Recompile/Bus/build/Debug-iphoneos /var/mobile/Applications/50A5673A-2D68-4EA2-B033-2CA40C8DFC79 /Users/clearbrian/Documents/Development/IPhoneDevelopment/029.LondonBusMaps/021.Bus.v2a.RedesignWithRoutes_iOs4Recompile/Bus/build/Debug-iphoneos  /Developer "/Developer_Xcode3_2_3_iOS_SDK_4_0_1
    Loading program into debugger…
    Undefined command: "Developer".  Try "help".
    Undefined command: "Developer".  Try "help".
    Developer_Xcode3_2_3_iOS_SDK_4_0_1/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/Developer"
    Undefined command: "Developer".  Try "help".
    Undefined command: "Developer".  Try "help".
    Developer_Xcode3_2_3_iOS_SDK_4_0_1/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
    Developer_Xcode3_2_3_iOS_SDK_4_0_1/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/Xcode SSHPassKey
    tty /dev/ttys001
    warning: Unable to read symbols from "dyld" (prefix __dyld_) (not yet mapped into memory).
    warning: Unable to read symbols from "libxml2.2.dylib" (not yet mapped into memory).
    warning: Unable to read symbols from "Foundation" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
    warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics" (file not found).
    warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/CFNetwork.framework/CFNetwork" (file not found).
    warning: Unable to read symbols from "CFNetwork" (not yet mapped into memory).
    warning: Unable to read symbols from "CoreLocation" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/MapKit.framework/MapKit" (file not found).
    warning: Unable to read symbols from "MapKit" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/MessageUI.framework/MessageUI" (file not found).
    warning: Unable to read symbols from "MessageUI" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices" (file not found).
    warning: Unable to read symbols from "MobileCoreServices" (not yet mapped into memory).
    warning: Unable to read symbols from "QuartzCore" (not yet mapped into memory).
    warning: Unable to read symbols from "SystemConfiguration" (not yet mapped into memory).
    warning: Unable to read symbols from "libsqlite3.dylib" (not yet mapped into memory).
    warning: Unable to read symbols from "libz.1.dylib" (not yet mapped into memory).
    warning: Unable to read symbols from "libgcc_s.1.dylib" (not yet mapped into memory).
    warning: Unable to read symbols from "libSystem.B.dylib" (not yet mapped into memory).
    warning: Unable to read symbols from "libobjc.A.dylib" (not yet mapped into memory).
    warning: Unable to read symbols from "CoreFoundation" (not yet mapped into memory).
    Program loaded.
    target remote-mobile /tmp/.XcodeGDBRemote-407-23
    Switching to remote-macosx protocol
    mem 0x1000 0x3fffffff cache
    mem 0x40000000 0xffffffff none
    mem 0x00000000 0x0fff none
    (gdb) run
    Running…
    [Switching to thread 11523]
    [Switching to thread 11523]
    gdb stack crawl at point of internal error:
    0   gdb-arm-apple-darwin                0x0013117d internal_vproblem + 316
    1   gdb-arm-apple-darwin                0x001313c1 internal_verror + 43
    2   gdb-arm-apple-darwin                0x001313f6 align_down + 0
    3   gdb-arm-apple-darwin                0x001825b1 macosx_solib_add + 959
    4   gdb-arm-apple-darwin                0x00196394 remote_macosx_complete_create_or_attach + 225
    5   gdb-arm-apple-darwin                0x00196a0c remote_macosx_create_inferior + 1083
    6   gdb-arm-apple-darwin                0x0006f9ad run_command_1 + 660
    7   gdb-arm-apple-darwin                0x0012f132 execute_command + 713
    8   gdb-arm-apple-darwin                0x0001bf67 mi_execute_async_cli_command + 226
    9   gdb-arm-apple-darwin                0x0001b584 captured_mi_execute_command + 371
    10  gdb-arm-apple-darwin                0x0008546f catch_exception + 65
    11  gdb-arm-apple-darwin                0x000188e2 mi_execute_command + 163
    12  gdb-arm-apple-darwin                0x00018a87 mi_execute_command_wrapper + 50
    13  gdb-arm-apple-darwin                0x0008ae51 handle_file_event + 349
    14  gdb-arm-apple-darwin                0x0008a818 process_event + 131
    /SourceCache/gdb/gdb-1470/src/gdb/macosx/macosx-nat-dyld.c:1547: internal-error: unrecognized shared library breakpoint
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.

    The Debugger has exited with status 1.The Debugger has exited with status 1.

Кто-то спросил, создал ли я символические ссылки Несколько месяцев назад, когда вышла версия 3.0.1, у меня возникли проблемы с ее настройкой для работы с XCode, и я нашел эту справку:

Тема: iPhone OS 3.0.1 не работает с xCode

http://discussions.apple.com/thread.jspa?threadID=2103502&tstart=0

Итак, я запустил это, и, похоже, это сработало.

ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1

Символическая ссылка больше не работает, поэтому просто интересно, стоит ли ее удалять.


Некоторые заметки о моем макете установки У меня есть эти каталоги установки:

Developer:                3.1.3 - works - app in AppStore
Developer3_2_Final:
Developer_4_0_Final_Xcode3_2_3:
Developer_Xcode3_2_3_iOS_SDK_4_0_1:    This is the version that crashes

Единственная символическая ссылка, которую я создал, была в / Developer все же сбой вызван, когда я использую XCode в / Developer_Xcode3_2_3_iOS_SDK_4_0_1

Мое приложение было встроено в 3.1.3 с использованием / Developer, поэтому я не хочу его удалять.


не гуру юникса, хотя я готов окунуться в него, поэтому с благодарностью получили любые указатели.

Вчера был установлен / Developer_Xcode3_2_3_iOS_SDK_4_0_1, и я запустил 3.1.3 против него, а затем отладчик при работе на устройстве вышел из строя.

Так что я ничего не сделал с любым из этих SDK, кроме как создать эту символическую ссылку несколько месяцев назад и установить SDK выше 3.1.3 в отдельных каталогах, пока я не был уверен, что смогу построить против них.


Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...