Error Itms-90125,error itms-90087,error ITMS-90209 errors when uploading the app

Source: Internet
Author: User
Tags unsupported

ERROR ITMS-90087: "Unsupported architectures. The executable for Yht.temp_caseinsensitive_rename.app/frameworks/videocore.framework contains unsupported Architectures ' [x86_64, i386] '.

ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at ' Yht.temp_caseinsensitive_rename.app/frameworks/videocore.framework/videocore ' does does have proper Segment alignment. Try rebuilding the app with the latest Xcode version. "

ERROR ITMS-90125: "The binary is invalid. The encryption info in the Lc_encryption_info load command was either missing or invalid, or the binary is already encrypte D. This binary does not seem to the been built with Apple's linker.

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. "

Workaround: Targets->build phases-> Click the plus sign to select New Run Script phase-> and then copy and paste the following code to fix the shelves

 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 frameworkdoframework_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 $ARCHSdoecho "extracting $ARCH from $FRAMEWORK _executable_name" lipo-extract "$ARCH" "$ Framework_executable_path "-o" $FRAMEWORK _executable_path-$ARCH "extracted_archs+= (" $FRAMEWORK _executable_path-$ ARCH ") Doneecho" 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 




Reference

http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/

Error Itms-90125,error itms-90087,error ITMS-90209 errors when uploading the app

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.