App Listing error Analysis ITMS-90087

Source: Internet
Author: User
Tags unsupported

Question 1

  1. ERROR itms-90087: "unsupported architectures. The executable for Yht.temp_caseinsensitive_rename.app/frameworks/videocore.framework contains unsupported Architectures ' [x86_64, i386] '.
  2.  error itms-90 209:  " invalid segment alignment. the app binary at  ' Yht.temp_caseinsensitive_ Rename.app/frameworks/videocore.framework/videocore '  does not have proper segment  alignment. Try rebuilding the app with the latest Xcode  Version. "   
  3. error itms-90 125:  " 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. "     
  4. WARNING itms-90080: "the executable ' payload/yht.temp_caseinsensitive_rename.app/ Frameworks/videocore.framework ' is not a Position independent executable. Ensure that your build settings is configured to create PIE executables. For more information refer to Technical q&a qa1788-building A Position Independent executable in the IOS Developer L Ibrary. "

The above is an error

Then the self-built SDK contains x86_64, i386 architecture, of course, this appstore is not allowed, all will be uploaded when the error, the solution is to this SDK to eliminate x86_64, i386 these two architectures

Solutions

Xcode-targets->build phases-> Click the plus sign to select New Run Script phase-> and then copy and paste the code below

App_path= "${target_build_dir}/${wrapper_name}"

# This script loops through the frameworks embedded in the application and

# removes unused architectures.

Find "$APP _path"-name ' *.framework '-type D | While Read-r FRAMEWORK

Do

framework_executable_name=$ (Defaults read "$FRAMEWORK/info.plist" cfbundleexecutable)

Framework_executable_path= "$FRAMEWORK/$FRAMEWORK _executable_name"

echo "Executable is $FRAMEWORK _executable_path"

Extracted_archs= ()

For ARCH in $ARCHS

Do

echo "Extracting $ARCH from $FRAMEWORK _executable_name"

Lipo-extract "$ARCH" "$FRAMEWORK _executable_path"-o "$FRAMEWORK _executable_path-$ARCH"

extracted_archs+= ("$FRAMEWORK _executable_path-$ARCH")

Done

echo "Merging extracted architectures: ${archs}"

Lipo-o "$FRAMEWORK _executable_path-merged"-create "${extracted_archs[@]}"

RM "${extracted_archs[@]}"

echo "Replacing original executable with thinned version"

RM "$FRAMEWORK _executable_path"

MV "$FRAMEWORK _executable_path-merged" "$FRAMEWORK _executable_path"

Done

Question 2

Error itms-90171: ' Invalid bundle structure-the binary file ' MEILV.APP/MLCIRLETABLEVIEWCELL.O is not permitted

View Xcode-targets->build Phases->copy Bundle Resource There's no this Mlcirletableviewcell

App Listing error Analysis ITMS-90087

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.