安装失败:参数-iOS扩展名无效 [英] Installation Failed: Invalid Argument -iOS Extension

查看:133
本文介绍了安装失败:参数-iOS扩展名无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://imgur.com/vFn0S7g





我要从现有项目构建观看应用程式目标。我在完成构建时遇到一个奇怪的错误,无法正常运行手表应用程序。



环境




  • OSX 10.10

  • XCode 6.2 Beta

  • 模拟器iPhone 6 iOS 8.2



我尝试创建新的手表应用程序项目,并尝试Lister演示应用程序,他们工作很好。所以我怀疑我的现有项目有一些问题,但不知道什么,因为错误消息不是真正的解释。

修改:经过少量调查后,发现附加信息

解决方案

经过2天的研究,我发现我相信是一个xcode错误的答案。



基本上这是由于XCode版本设置中有不同的版本名称。使它们统一应该可以解决问题。如此处所示 https://devforums.apple.com/message/1047770#1047770



我希望这可以帮助任何人解决这个问题。


https://imgur.com/vFn0S7g

Hi guys,

I am about to build watch app target from existing project. I encountered a strange error upon finishing build that unables me to run the watch app properly. Here is the attached screenshot.

Environment

  • OSX 10.10
  • XCode 6.2 Beta
  • Simulator iPhone 6 iOS 8.2

When I try creating new watch app project and try the Lister demo app they work just fine. So I am suspecting there is something wrong with my existing project but not sure what since the error message is not really explanatory. I appreciate any leads or helps given, thank you for your time.

EDIT: After few investigation turns out extensions do not work as well.

解决方案

After 2 days of research I have found the answer which I believe is an xcode bug.

Basically this is caused by having different build name on your XCode build settings. Making them uniform should solve the problem. As shown here https://devforums.apple.com/message/1047770#1047770

I hope this helps anyone stumbled upon this question.

这篇关于安装失败:参数-iOS扩展名无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆