My ios project contains the dynamic framework written by swift,but i upload the ipa into apple store with xcode or applocation loader,the error message is always just "ERROR ITMS-90680:"The binary you uploaded was invalid",i have no idea,i upload the ipa many times.Can someone help me?
ERROR ITMS-90680:"The binary you uploaded was invalid"
Hi. I have exactly the same issue. Do you could solve?? What version of Xcode are you using??
I have searched the answer for a long time,but nothing found.If you find the answer,please tell me.Thank you
Anybody solve this problem? Yet, I'm tearing my hair out 😟
Select the target you want to build, go to "Build Phases" and then after the "Embedded Frameworks" action, place this script:
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" doneIt's likely the framework contains a build for an invalid architecture. The above script will strip all the irrelevant ones out.
Not my work btw, source: http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
Did you happen to solve this? I'm getting the same error.