兔子的技术博客

兔子

   :: 首页 :: 联系 :: 聚合  :: 管理
  202 Posts :: 0 Stories :: 43 Comments :: 0 Trackbacks

留言簿(10)

最新评论

阅读排行榜

评论排行榜

在真机上运行时出现“Error launching remote program: failed to get the task for process xxx"

程序已经写到真机上,可以运行,但调试不了,如何解决此问题?


按照下面步骤解决:
For Ad Hoc Distribution, complete the following:
    In the File Menu, select New File -> iPhone OS -> Code Signing -> Entitlements. Name the file “Entitlements.plist" and click ‘Finish’. This creates a copy of the default entitlements file within the project.Select the new Entitlments.plist file and uncheck the “get-task-allow” property. Save the Entitlements.plist file.Select the Target and open the Build settings inspector. In the ‘Code Signing Entitlements’ build setting, type in the filename of the new Entitlements.plist file including the extension. There is no need to specify a path unless you have put the Entitlements.plist file somewhere other than the top level of the project.Click ‘Build’. (Note: Your binary must contain a flattened, square-image icon that is 57x57 pixels. This icon is displayed on the iPhone or iPod touch home screen.)



转自:http://bbs.weiphone.com/read-htm-tid-608920.html
posted on 2011-06-24 21:55 会飞的兔子 阅读(2181) 评论(0)  编辑 收藏 引用 所属分类: 苹果相关

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理