Invalid iPhone Application Binary

后端 未结 30 1747
天命终不由人
天命终不由人 2020-11-29 18:25

I\'m trying to upload an application to the iPhone App Store, but I get this error message from iTunes Connect:

The binary you uploaded was invalid. T

30条回答
  •  感动是毒
    2020-11-29 18:52

    Another data point: for a while, my app went through. Now I've added support for in-app purchases, and suddenly it fails with an "Invalid binary/invalid signature" problem. Upon careful looking, I found out that the value of application-identifier in the entitlements plist file was off.

    This, most likely, had to do with the fact that I've replaced the provisioning profile from a wildcarded one to a app-specific one (required for in-app purchases). The wrong app ID qualified under the old profile. It did not match the app ID in the info.plist, but apparently iTunes forgave that.

    So, to recap:

    info.plist: com.mydomain.foo
    dist.plist: com.mydomain.bar
    Profile: com.mydomain.*
    

    is OK, while

    info.plist: com.mydomain.foo
    dist.plist: com.mydomain.bar
    Profile: com.mydomain.foo
    

    causes "Invalid binary".

提交回复
热议问题