问题:
解决:
WeChat6cf3d571e62c5b5dec548d40213265c7.png
搜索
“ isa = PBXShellScriptBuildPhase;”
找到下面删除即可。
DA904C11A1DF218654AAC43A /* Build Assets Catalog */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Build Assets Catalog";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# This output is used by Xcode outputs to avoid re-running this script phase.
\"${PROJECT_FILE_PATH}/xcuserdata/.xcassets/build.file\" false";
};
或者
还有一种方法是直接改掉下面代码块中不一样的部分(很可能会报错、还是使用上面的吧)
/* Begin PBXShellScriptBuildPhase section */
旧版本中是'inputPaths'和'outputPaths',新版本中是'inputFileListPaths'和'outputFileListPaths'
...
68D93F7DFC5BB30AE854B123 /* [CP] Embed Pods Frameworks */ = {
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
);
改成:
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
###########
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
);
改成:
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
###########
BB6743AB3ED67934A8FB0BC6 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-resources.sh",
"${PODS_ROOT}/AlipaySDK-iOS/AlipaySDK.bundle",
"${PODS_ROOT}/SuperPlayer/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/Resource/SuperPlayer.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AlipaySDK.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SuperPlayer.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-resources.sh\"\n";
showEnvVarsInLog = 0;
};
改成:
BB6743AB3ED67934A8FB0BC6 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-resources-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/AlipaySDK-iOS/AlipaySDK.bundle",
"${PODS_ROOT}/SuperPlayer/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/Resource/SuperPlayer.bundle",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-resources-${CONFIGURATION}-output-files.xcfilelist",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AlipaySDK.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SuperPlayer.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DaNeng/Pods-DaNeng-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
D51FB5EBD6194123894CDEBA /* [CP] Check Pods Manifest.lock */ = { 这部分不变
网友评论