... | ... | @@ -6,6 +6,7 @@ |
|
|
新版本中,对于原旧版本加密服务DWDrmServer的调用封装到了SDK内部,用户无需再对DWDrmServer服务进行操作,SDK会自动识别加密音视频进行播放。
|
|
|
|
|
|
## 3.对于通过#import "DWSDK.h"无法引入路径下的文件的问题
|
|
|
|
|
|
找到TARGETS -> Build Setting -> Search Paths。添加`Header Search Path`,路径到SDK的文件夹下。若还无法找到,继续添加`User Header Search Path`即可。
|
|
|
|
|
|
## 4.关于控制台频繁出现"[] nw_connection_copy_connected_path"日志的问题
|
... | ... | @@ -39,4 +40,51 @@ clane: error: linker command failed with exit code 1 (use -v to see invocation) |
|
|
|
|
|
2.其他SDK文件报错,由于SDK库类型的变化,引入方式修改为#import <CCVodSDK/DWxxx.h>;或删除全部引入异常的头文件,在项目pch文件中,引入#import <CCVodSDK/CCVodSDK.h>即可。
|
|
|
|
|
|
更多信息请参考[ “CC视频帮助中心”](https://doc.bokecc.com),如果在使用SDK过程中遇到其他问题请联系CC客服进行反馈。 |
|
|
\ No newline at end of file |
|
|
## 8.集成点播SDK打包上线报错的问题
|
|
|
关于打包上线过程中,不支持 x86_64 和 i386 等情况。错误描述如下:
|
|
|
```
|
|
|
The following issues occurred while distributing your application.
|
|
|
|
|
|
App Store Connect Operation Error
|
|
|
ERROR ITMS-90097:"Unsupported Architectures. The executable for xxx.framework contains unsupported architectures '[x86_64]."
|
|
|
|
|
|
...
|
|
|
|
|
|
App Store Connect Operation Error
|
|
|
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 内添加以下脚本方法,重新编译打包即可。
|
|
|
```
|
|
|
# This script loops through the frameworks embedded in the application and
|
|
|
# removes unused architectures.
|
|
|
APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
|
|
|
|
|
|
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"
|
|
|
|
|
|
done
|
|
|
|
|
|
```
|
|
|
|
|
|
更多信息请参考[ “获得场景视频帮助中心”](https://doc.bokecc.com),如果在使用SDK过程中遇到其他问题请联系获得场景视频客服进行反馈。 |
|
|
\ No newline at end of file |