iPhone app does not run on old device (3G, 3GS, …) [duplicate]

不问归期 提交于 2019-11-29 07:12:16

问题


Possible Duplicate:
Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?

I have developed an app which works on iPhone 4 (iOS 4.3 & 5) (which used during developing). Now I have tried to test on 3GS (iOS 4.3.3) and 3G(iOS 4.2). But app does not load into these devices. I can see following messages on consol when try to deploy to device.

Sat Jan  1 17:27:38 unknown lockdownd[16] <Error>: 2ff68000 handle_connection: 
            Could not receive USB message #6 from Xcode. Killing connection 
Sat Jan  1 17:27:38 unknown com.apple.mobile.lockdown[16] <Notice>: Could not 
            receive size of message

I have tested on Xcode 4.0.2 as well as 4.2 beta. Restarted devices and MAC but still same. Can anybody know about this issue? Thanks


回答1:


This can come for various reasons. Until now this is are the cases pople have encountered:

  • bad cable -> try another one, or hold it really still when programming
  • unsuported features mentioned in info.plist -> check plist
  • unsuported architecture (by default Xcode4.2 uses standard arch= armv7 ) -> add armv6



回答2:


Check your cable or your device dock. The problem in your console says your material connection is not healthy. Can you perform an itunes synchronization ?




回答3:


Check the frameworks used by you... mostlt it happen that a some of frameworks doesn't work for old devices so they should not be of REQUIRED type but of OPTIONAL. Hope it works for you.



来源:https://stackoverflow.com/questions/6355890/iphone-app-does-not-run-on-old-device-3g-3gs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!