Could not change executable permissions on the app

2019-01-16 03:19发布

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?

"Could not change executable permissions on the application"

15条回答
放荡不羁爱自由
2楼-- · 2019-01-16 03:58

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!!

查看更多
闹够了就滚
3楼-- · 2019-01-16 03:58

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.

查看更多
啃猪蹄的小仙女
4楼-- · 2019-01-16 04:02

You need to make sure that your device is not set to two applications with the same Bundle ID.

查看更多
虎瘦雄心在
5楼-- · 2019-01-16 04:06

Could not change executable permissions on the application

Cause: I had icons in the files system named 29x29.png, 58x58.png, 72x72.png, etc. I had soft links (ln -s) with the required names per App Icons on iPad and iPhone. For example, Icon-Small.png was a link to the real file 29x29.png.

I did this because my program runs on different platforms, from mobile phones to desktops. Android, Apple and Microsoft all have similar requirements. So "one set of icons" and "different links for different OS" made the most sense to me.

Fix: Don't use links. Apple does not tell you that. And their error message of "Could not change executable permissions on the application" is useless.


Looking at all the different answers (and causes), it looks like lots fo things can cause it.

查看更多
叼着烟拽天下
6楼-- · 2019-01-16 04:07

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!

查看更多
兄弟一词,经得起流年.
7楼-- · 2019-01-16 04:08

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.

查看更多
登录 后发表回答