Flash3001 / iOSCharts.Xamarin

A Xamarin port by Lucas Teixeira for Charts (ios-charts) by Daniel Cohen Gindi, inspired by Philipp Jahoda
Other
68 stars 20 forks source link

No suitable application records found #32

Closed brbowden closed 6 years ago

brbowden commented 7 years ago

About a month ago, I did a build and upload using the Application Loader with version 3.0.2 of the library (and Xcode 8.3.1 and Visual Studio 7.1.x, I think) and everything went fine.

Since then I’ve updated to Visual Studio for Mac 7.2 (636) and Xcode 9.0.1. I updated to the 3.0.4 version of the library, and swapped over to the https://github.com/bq/ipa-packager script to correct the SwiftSupport folder issue. Now when I try to upload with Application Loader I get the following error:

No suitable application records were found. Verify your bundle identifier 'com.dcg.Charts' is correct.

I also updated to Visual Studio 7.2.2 (build 7) and Xcode 9.1 and get the same error.

I’m going to play with downgrading back to Xcode 8.x and the 3.0.2 version of the library, but it’d be nice to stick with the upgraded version and toolset if possible.

Thanks in advance for any help you can offer!

brbowden commented 7 years ago

So after a lot more investigation, I've figure out I was facing two separate problems:

First, the script to repackage the app was dumping the contents of the app folder into the Payload directory instead of into an app folder in the Payload directory. Also, it would appear that ideally the Swift libraries should be placed in SwiftSupport/iphoneos instead of SwiftSupport. I believe the application records error I was getting were caused by the first issue, but I corrected both of them at the same time.

Secondly, it appears the Swift libraries I have installed with Xcode differ somehow to the ones used to build this project. I rebuilt the native Charts library, this binding project, and the Swift support projects, pulled the new packages in, and combined with the script changes mentioned above, the App Store appears to be happy with the IPA now.