14

In Xcode 6 Beta 5, when I attempt to run my app after building, I receive an error dialog that says:

App installation failed

Could not inspect the application package.

This happens on iOS 8 Beta 5, but not on iOS 7.1.1! I have not tested anything else.

Any ideas for how I can fix this?

aleclarson
  • 18,087
  • 14
  • 64
  • 91

9 Answers9

12

I had this problem. Solution is to uninstall the app. Then clean project and then install app.

Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
7

I solved it by uninstalling(removing) the application from device manually and Run xcode application again. It will work.

Subhash
  • 545
  • 7
  • 11
7

Try editing the scheme of app. Set Run and Archive to debug not release. I was able to solve by this process.

Yuvraj Bashyal
  • 101
  • 2
  • 4
3

I have had this happen to me about 3 times since moving to Beta 5 and Xcode beta 5. I usually navigate to my Organizer and select Projects. Find your project on the left and delete it. Next I close Xcode and restart both my Mac and my Testing Device! Has helped every time!

Nicholas
  • 149
  • 1
  • 13
3

Deleting the derived data folder worked for me.

Tylerc230
  • 2,883
  • 1
  • 27
  • 31
0

My solution which worked for me was to remove a symbolic link file referenced from a an directory entry an in my Build Phases->Copy Bundle Resources section. I had inadvertently placed the symbolic link there.

art
  • 1
0

I got this error when using Xcode 9 beta, the problem was that I was trying to run an app on an iPhone 7 targeting armv7 instead of arm64.

This issue was not easy to track because I was building the app from Unity, so check the architecture configuration whenever you get this message.

ObjSal
  • 1,494
  • 1
  • 14
  • 18
0

Problem: Few times, if you add app extension where you have file and info plist, extension's file and plist are assigned to target, is wrong causes issue rises. Solution: Extension's all file should be assigned in App Extensions target, and info plist should not be assigned to any target.

Ravi Kumar
  • 1,356
  • 14
  • 22
0

Restarted my iphone it worked for me.

Arshad Shaik
  • 1,095
  • 12
  • 18