升級到Xcode 4.2和iOS 5後,我無法再在我的iPhone上運行我的應用程序。他們仍然在模擬器中運行良好。 我在4.2版本中使用Snow Leopard,並認爲這可能是問題,所以升級到Lion,然後將Xcode升級到4.2.1 Lion版本。然而這並沒有解決問題。 我已經經歷了許多線程,試圖找到類似的東西,但不能。我也嘗試了不同的構建設置,編譯器,部署目標等。 我很確定這不是一個配置問題,因爲應用程序加載到設備上,只是它們永遠無法正常啓動,如果應用程序有啓動圖像這是它鎖定的地方。我也嘗試過運行默認的Xcode模板,無濟於事。 我試過刪除派生數據,清理項目,刪除然後重新從項目中導入框架,但沒有任何更改。升級到Xcode 4.2和iOS5後,應用程序無法在iPhone上運行
這是我得到
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols from "Foundation" (not yet mapped into memory).
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/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 from "libSystem.B.dylib" (not yet mapped into memory).
warning: Unable to read symbols from "CoreFoundation" (not yet mapped into memory).
warning: Unable to read symbols from "libobjc.A.dylib" (not yet mapped into memory).
,然後我得到這些一堆錯誤,他們去了15行
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: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit (file not found).
warning: No copy of UIKit.framework/UIKit found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/Foundation.framework/Foundation (file not found).
warning: No copy of Foundation.framework/Foundation found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found).
warning: No copy of CoreGraphics.framework/CoreGraphics found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libSystem.B.dylib (file not found).
warning: No copy of libSystem.B.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (file not found).
warning: No copy of CoreFoundation.framework/CoreFoundation found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libobjc.A.dylib (file not found).
warning: No copy of libobjc.A.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/PrivateFrameworks/IOSurface.framework/IOSurface (file not found).
warning: No copy of IOSurface.framework/IOSurface found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (file not found).
warning: No copy of IOKit.framework/Versions/A/IOKit found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/liblockdown.dylib (file not found).
warning: No copy of liblockdown.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag (file not found).
warning: No copy of MobileKeyBag.framework/MobileKeyBag found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libicucore.A.dylib (file not found).
warning: No copy of libicucore.A.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreImage.framework/CoreImage (file not found).
warning: No copy of CoreImage.framework/CoreImage found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/Security.framework/Security (file not found).
所以我的猜測是(我可以b錯誤)它看起來像Xcode不知道框架的位置,但只有當我的設備連接。我不知道如何解決這個問題,將不勝感激任何幫助或想法 謝謝
我會檢查是否有`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1(9A405)`目錄。 – dasdom 2011-12-14 10:49:43
謝謝我今晚會檢查,如果不是,我該怎麼辦? – 2011-12-15 04:44:19
然後你的安裝有問題。在這種情況下,我會嘗試重新安裝Xcode和最新的SDK。 – dasdom 2011-12-15 08:16:12