... | @@ -54,7 +54,7 @@ App Store Connect Operation Error |
... | @@ -54,7 +54,7 @@ App Store Connect Operation Error |
|
ERROR ITMS-90097:"Unsupported Architectures. The executable for xxx.framework contains unsupported architectures '[x86_64,i386]."
|
|
ERROR ITMS-90097:"Unsupported Architectures. The executable for xxx.framework contains unsupported architectures '[x86_64,i386]."
|
|
```
|
|
```
|
|
|
|
|
|
解决方案:Target --> Build Phases --> 点击"+"按钮,选择"New Run Script Phase",在 Run Script 内添加以下脚本方法,重新编译打包即可。
|
|
第一种解决方案:Target --> Build Phases --> 点击"+"按钮,选择"New Run Script Phase",在 Run Script 内添加以下脚本方法,重新编译打包即可。
|
|
```
|
|
```
|
|
# This script loops through the frameworks embedded in the application and
|
|
# This script loops through the frameworks embedded in the application and
|
|
# removes unused architectures.
|
|
# removes unused architectures.
|
... | @@ -85,9 +85,12 @@ mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH" |
... | @@ -85,9 +85,12 @@ mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH" |
|
|
|
|
|
done
|
|
done
|
|
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
第二种解决方案,点播SDK4.14.2以以上版本试用:
|
|
|
|
1.对于手动集成用户,将项目中使用的点播SDK替换为include_Release中的,重新编译打包。
|
|
|
|
2.对于cocoapods集成的用户,将Podfile中pod 'CCVodSDK'替换为pod 'CCVodSDK_Release',重新执行pod install,编译打包即可。
|
|
|
|
|
|
## 9.关于使用Cocoapods更新4.9.0及以上SDK编译报错的问题
|
|
## 9.关于使用Cocoapods更新4.9.0及以上SDK编译报错的问题
|
|
由于Xcode12的兼容性问题,在使用Cocoapods集成4.9.0及以上版本的SDK时,会导致如下编译错误
|
|
由于Xcode12的兼容性问题,在使用Cocoapods集成4.9.0及以上版本的SDK时,会导致如下编译错误
|
|
```
|
|
```
|
... | | ... | |