我已經使用TabBarController模板創建了Xcode iPhone項目。iPhone Tabbar應用程序錯誤
我希望FirstViewController鏈接到的UIView(視圖1)。 因此,我添加一個UIView名稱View1.Xib並將其設置爲FirstViewController的出口視圖。 然後我刪除選定的第一視圖控制器(一)如下圖所示
然後我設置爲臨時版本的圖片,並建立&運行
它安裝在我的iPod在」原始視圖,但它報告了
Thu Nov 25 19:25:59 unknown com.apple.debugserver-43[2591] <Warning>: debugserver-43 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Thu Nov 25 19:25:59 unknown com.apple.debugserver-43[2591] <Warning>: Connecting to com.apple.debugserver service...
Thu Nov 25 19:26:03 unknown com.apple.debugserver-43[2591] <Warning>: 1 [0a1f/0903]: error: ::task_for_pid (target_tport = 0x0103, pid = 2585, task => 0x0000) 0x000001f5/0x000001f5 0x000001f5/0x000001f5 err = (os/kern) failure (0x00000005)
Thu Nov 25 19:26:03 unknown com.apple.debugserver-43[2591] <Error>: error: MachTask::StartExceptionThread(): task invalid, exception thread start failed.
Thu Nov 25 19:26:09 unknown com.apple.debugserver-43[2591] <Warning>: 2 [0a1f/0903]: error: ::task_for_pid (target_tport = 0x0103, pid = 2585, task => 0x0000) 0x000001f5/0x000001f5 0x000001f5/0x000001f5 err = (os/kern) failure (0x00000005)
Thu Nov 25 19:26:09 unknown com.apple.debugserver-43[2591] <Warning>: 3 [0a1f/0903]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: ''
Thu Nov 25 19:26:09 unknown com.apple.debugserver-43[2591] <Warning>: error: failed to launch process (null): failed to get the task for process 2585
Thu Nov 25 19:26:09 unknown com.apple.debugserver-43[2591] <Warning>: 4 [0a1f/1603]: error: ::read (7, 0x28091c, 1024) => -1 err = Bad file descriptor (0x00000009)
Thu Nov 25 19:26:09 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.product[0x64d5]) Bug: launchd_core_logic.c:2649 (23909):10
Thu Nov 25 19:26:09 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.product[0x64d5]) Working around 5020256. Assuming the job crashed.
Thu Nov 25 19:26:09 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.company.product[0x64d5]) Job appears to have crashed: Segmentation fault
Thu Nov 25 19:26:09 unknown SpringBoard[24] <Warning>: Application 'tabbar' exited abnormally with signal 11: Segmentation fault
我的改變怎麼了? 我不熟悉的UITabBarController,這真讓我頭疼了一週
歡迎任何評論
感謝
InterDev中