Xcode 6.3.2 The application does not have a valid signature

霸气de小男生 提交于 2019-12-19 04:05:42

问题


I have tried every related thread and did all the suggested steps:

  1. Remove All provisioning profiles
  2. Create new app id

But I still get

App Installation Failed, The application does not have a valid signature

error when installing app on iPhone 6 iOS 8.3

This app was installing fine on this phone yesterday before I installed Parse & Facebook frameworks. Also other apps still install fine on this phone.


回答1:


Just for anyone else having this issue. I tried every possible solution and ended up creating a new blank project and copy pasted my assets to make it work.

I removed Embedded Binaries. And #import <ParseFacebookUtilsV4/PFFacebookUtils.h> is now only in bridging header and not imported in any swift files.

While FBSDKCoreKit in not imported in bridging header but instead imported in every swift file it is needed.

Hope this helps someone!!




回答2:


On xcode 8, I've fixed it by editing a line in the code (adding and then deleting a character anywhere in the code). Seems to be a Xcode 8 bug...




回答3:


I was with the same problem.

I installed the last update of OS X and my problem was fixed!

I hope that it can help you or someone!

My Xcode version: 7.3, using Swift and Facebook SDK.




回答4:


In my case using Xcode 8.1, I was able to fix this by deleting the app from my device, unplugging it from Xcode, and plugging it back in.



来源:https://stackoverflow.com/questions/31059718/xcode-6-3-2-the-application-does-not-have-a-valid-signature

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