iTunes Connect Errors occurred in the app thinning process, and your app couldn’t be thinned?

天涯浪子 提交于 2019-11-30 05:04:40

I met with this issue today, I used google-api-objectivec-client-for-rest (as framework). I tried all the solutions above, but failed.

Now I fixed it by copying all the source of google-api-objectivec-client-for-rest to my own project. Hope it helpful to you.

MY SOLUTION THAT DID NOT WORKED BUT MAYBE CAN GIVE U A WAY OUT

In My own case, i developed my IOS APP with PhoneGap

After so much research, was told to disable bitcode from my ItuneConenct App Account https://developer.apple.com/library/mac/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ChangingAppStatus.html

And was introduced to a new phonegap plugin to disable bitcode in my IOS APP https://www.npmjs.com/package/cordova-plugin-cs-disable-bitcode

which i added to my Phonegap app config.xml file

Yet after rebuilding my phonegap IOS app and uploading to ItunesConenct using Application Builder (Got a successful message from the upload). Few mins' after the upload, I got same message from Apple with the same error.

This can give you a hint

Finally got it to work. In our case, the error was in one of the embedded frameworks. Generating a Production Ad-hoc build and then trying to export it generated an error message that pointed us to an error in a setting within one of the framework files. The framework has been there for a while and we never had any issues with it until this release.

I had the same problem and I found the solution. In my app, I had the Google Plus framework: GoogleOpenSource.framework. This framework was the problem. I searched about the latest update in Google Plus: https://developers.google.com/+/mobile/ios/upgrading-sdk.

The latest version was 1.7.1. This version has the same problem. In my app, I removed the login with Google Plus (deprecated https://gyazo.com/685a58f98ee0b0fca16a6bd83636aad8) and I added Google: https://developers.google.com/identity/sign-in/ios/sdk/

This works for me.

A greeting.

Hey guyz My App has been approved by Apple Store. The trick i used was this

Deleted the plugin folder on my App root directory before building

Because most plugins were not compatible with Apple has to use just few of them on my manifest file

<plugin name="org.apache.cordova.inappbrowser" /> 
<plugin name="org.apache.cordova.network-information" />
<plugin name="org.apache.cordova.splashscreen" /> 
<plugin name="cordova-plugin-whitelist" /> 

i was surprised when Apple sent me a message that my App has been Approved just now.

I Home this trick work for someone

If you are having this problem recently, i.e. since September 2016, it may be due to having a 'special character' in the title of your app.

I had several targets for the same code, some of which would process OK and some of which would fail. The ones that were failing all had Apple symbols in the title, for example one app was called '🇨🇲 Flags'.

Credit to Krati Rastogi: https://forums.adobe.com/thread/2205923

I've experienced the same symptoms and have found a solution.

The root cause of the issue is invalid/incorrect keys in a given bundle's embedded Info.plist.

This is typically the .bundle contained within a third party library e.g. GoogleMaps SDK.

The steps for remediation are:

  • For each .bundle containing only resources:
    • Remove the key/value CFBundleExecutable
    • Change the value for key CFBundleSupportedPlatforms to iPhoneOS (Item 0, first element in the array. The previous value was iPhoneSimulator in my case)

The technical reason is that CFBundleExecutable should not be present in a bundle's plist if there is no executable. The value for CFBundleSupportedPlatforms is self explanatory, it should be iPhoneOS.

Tech Note 2432 mentions the above two keys but does not elaborate how to resolve the issue.

I hope this solution works for you.

As another user above stated... Remove the Plug In Directory and it solves the problem!

I just uploaded a fully functional version of my App with all of my Plug Ins. When I use build.phonegap.com to compile my IPA file, I have no Plugin folder in the ZIP file. The plugins are correctly referenced in my config.xml file.

It works!

I have no clue why this was ever an issue, but that is the ticket to move forward!

Finally, I made this work!!!

Just like @applejack42 said, you must remove CFBundleExecutable key of all 3rd party library info.plist file.

In my case, I just remove this key from JSONModel info.plist, and submit.

Success!

I really hope it works for you, because that issue make me crazy.

update xcode to 8.0 which published at 0914 from apple store , rebuild project and submit to iturns , the issue was not found , instead any detail info for anouther issue which use ios 10 sdk required . i have submited success, and waiting for approval .

Ive attempted various build and submitted to Itunes with Xcode 8 and 7, with no success.

Deleting my plugins folder was not the solution, neither was greping through all my .plist's to find the CFBundleExecutable. At this moment its just waiting on further discovery from the community and or returning to our 3rd party resources and asking them to update their libs which may not be as easy as apple is suggesting us to do.

To identify the affected libraries I built to an iPhone with Bitcode enabled and in my case their are three libs that need updating. This may not be the best solution but if you need an explanation for your superiors this may save you some time in identifying what needs updating.

I will update my thread as I continue along this road.

Apple recommends to test by archiving the app first and then exporting the app for ad hoc distribution. If there are errors, you can then see this in the logs, you can access them from the export dialog.

My favorite solution, if there is no error during export:

  1. update cocoapods
  2. run pod install
  3. clean the project and resubmit

It just worked for me, no clue why, but it might be worth a try instead of wasting hours on finding a solution for a non existant problem ;)

I had this happen a couple days ago and the temporary solution for me was to not include bitcode for iOS content, which is an uploading option (see image). Apple suggests to do an ad hoc export with an ad hoc provisioning profile to receive the errors and logs of the failure, but I'm unable to reproduce the error(s) and the ad hoc export is successful each time. Will update this post when I find out how to re-enable bitcode, but for now this seems like a good temporary fix.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!