上传appstore时出现90087、90209、90125、90080错误解决办法

需要把自定义、第三方framework剔除掉x86_64, i386这两个架构的模拟设备缓存
在Build Phases 中点击+ 添加 New Run Script Phase 讲下面代码加入

APP_PATH="{WRAPPER_NAME}"

This script loops through the frameworks embedded in the application and

removes unused architectures.

find "(defaults read "FRAMEWORK/FRAMEWORK_EXECUTABLE_PATH"

EXTRACTED_ARCHS=()

for ARCH in ARCH from ARCH" "FRAMEWORK_EXECUTABLE_PATH-FRAMEWORK_EXECUTABLE_PATH-$ARCH")
done

echo "Merging extracted architectures: FRAMEWORK_EXECUTABLE_PATH-merged" -create "{EXTRACTED_ARCHS[@]}"

echo "Replacing original executable with thinned version"
rm "FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"

done

你可能感兴趣的:(上传appstore时出现90087、90209、90125、90080错误解决办法)