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