Hi guys. So i followed the guide about developing for ios and got my provision profile and free dev account. I successfully run test application from Xcode and granted permission in general settings in my phone. After that i build a simple mobile game (default project) in Defold and tried to send it to my iphone via Xcode/Devices and got an error “Unable to install”.
I also tried via command line (ios-deploy) and got this error “error 0xe8008001: An unknown error has occurred. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)”.
Am i missing something? Do i need to have app name same in test app in Xcode and in Defold? Provision profile was created yesterday, so it should be valid.
I got the same problem and this topic helps me a lot ! Perhaps, the documentation located here Defold development for the iOS platform needs to be completed about the constraint of the identical bundle ids…
Wow, I honestly don’t know where to start. I ran into this problem and spent more than 10 hours trying to figure out how to fix it. There are so many different things that can cause an error like this.
I was actually going to create a new topic specifically about this issue, but then I saw britzl comment… That made me realize that my problem was related to the same issue.
Defold[49460:56070328] [ !! ] Error 0xe8008015: A valid provisioning profile for this executable was not found. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Failed to install the app.
So, what can you do if you get this error? Based on my experience, I would suggest deleting any duplicate certificates you may have. Also, every time you run the empty app from Xcode, delete it from your iPhone before running it again.
You can also try changing the Bundle Identifier in both Xcode and Defold. Just make sure the Bundle Identifier is exactly the same in both.
I’m exhausted after spending more than 10 hours trying to solve this, but I’m really happy that I can finally see my little game running on my iPhone!
Remember that the “Signing Certificate” in Xcode also needs to match the “Code Signing Identity” in Defold.
I’ve only been using Defold for three days, and I already love that it targets both mobile and web platforms. My main interest is mobile development, and I’m really looking forward to seeing what I can create with this engine.
I hope this brief information can help someone who is experiencing the same problem, or at least give them a better idea of what to look into when trying to solve it.