tencent cloud

文档反馈

最后更新时间:2024-05-17 11:48:33

    Xcode 15 编译报错?

    1. 出现 Sandbox: rsync,编译报错截图:
    
    
    
    可以在 Build Settings 中把 User Script Sandboxing 设置为 NO
    
    
    
    2. 如果出现 SDK does not contain,编译报错截图:
    
    
    
    请在 Podfile 添加如下代码:
    post_install do |installer|
    installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
    end
    end
    3. 如果在 M 系列电脑上运行模拟器,可能会出现 Linker command failed with exit code 1 (use -v to see invocation),编译报错截图:
    
    
    
    需要修改 xcode 配置。xcode 打开项目 > Product > Destination > Destination Architectures 可以选择用哪种模式的模拟器打开,需要选择 (Rosetta)结尾的模拟器。
    
    
    

    TUILiveKit 和自己集成的音视频库冲突了?

    腾讯云的 音视频库 不能同时集成,可能存在符号冲突,可以按照下面的场景处理。
    1. 如果您使用了 TXLiteAVSDK_TRTC 库,不会发生符号冲突。可直接在 Podfile 文件中添加依赖,
    pod 'TUILiveKit'
    2. 如果您使用了 TXLiteAVSDK_Professional 库,会产生符号冲突。您可在 Podfile 文件中添加依赖,
    pod 'TUILiveKit/Professional'
    3. 如果您使用了 TXLiteAVSDK_Enterprise 库,会产生符号冲突。建议升级到 TXLiteAVSDK_Professional 后使用 TUILiveKit/Professional

    如何查看 TRTC 日志?

    TRTC 的日志默认压缩加密,后缀为 .xlog。日志是否加密是可以通过 setLogCompressEnabled 来控制,生成的文件名里面含 C(compressed) 的就是加密压缩的,含 R(raw) 的就是明文的。
    iOS:sandbox的Documents/log
    说明:
    查看 .xlog 文件需要下载 解密工具,在 Python 2.7环境中放到 xlog 文件同目录下直接使用 python decode_mars_log_file.py 运行即可。
    查看 .clog 文件(9.6 版本以后新的日志格式)需要下载 解密工具,在 Python 2.7 环境中放到 clog 文件同目录下直接使用 python decompress_clog.py 运行即可。
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持