Running App on iPhone4 from Xcode fails

前端 未结 2 826
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 01:24

I have a problem when running my App on my iPhone from Xcode. The App runs (seemingly) fine in the simulators (iPhone, iPad, etc). It also runs fine when loaded on the iPh

相关标签:
2条回答
  • 2020-12-04 02:16

    i suspected it was a code signing thing too from making a distribution build. it also came with an xcode error "no provisioning profiles available" so i switched my build scheme back to "debug" and that seemed to fixed it.

    steps:

    1. in the top left of xcode, click on "YOUR APP NAME | YOUR IPAD"
    2. click "edit scheme"
    3. select "Run YOURAPP.app" from the left column and get to the "info" tab
    4. set the "build configuration" back to "debug"

    hope that's all there is to it. i also don't really understand the code signing.

    0 讨论(0)
  • 2020-12-04 02:19

    It turns out it was a code signing issue. A while back I was having problems adding an iPad 3 to my test devices for Adhoc distribution, and I changed the code signing in trying to make that work. That was an iOS distribution certificate and I had to now change that back to a developer certificate to run the iPhone from Xcode. What is clear from this is that I really don't fully understand the whole code signing and distribution process.

    But it works again, so great.

    0 讨论(0)
提交回复
热议问题