“Failed to upload *.app on Device ” Error in iPhone

前端 未结 5 1512
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 05:25

I am getting an error while uploading my app on device. It does installs it but not able to upload it.

Also I want to run the instrument tool on device but when I run it

相关标签:
5条回答
  • 2021-01-30 05:44

    I also confirm, that I had that issue on Xcode 3.2.5 and iOS 4.2 GM Seed and after adding new provisioning profile.

    You do not have to use terminal, you can select *.app from Products Group in 'Groups & Files' pane in Xcode. Then right-click on it, and select 'Reveal in finder'. Then manually delete the build catalogue. And restart Xcode.

    Worked for me.

    0 讨论(0)
  • 2021-01-30 05:49

    I had this problem after changing around provisioning profiles and app ID's.

    What fixed it for me:

    1. Quit XCode
    2. In Terminal.app, navigate to your project directory and execute rm -rf build/
    3. Restart XCode
    0 讨论(0)
  • 2021-01-30 05:51

    Sometimes manual delete of Build folder of your application fails to solve the problem "Failed to upload the .app on device"

    Try WIndows->organizer->Provisioning profile(in left pane)->refresh it once....

    This has solved my problem!

    0 讨论(0)
  • 2021-01-30 05:55

    I was getting this issue on an iPhone running 3.0 software, but it was working fine on phones running 3.1. The app used to work on the 3.0 software until we added users to the provisioning for the app - this is the only thing I can think of that might have caused it.

    If you're running 3.0 still, try upgrading to 3.1 and see if that fixes it.

    0 讨论(0)
  • 2021-01-30 06:00

    I had the same error message in iOS 4.1 but from a different cause: when trying to link to a universal (ARM & X86) static library that was over 10MB. If I link directly to the ARM version of the static library (for iPhones), then it works fine.

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