TestFlight rejecting build “get-task-allow” error

前端 未结 11 1501
梦谈多话
梦谈多话 2020-12-15 02:55

So I\'m using testflightapp to distribute an ad-hoc build.

But I keep getting this message: \'Invalid Profile: distribution build entitlements must have get-task-all

相关标签:
11条回答
  • 2020-12-15 03:22

    I have the same problem.

    If you follow the TestFlight instructions the Entitlement configuration in the Target --> Summary should be disabled.

    "Scroll down and expand the Entitlements section in the Summary tab. In previous versions of Xcode, you were required to create an Entitlements file and create a get-task-allow key. This is no longer necessary. Unless your application requires special permissions surrounding iCloud or Keychain Access, you are not required to create this file. Leave the Enable Entitlements checkbox unchecked."

    But doesn't works for me, hopefully works for you.

    0 讨论(0)
  • 2020-12-15 03:25

    Turns out the Code-Signing Identity in my build configuration didn't match the one I selected when I saved the archive for Ad-Hoc distribution.

    0 讨论(0)
  • 2020-12-15 03:26

    Heh, i suddenly found that Code Signing Identity for Release build was changed to iOS Developer. You should change it to iOS Distribution. If it doesn't fix your problem, set Provisioning profile for Release build.

    Steps to fix it

    It works for me. Happy coding!

    Update: Sometimes XCode doesn't apply this changes and restarting of XCode could help. Anyway before uploading to Testflight I strongly recommend you to check build logs. You should find this line "Using code signing identity" and see if XCode use the right Code Identity (distribution) to sign. It could save you a lot of time.

    0 讨论(0)
  • 2020-12-15 03:33

    Most often you are signing your application with a Development Provisioning Profile.

    You MUST ensure that your are signing your application with an Ad Hoc Provisioning Profile.

    From Testflight web site

    0 讨论(0)
  • 2020-12-15 03:38

    Another thing that might work, if you don't have anything of importance in your Entitlements.plist file, is to just delete the file. Weirdly enough, this worked for me.

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