Search code examples
iosphonegap-buildapplication-loader

This binary does not seem to have been built with Apples Linker


I've built an app using phonegap build for ios and android. Both versions work great using their respective developer versions. The android app was sent off to google play smoothly and was quickly available on the android market. From there it is downloaded and installed without a hitch. The fate of the ios version is not so great. When I upload the ipa (mmm, beer) phonegap build gives me using Application Loader I get the following error,

ERROR ITMS-9000: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

I've reached out on phonegap build's community page but received no help. I've reached out to the apple developer page and they told me to learn how to write native code.

I've checked, double checked, and recreated certificates and provisioning files. I'm sure they're for production. I am at a loss as to how to proceed. It seems I'm the only person to ever get this error from a phonegap build.

I saw this on stack overflow, Application Loader error, binary is invalid, I did what it said but my results more or less matched what he said was the working one. You can seem my comment on the answer.


Solution

  • I'm on an old mac. I'd downloaded the latest application loader (2.9.1) to upload the build.phonegap ipa. While attempting to build the ipa myself i downloaded xcode 4.6.3 and it included application loader 2.8. Since it was different I thought I'd give it a shot using the exact ipa that had failed me so many times before. And it went through... I don't know what it was that made apple finally like my app but they do now and I'm not going to complain.