xcode 无法更改应用程序的可执行权限

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12547706/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 04:34:20  来源:igfitidea点击:

Could not change executable permissions on the application

xcodeios6xcode4.5

提问by Alex McPherson

Just updated to iOS 6 sdk and latest Xcode and get this when trying to build to my 3gs. I 've added armv6 under valid architectures?

刚刚更新到 iOS 6 sdk 和最新的 Xcode,并在尝试构建到我的 3gs 时得到这个。我在有效架构下添加了 armv6 吗?

"Could not change executable permissions on the application"

“无法更改应用程序的可执行权限”

回答by Ignacio Oroná

I could solve it erasing an application that I had previously uploaded using the same Bundle Identifier (xcode get's confused doing the chmod). Try checking the log from xCode Organizer (Your device's Name -> Console) you should get information from that log. Good luck!

我可以解决它擦除我以前使用相同的捆绑标识符上传的应用程序(xcode 弄糊涂了 chmod)。尝试从 xCode Organizer(您的设备名称 -> 控制台)检查日志,您应该从该日志中获取信息。祝你好运!

回答by TK-Li

folks, i get this resolved - because i already have the same app using the same bundle identifier installed on the phone. - what you need to do is to delete all those apps on your iphone which is using the same bundle identifier name. - you'll make it!!

伙计们,我解决了这个问题 - 因为我已经在手机上安装了使用相同捆绑标识符的相同应用程序。- 您需要做的是删除 iphone 上使用相同捆绑标识符名称的所有应用程序。- 你可以的!!

回答by gabriel_rinaldi

You probably have a different target name. You can start the app from scratch, but you'll need the same target name and the same bundle identifier.

您可能有不同的目标名称。您可以从头开始启动应用程序,但您需要相同的目标名称和相同的包标识符。

回答by Abhilash Reddy kallepu

Delete the apps that were already installed on iphone/ipad with the same Bundle identifier.iphone/ipad gets confused with the apps with same bundle identifier. so change change the Bundle identifier of the current app or delete the app that was already installed.

删除已安装在 iphone/ipad 上且具有相同捆绑标识符的应用程序。iphone/ipad 会与具有相同捆绑标识符的应用程序混淆。因此更改更改当前应用程序的捆绑标识符或删除已安装的应用程序。

回答by Marco Tansini

It can happen when you launch the app from Xcode and you have the appstore version installed in the phone with the same bundle-id but a different name. In my case I'm using App_Beta when in the appstore is App. If the two versions does not have the same product name you wont be able to test the upgrade from the old to the new version. To solve make the names match.

当您从 Xcode 启动应用程序并且您在手机中安装了具有相同 bundle-id 但名称不同的 appstore 版本时,可能会发生这种情况。在我的情况下,我在 appstore 中使用 App_Beta 时是 App。如果两个版本的产品名称不同,您将无法测试从旧版本到新版本的升级。解决使名称匹配。

回答by Mike Madole

I went into the Organizer and selected the Applications underneath my test device. Even though I had deleted the application on my device itself, it still showed up in my list of applications. I deleted it there, and this took care of the issue for me.

我进入了管理器并选择了我的测试设备下的应用程序。即使我已经删除了我设备上的应用程序,它仍然出现在我的应用程序列表中。我在那里删除了它,这为我解决了这个问题。

回答by user2380132

You just delete the apps that were already installed on your device with the same identifier.

您只需删除设备上已安装的具有相同标识符的应用程序。

回答by LuisEspinoza

I ran into the same problem, but I needed to keep the current installed App in the device for debug purposes. My solution was to use the same:

我遇到了同样的问题,但我需要将当前安装的应用程序保留在设备中以进行调试。我的解决方案是使用相同的:

  1. Target Name
  2. Bundle identifier
  3. Product Name
  1. 目标名称
  2. 捆绑标识符
  3. 产品名称

回答by MaheshShanbhag

You need to delete all the app's using the same bundle identifier. I did the same, but still the same error persisted on my iPod, i cleaned the (cmd+ shift+ k) the build and restarted the iPod and i was able to run the app on the iPod.

您需要使用相同的捆绑标识符删除所有应用程序。我也一样,但我的iPod依然坚持同样的错误,我打扫(cmd+ shift+ k)构建并重新启动iPod和我是能够运行在iPod上的应用程序。

回答by Mark

I had this error, and what fixed it for me was Product Name under Build Settings. I had changed it to something else, and started getting this error. I changed it back and it fixed it.

我遇到了这个错误,为我修复的是构建设置下的产品名称。我已将其更改为其他内容,并开始出现此错误。我把它改回来并修复了它。