@tencentcloud/sdk-mcp 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
- package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
- package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +78 -311
- package/resource/doc/callkit/preset/android/api.md +330 -0
- package/resource/doc/callkit/preset/android/integration.md +530 -0
- package/resource/doc/callkit/preset/flutter/api.md +401 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
- package/resource/doc/callkit/preset/ios/api.md +282 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
- package/resource/doc/callkit/preset/react/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
- package/resource/doc/callkit/preset/vue/api.md +600 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/chatkit/android/integration.md +498 -0
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
- package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
- package/resource/doc/chatkit/react/components/search.md +282 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
- package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
- package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
- package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
- package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/core-sdk/live/flutter/live-integration.md +687 -0
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
- package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
- package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +264 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +226 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +456 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +539 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +453 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +509 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +365 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-audience-list.md +259 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-audio-effect.md +596 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-barrage.md +494 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-gift.md +418 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +563 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-room-list.md +709 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +262 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +211 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +414 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +492 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +405 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +611 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +336 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audience-list.md +234 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audio-effect.md +218 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-barrage.md +376 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-co-guest-interaction.md +648 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-gift.md +362 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
- package/resource/doc/livekit/core-sdk/voice/uni-app/voice-room-list.md +470 -0
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
- package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
- package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
- package/resource/doc/roomkit/android/features/room-state.md +358 -0
- package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
- package/resource/doc/roomkit/android/integration.md +433 -0
- package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
- package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
- package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
- package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
- package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
- package/resource/doc/roomkit/flutter/integration.md +405 -0
- package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
- package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
- package/resource/doc/roomkit/ios/features/room-state.md +320 -0
- package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
- package/resource/doc/roomkit/ios/integration.md +384 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -36
- package/resource/doc/roomkit/vue/features/room-view.md +30 -127
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
- package/resource/doc/roomkit/vue/integration.md +118 -282
- package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
- package/resource/doc/rtcengine/faq/web/web.md +15 -22
- package/resource/doc/rtcengine/web/api.md +17 -21
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
- package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
- package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
- package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
- package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
- package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
- package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
- package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
- package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
- package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +28 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +18 -19
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -24
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +27 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +13 -30
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +23 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -59
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_features.js +65 -0
- package/tools/live/get_native_livekit_core_features.js.map +1 -0
- package/tools/live/get_native_livekit_core_integration.js +59 -0
- package/tools/live/get_native_livekit_core_integration.js.map +1 -0
- package/tools/live/get_web_live_uikit_integration.js +48 -0
- package/tools/live/get_web_live_uikit_integration.js.map +1 -0
- package/tools/live/get_web_livekit_api.js +32 -0
- package/tools/live/get_web_livekit_api.js.map +1 -0
- package/tools/live/get_web_livekit_component_detail.js +34 -0
- package/tools/live/get_web_livekit_component_detail.js.map +1 -0
- package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
- package/tools/room/get_web_room_uikit_integration.js.map +1 -0
- package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
- package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
- package/utils/generate-structured-result.js +61 -17
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/report-cls-client.js +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/doc/chatuikit/android/integration.md +0 -612
- package/resource/doc/chatuikit/android/workflow.md +0 -0
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/flutter/workflow.md +0 -816
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
- package/resource/doc/chatuikit/react/components/search.md +0 -885
- package/resource/doc/chatuikit/react/create-group.md +0 -22
- package/resource/doc/chatuikit/react/init.md +0 -25
- package/resource/doc/chatuikit/react/workflow.md +0 -254
- package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
- package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
- package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
- package/resource/doc/chatuikit/vue/create-group.md +0 -26
- package/resource/doc/chatuikit/vue/init.md +0 -35
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -322
- package/resource/doc/livekit/live/flutter/live-integration.md +0 -1029
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -352
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
- package/resource/doc/livekit/live/vue/workflow.md +0 -219
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -487
- package/resource/doc/tuicallkit/android/integration.md +0 -302
- package/resource/doc/tuicallkit/android/workflow.md +0 -0
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1512
- package/resource/doc/tuicallkit/vue/api.md +0 -1512
- package/resource/doc/tuicallkit/vue/faq.md +0 -986
- package/tools/call/get-native-call-integration.js +0 -43
- package/tools/call/get-native-call-integration.js.map +0 -1
- package/tools/call/get-web-call-api.js +0 -27
- package/tools/call/get-web-call-api.js.map +0 -1
- package/tools/call/get-web-call-integration.js.map +0 -1
- package/tools/chat/get-native-chat-feature-detail.js +0 -30
- package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
- package/tools/chat/get-native-chat-integration.js +0 -45
- package/tools/chat/get-native-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-component-detail.js +0 -31
- package/tools/chat/get-web-chat-component-detail.js.map +0 -1
- package/tools/chat/get-web-chat-integration.js +0 -45
- package/tools/chat/get-web-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-uikit-init.js +0 -28
- package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
- package/tools/chat/get-web-create-group-doc.js +0 -28
- package/tools/chat/get-web-create-group-doc.js.map +0 -1
- package/tools/common/get-faq.js +0 -91
- package/tools/common/get-faq.js.map +0 -1
- package/tools/common/get-usersig.js.map +0 -1
- package/tools/common/present-framework-choice.js +0 -16
- package/tools/common/present-framework-choice.js.map +0 -1
- package/tools/common/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -22
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -50
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -115
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -17
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -53
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -30
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -101
- package/tools/live/get-native-live-uikit-integration.js.map +0 -1
- package/tools/live/get-web-live-component-detail.js +0 -31
- package/tools/live/get-web-live-component-detail.js.map +0 -1
- package/tools/live/get-web-live-state-detail.js +0 -31
- package/tools/live/get-web-live-state-detail.js.map +0 -1
- package/tools/live/get-web-live-uikit-integration.js +0 -52
- package/tools/live/get-web-live-uikit-integration.js.map +0 -1
- package/tools/live/get_native_live_uikit_extra_features.js +0 -105
- package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
- package/tools/live/get_native_live_uikit_interaction.js +0 -101
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
本文将介绍如何集成 `TUIKit` 组件。
|
|
1
|
+
本文将介绍如何集成 `TUIKit` 组件。
|
|
2
2
|
|
|
3
3
|
> **说明:**
|
|
4
|
-
>
|
|
4
|
+
>
|
|
5
5
|
> 1. 从 5.7.1435 版本开始,TUIKit 支持模块化集成,支持了经典版 UI,您可以根据自己的需求集成所需模块。
|
|
6
6
|
> 2. 从 6.9.3557 版本开始,TUIKit 新增了全新的简约版 UI。
|
|
7
7
|
> 3. 为了尊重版权,IM Demo/TUIKit 工程中默认不包含大表情元素切图。正式上线商用前请您替换为自己设计或拥有版权的其他表情包。下图所示默认的**小黄脸表情包版权归腾讯云所有**,可有偿授权使用,如需获得授权可您可以通过升级至 [IM 企业版套餐](https://buy.cloud.tencent.com/avc) 免费使用该表情包。
|
|
8
8
|
|
|
9
|
-
>
|
|
10
|
-
>
|
|
11
|
-
|
|
9
|
+
>
|
|
10
|
+
>
|
|
12
11
|
|
|
13
12
|
您可以根据需求自由选择经典版或简约版 UI 组件。如果您还不了解各个界面库的功能,可以查阅文档 [TUIKit 界面库介绍](https://cloud.tencent.com/document/product/269/37190)。
|
|
14
13
|
|
|
@@ -17,7 +16,6 @@
|
|
|
17
16
|
|
|
18
17
|
- iOS 9.0 及以上
|
|
19
18
|
|
|
20
|
-
|
|
21
19
|
## CocoaPods 集成
|
|
22
20
|
1. 安装 CocoaPods。
|
|
23
21
|
在终端窗口中输入如下命令(需要提前在 Mac 中安装 Ruby 环境):
|
|
@@ -37,60 +35,25 @@
|
|
|
37
35
|
|
|
38
36
|
- DevelopmentPods 本地集成。
|
|
39
37
|
|
|
40
|
-
|
|
41
38
|
以上两种集成方式的优缺点如下表所示:
|
|
42
39
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<td rowspan="1" colSpan="1" >适合场景</td>
|
|
48
|
-
|
|
49
|
-
<td rowspan="1" colSpan="1" >优点</td>
|
|
50
|
-
|
|
51
|
-
<td rowspan="1" colSpan="1" >缺点</td>
|
|
52
|
-
</tr>
|
|
53
|
-
|
|
54
|
-
<tr>
|
|
55
|
-
<td rowspan="1" colSpan="1" >远程 CocoaPods 集成</td>
|
|
56
|
-
|
|
57
|
-
<td rowspan="1" colSpan="1" >适合无源码修改时的集成。</td>
|
|
58
|
-
|
|
59
|
-
<td rowspan="1" colSpan="1" >当 TUIKit 有版本更新时,您只需再次` Pod update `即可完成更新。</td>
|
|
60
|
-
|
|
61
|
-
<td rowspan="1" colSpan="1" >当您有源码修改,使用 `Pod update` 更新时,新版本的 TUIKit 会覆盖您的修改。</td>
|
|
62
|
-
</tr>
|
|
63
|
-
|
|
64
|
-
<tr>
|
|
65
|
-
<td rowspan="1" colSpan="1" >本地 DevelopmentPods 集成</td>
|
|
66
|
-
|
|
67
|
-
<td rowspan="1" colSpan="1" >适合有涉及源码自定义修改的客户。</td>
|
|
68
|
-
|
|
69
|
-
<td rowspan="1" colSpan="1" >当您有自己的 git 仓库时,可以跟踪修改。修改源码后,使用 `Pod update` 更新其他远程 Pod 库时,不会覆盖您的修改。</td>
|
|
70
|
-
|
|
71
|
-
<td rowspan="1" colSpan="1" >您需要手动将 TUIKit 源码覆盖您本地 TUIKit 文件夹进行更新。</td>
|
|
72
|
-
</tr>
|
|
73
|
-
</table>
|
|
74
|
-
|
|
40
|
+
| 集成方式 | 适合场景 | 优点 | 缺点 |
|
|
41
|
+
| --- | --- | --- | --- |
|
|
42
|
+
| 远程 CocoaPods 集成 | 适合无源码修改时的集成。 | 当 TUIKit 有版本更新时,您只需再次` Pod update `即可完成更新。 | 当您有源码修改,使用 `Pod update` 更新时,新版本的 TUIKit 会覆盖您的修改。 |
|
|
43
|
+
| 本地 DevelopmentPods 集成 | 适合有涉及源码自定义修改的客户。 | 当您有自己的 git 仓库时,可以跟踪修改。修改源码后,使用 `Pod update` 更新其他远程 Pod 库时,不会覆盖您的修改。 | 您需要手动将 TUIKit 源码覆盖您本地 TUIKit 文件夹进行更新。 |
|
|
75
44
|
|
|
76
45
|
### 远程 CocoaPods 集成
|
|
77
46
|
|
|
78
47
|
您可以在 Podfile 中按需添加组件库:
|
|
79
48
|
|
|
80
49
|
> **注意:**
|
|
81
|
-
>
|
|
50
|
+
>
|
|
82
51
|
|
|
83
52
|
> 从 8.5.6870 版本开始,TUIKit 支持 Swift 语言组件。
|
|
84
|
-
>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
53
|
+
>
|
|
88
54
|
|
|
89
55
|
【经典版】
|
|
90
56
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
57
|
【Swift 组件】
|
|
95
58
|
``` bash
|
|
96
59
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -105,13 +68,13 @@ target 'your_project_name' do
|
|
|
105
68
|
use_modular_headers!
|
|
106
69
|
|
|
107
70
|
# 集成聊天功能
|
|
108
|
-
pod 'TUIChat_Swift/UI_Classic'
|
|
71
|
+
pod 'TUIChat_Swift/UI_Classic'
|
|
109
72
|
# 集成会话功能
|
|
110
73
|
pod 'TUIConversation_Swift/UI_Classic'
|
|
111
74
|
# 集成关系链功能
|
|
112
75
|
pod 'TUIContact_Swift/UI_Classic'
|
|
113
76
|
# 集成搜索功能(需要购买旗舰版或企业版套餐)
|
|
114
|
-
pod 'TUISearch_Swift/UI_Classic'
|
|
77
|
+
pod 'TUISearch_Swift/UI_Classic'
|
|
115
78
|
# 集成音视频通话功能
|
|
116
79
|
pod 'TUICallKit_Swift'
|
|
117
80
|
# 集成投票插件
|
|
@@ -119,7 +82,7 @@ target 'your_project_name' do
|
|
|
119
82
|
# 集成群接龙插件
|
|
120
83
|
pod 'TUIGroupNotePlugin_Swift'
|
|
121
84
|
# 集成翻译插件(需开通增值功能,请联系腾讯云商务开通)
|
|
122
|
-
pod 'TUITranslationPlugin_Swift'
|
|
85
|
+
pod 'TUITranslationPlugin_Swift'
|
|
123
86
|
# 集成会话分组插件
|
|
124
87
|
pod 'TUIConversationGroupPlugin_Swift'
|
|
125
88
|
# 集成会话标记插件
|
|
@@ -131,7 +94,7 @@ end
|
|
|
131
94
|
#Pods config
|
|
132
95
|
post_install do |installer|
|
|
133
96
|
installer.pods_project.targets.each do |target|
|
|
134
|
-
target.build_configurations.each do |config|
|
|
97
|
+
target.build_configurations.each do |config|
|
|
135
98
|
#Fix Xcode14 Bundle target error
|
|
136
99
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
137
100
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -160,7 +123,6 @@ post_install do |installer|
|
|
|
160
123
|
|
|
161
124
|
```
|
|
162
125
|
|
|
163
|
-
|
|
164
126
|
【Objective-C 组件】
|
|
165
127
|
``` bash
|
|
166
128
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -178,13 +140,13 @@ target 'your_project_name' do
|
|
|
178
140
|
# use_modular_headers!
|
|
179
141
|
|
|
180
142
|
# 集成聊天功能
|
|
181
|
-
pod 'TUIChat/UI_Classic'
|
|
143
|
+
pod 'TUIChat/UI_Classic'
|
|
182
144
|
# 集成会话功能
|
|
183
145
|
pod 'TUIConversation/UI_Classic'
|
|
184
146
|
# 集成关系链功能
|
|
185
147
|
pod 'TUIContact/UI_Classic'
|
|
186
148
|
# 集成搜索功能(需要购买旗舰版或企业版套餐)
|
|
187
|
-
pod 'TUISearch/UI_Classic'
|
|
149
|
+
pod 'TUISearch/UI_Classic'
|
|
188
150
|
# 集成音视频通话功能
|
|
189
151
|
pod 'TUICallKit_Swift'
|
|
190
152
|
# 集成快速会议
|
|
@@ -194,7 +156,7 @@ target 'your_project_name' do
|
|
|
194
156
|
# 集成群接龙插件,从 7.1 版本开始支持
|
|
195
157
|
pod 'TUIGroupNotePlugin'
|
|
196
158
|
# 集成翻译插件,从 7.2 版本开始支持(需开通增值功能,请联系腾讯云商务开通)
|
|
197
|
-
pod 'TUITranslationPlugin'
|
|
159
|
+
pod 'TUITranslationPlugin'
|
|
198
160
|
# 集成会话分组插件,从 7.3 版本开始支持
|
|
199
161
|
pod 'TUIConversationGroupPlugin'
|
|
200
162
|
# 集成会话标记插件,从 7.3 版本开始支持
|
|
@@ -208,7 +170,7 @@ end
|
|
|
208
170
|
#Pods config
|
|
209
171
|
post_install do |installer|
|
|
210
172
|
installer.pods_project.targets.each do |target|
|
|
211
|
-
target.build_configurations.each do |config|
|
|
173
|
+
target.build_configurations.each do |config|
|
|
212
174
|
#Fix Xcode14 Bundle target error
|
|
213
175
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
214
176
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -239,9 +201,6 @@ post_install do |installer|
|
|
|
239
201
|
|
|
240
202
|
【简约版】
|
|
241
203
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
204
|
【Swift 组件】
|
|
246
205
|
``` bash
|
|
247
206
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -256,26 +215,26 @@ target 'your_project_name' do
|
|
|
256
215
|
use_modular_headers!
|
|
257
216
|
|
|
258
217
|
# 集成聊天功能
|
|
259
|
-
pod 'TUIChat_Swift/UI_Minimalist'
|
|
218
|
+
pod 'TUIChat_Swift/UI_Minimalist'
|
|
260
219
|
# 集成会话功能
|
|
261
220
|
pod 'TUIConversation_Swift/UI_Minimalist'
|
|
262
221
|
# 集成关系链功能
|
|
263
222
|
pod 'TUIContact_Swift/UI_Minimalist'
|
|
264
223
|
# 集成搜索功能(需要购买旗舰版或企业版、套餐)
|
|
265
|
-
pod 'TUISearch_Swift/UI_Minimalist'
|
|
224
|
+
pod 'TUISearch_Swift/UI_Minimalist'
|
|
266
225
|
# 集成音视频通话功能
|
|
267
226
|
pod 'TUICallKit_Swift'
|
|
268
227
|
# 集成翻译插件(需单独购买翻译插件)
|
|
269
|
-
pod 'TUITranslationPlugin_Swift'
|
|
228
|
+
pod 'TUITranslationPlugin_Swift'
|
|
270
229
|
# 集成语音转文字插件
|
|
271
230
|
pod 'TUIVoiceToTextPlugin_Swift'
|
|
272
|
-
# 集成表情回应插件
|
|
231
|
+
# 集成表情回应插件
|
|
273
232
|
pod 'TUIEmojiPlugin_Swift'
|
|
274
233
|
end
|
|
275
234
|
#Pods config
|
|
276
235
|
post_install do |installer|
|
|
277
236
|
installer.pods_project.targets.each do |target|
|
|
278
|
-
target.build_configurations.each do |config|
|
|
237
|
+
target.build_configurations.each do |config|
|
|
279
238
|
#Fix Xcode14 Bundle target error
|
|
280
239
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
281
240
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -303,7 +262,6 @@ post_install do |installer|
|
|
|
303
262
|
end
|
|
304
263
|
```
|
|
305
264
|
|
|
306
|
-
|
|
307
265
|
【Objective-C 组件】
|
|
308
266
|
``` bash
|
|
309
267
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -321,28 +279,28 @@ target 'your_project_name' do
|
|
|
321
279
|
# use_modular_headers!
|
|
322
280
|
|
|
323
281
|
# 集成聊天功能
|
|
324
|
-
pod 'TUIChat/UI_Minimalist'
|
|
282
|
+
pod 'TUIChat/UI_Minimalist'
|
|
325
283
|
# 集成会话功能
|
|
326
284
|
pod 'TUIConversation/UI_Minimalist'
|
|
327
285
|
# 集成关系链功能
|
|
328
286
|
pod 'TUIContact/UI_Minimalist'
|
|
329
287
|
# 集成搜索功能(需要购买旗舰版或企业版、套餐)
|
|
330
|
-
pod 'TUISearch/UI_Minimalist'
|
|
288
|
+
pod 'TUISearch/UI_Minimalist'
|
|
331
289
|
# 集成音视频通话功能
|
|
332
290
|
pod 'TUICallKit_Swift'
|
|
333
291
|
# 集成翻译插件,从 7.2 版本开始支持(需单独购买翻译插件)
|
|
334
|
-
pod 'TUITranslationPlugin'
|
|
292
|
+
pod 'TUITranslationPlugin'
|
|
335
293
|
# 集成语音转文字插件,从 7.5 版本开始支持
|
|
336
294
|
pod 'TUIVoiceToTextPlugin'
|
|
337
295
|
# 集成消息推送插件,从 7.6 版本开始支持
|
|
338
296
|
pod 'TIMPush'
|
|
339
|
-
# 集成表情回应插件,从 7.8 版本开始支持
|
|
297
|
+
# 集成表情回应插件,从 7.8 版本开始支持
|
|
340
298
|
pod 'TUIEmojiPlugin'
|
|
341
299
|
end
|
|
342
300
|
#Pods config
|
|
343
301
|
post_install do |installer|
|
|
344
302
|
installer.pods_project.targets.each do |target|
|
|
345
|
-
target.build_configurations.each do |config|
|
|
303
|
+
target.build_configurations.each do |config|
|
|
346
304
|
#Fix Xcode14 Bundle target error
|
|
347
305
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
348
306
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -371,12 +329,11 @@ post_install do |installer|
|
|
|
371
329
|
```
|
|
372
330
|
|
|
373
331
|
> **说明:**
|
|
374
|
-
>
|
|
375
|
-
> 1. 如果您直接 `pod 'TUIChat'`,不指定经典版或简约版,默认会集成两套版本 UI 组件。
|
|
332
|
+
>
|
|
333
|
+
> 1. 如果您直接 `pod 'TUIChat'`,不指定经典版或简约版,默认会集成两套版本 UI 组件。
|
|
376
334
|
> 2. 经典版和简约版 UI 不能混用,集成多个组件时,您必须同时全部选择经典版 UI 或简约版 UI。例如,经典版 `TUIChat` 组件必须与经典版 `TUIConversation`、`TUIContact` 组件搭配使用。同理,简约版 `TUIChat` 组件必须与简约版 `TUIConversation`、`TUIContact` 组件搭配使用。
|
|
377
335
|
> 3. 如果您使用的是 Swift,请开启 `use_modular_headers!` ,并将头文件引用改成 @import 模块名形式引用。
|
|
378
336
|
|
|
379
|
-
|
|
380
337
|
Podfile 修改完毕后,执行以下命令,安装 TUIKit 组件。
|
|
381
338
|
``` bash
|
|
382
339
|
pod install
|
|
@@ -394,27 +351,19 @@ pod update
|
|
|
394
351
|
|
|
395
352
|
集成全部的 TUIKit 组件后的项目结构:
|
|
396
353
|
|
|
397
|
-

|
|
398
|
-
|
|
399
|
-
|
|
400
354
|
> **注意:**
|
|
401
|
-
>
|
|
355
|
+
>
|
|
402
356
|
|
|
403
357
|
> 若您操作遇到错误,可查阅文末的常见问题。
|
|
404
|
-
>
|
|
405
|
-
|
|
358
|
+
>
|
|
406
359
|
|
|
407
360
|
### 本地 DevelopmentPods 源码集成
|
|
408
361
|
1. 从 GitHub 下载 TUIKit 源码,将 TUIKit 目录直接拖入您的工程目录下:
|
|
409
362
|
|
|
410
363
|
- [Swift TUIKit 源码 Github 地址](https://github.com/Tencent-RTC/Chat_UIKit/tree/main/Swift/TUIKit):
|
|
411
364
|
|
|
412
|
-

|
|
413
|
-
|
|
414
365
|
- [Objective-C TUIKit 源码 Github 地址](https://github.com/TencentCloud/TIMSDK/tree/master/iOS/TUIKit):
|
|
415
366
|
|
|
416
|
-

|
|
417
|
-
|
|
418
367
|
2. 修改您 Podfile 中每个组件的本地路径。path 是 TUIKit 文件夹相对于您工程 Podfile 文件的位置,常见的有:
|
|
419
368
|
|
|
420
369
|
- TUIKit 文件夹位于您工程 Podfile 文件**父目录**: `pod 'TUICore', :path => "../TUIKit/TUICore"`
|
|
@@ -423,17 +372,10 @@ pod update
|
|
|
423
372
|
|
|
424
373
|
- TUIKit 文件夹位于您工程 Podfile 文件**子目录**: ` pod 'TUICore', :path => "/TUIKit/TUICore"`
|
|
425
374
|
|
|
426
|
-
|
|
427
375
|
以 TUIKit 文件夹位于您工程 Podfile 文件父目录为例:
|
|
428
376
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
377
|
【DevelopmentPodfile】
|
|
433
378
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
379
|
【Swift 组件】
|
|
438
380
|
``` bash
|
|
439
381
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -446,7 +388,7 @@ target 'your_project_name' do
|
|
|
446
388
|
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
|
|
447
389
|
use_frameworks!
|
|
448
390
|
use_modular_headers!
|
|
449
|
-
|
|
391
|
+
|
|
450
392
|
# 集成基础库(必选)
|
|
451
393
|
pod 'TUICore', :path => "../TUIKit/TUICore"
|
|
452
394
|
pod 'TIMCommon_Swift', :path => "../TUIKit/TIMCommon"
|
|
@@ -459,10 +401,10 @@ target 'your_project_name' do
|
|
|
459
401
|
pod 'TUIContact_Swift', :path => "../TUIKit/TUIContact"
|
|
460
402
|
# 集成搜索功能(需要购买旗舰版或企业版套餐)
|
|
461
403
|
pod 'TUISearch_Swift', :path => "../TUIKit/TUISearch"
|
|
462
|
-
|
|
404
|
+
|
|
463
405
|
# 集成音视频通话功能
|
|
464
406
|
pod 'TUICallKit_Swift'
|
|
465
|
-
|
|
407
|
+
|
|
466
408
|
# 集成 TUIKitPlugin 插件 (可选)
|
|
467
409
|
# 集成翻译插件(需单独购买插件)
|
|
468
410
|
pod 'TUITranslationPlugin_Swift'
|
|
@@ -476,7 +418,7 @@ end
|
|
|
476
418
|
#Pods config
|
|
477
419
|
post_install do |installer|
|
|
478
420
|
installer.pods_project.targets.each do |target|
|
|
479
|
-
target.build_configurations.each do |config|
|
|
421
|
+
target.build_configurations.each do |config|
|
|
480
422
|
#Fix Xcode14 Bundle target error
|
|
481
423
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
482
424
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -505,7 +447,6 @@ post_install do |installer|
|
|
|
505
447
|
en
|
|
506
448
|
```
|
|
507
449
|
|
|
508
|
-
|
|
509
450
|
【Objective-C 组件】
|
|
510
451
|
``` bash
|
|
511
452
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -518,7 +459,7 @@ target 'your_project_name' do
|
|
|
518
459
|
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
|
|
519
460
|
use_frameworks!
|
|
520
461
|
use_modular_headers!
|
|
521
|
-
|
|
462
|
+
|
|
522
463
|
# 集成基础库(必选)
|
|
523
464
|
pod 'TUICore', :path => "../TUIKit/TUICore"
|
|
524
465
|
pod 'TIMCommon', :path => "../TUIKit/TIMCommon"
|
|
@@ -531,12 +472,12 @@ target 'your_project_name' do
|
|
|
531
472
|
pod 'TUIContact', :path => "../TUIKit/TUIContact"
|
|
532
473
|
# 集成搜索功能(需要购买旗舰版或企业版套餐)
|
|
533
474
|
pod 'TUISearch', :path => "../TUIKit/TUISearch"
|
|
534
|
-
|
|
475
|
+
|
|
535
476
|
# 集成音视频通话功能
|
|
536
477
|
pod 'TUICallKit_Swift'
|
|
537
478
|
# 集成快速会议
|
|
538
479
|
pod 'TUIRoomKit'
|
|
539
|
-
|
|
480
|
+
|
|
540
481
|
# 集成TUIKitPlugin插件 (可选)
|
|
541
482
|
# 集成翻译插件,从 7.2 版本开始支持(需单独购买翻译插件)
|
|
542
483
|
pod 'TUITranslationPlugin'
|
|
@@ -550,7 +491,7 @@ end
|
|
|
550
491
|
#Pods config
|
|
551
492
|
post_install do |installer|
|
|
552
493
|
installer.pods_project.targets.each do |target|
|
|
553
|
-
target.build_configurations.each do |config|
|
|
494
|
+
target.build_configurations.each do |config|
|
|
554
495
|
#Fix Xcode14 Bundle target error
|
|
555
496
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
556
497
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -583,22 +524,18 @@ en
|
|
|
583
524
|
|
|
584
525
|
``` bash
|
|
585
526
|
pod install
|
|
586
|
-
```
|
|
527
|
+
```
|
|
587
528
|
|
|
588
529
|
> **注意:**
|
|
589
|
-
>
|
|
530
|
+
>
|
|
590
531
|
> 1. 使用本地集成方案时,如需升级时需要从 Github 获取最新的组件代码,覆盖您本地项目的 TUIKit 目录。
|
|
591
532
|
> 2. 当私有化修改和远端有冲突时,需要手动合并,处理冲突。
|
|
592
533
|
> 3. TUIKit 插件需要依赖 TUICore 的版本,请确保插件版本和 "../TUIKit/TUICore/TUICore.spec" 中的 spec.version 一致。
|
|
593
534
|
|
|
594
|
-
|
|
595
535
|
## 第三方库依赖
|
|
596
536
|
|
|
597
537
|
TUIKit 依赖的第三方库的最低版本如下,如果您的版本较低,请升级到最新版本。
|
|
598
538
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
539
|
【Swift 组件】
|
|
603
540
|
``` plaintext
|
|
604
541
|
- MJExtension (3.4.1)
|
|
@@ -608,7 +545,6 @@ TUIKit 依赖的第三方库的最低版本如下,如果您的版本较低,
|
|
|
608
545
|
- SDWebImage (5.18.11)
|
|
609
546
|
```
|
|
610
547
|
|
|
611
|
-
|
|
612
548
|
【Objective-C 组件】
|
|
613
549
|
``` plaintext
|
|
614
550
|
- Masonry (1.1.0)
|
|
@@ -627,14 +563,13 @@ TUIKit 依赖的第三方库的最低版本如下,如果您的版本较低,
|
|
|
627
563
|
常用的聊天软件都是由会话列表、聊天窗口、好友列表、音视频通话等几个基本的界面组成,参考下面步骤,您仅需几行代码即可在项目中快速搭建这些 UI 界面。
|
|
628
564
|
|
|
629
565
|
> **说明:**
|
|
630
|
-
>
|
|
566
|
+
>
|
|
631
567
|
|
|
632
568
|
> 关于 TUIKit 组件模块功能:
|
|
633
|
-
>
|
|
569
|
+
>
|
|
634
570
|
> - 实操教学(Objective-C 组件版本)视频请参见:[极速集成 TUIKit(iOS)](https://cloud.tencent.com/edu/learning/course-3130-56699)。
|
|
635
571
|
> - 如果想了解更多,您还可以 [下载并运行 TUIKitDemo 源码](https://cloud.tencent.com/document/product/269/68228),内含常见功能示例。
|
|
636
572
|
|
|
637
|
-
|
|
638
573
|
### 步骤1:组件登录
|
|
639
574
|
|
|
640
575
|
登录组件后才能正常使用组件的功能。用户在 App 上点击登录时,您可以登录 TUIKit 组件。
|
|
@@ -642,9 +577,6 @@ SDKAppID 需要在 [即时通信 IM 控制台](https://console.cloud.tencent.com
|
|
|
642
577
|
|
|
643
578
|
示例代码如下所示:
|
|
644
579
|
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
580
|
【Swift】
|
|
649
581
|
``` swift
|
|
650
582
|
@objc func loginSDK(_ userID: String, userSig: String, succ: TSucc?, fail: TFail?) {
|
|
@@ -658,7 +590,6 @@ SDKAppID 需要在 [即时通信 IM 控制台](https://console.cloud.tencent.com
|
|
|
658
590
|
}
|
|
659
591
|
```
|
|
660
592
|
|
|
661
|
-
|
|
662
593
|
【Objective-C】
|
|
663
594
|
``` objectivec
|
|
664
595
|
#import "TUILogin.h"
|
|
@@ -678,13 +609,8 @@ SDKAppID 需要在 [即时通信 IM 控制台](https://console.cloud.tencent.com
|
|
|
678
609
|
|
|
679
610
|
示例代码如下所示:
|
|
680
611
|
|
|
681
|
-
|
|
682
|
-
|
|
683
612
|
【经典版】
|
|
684
613
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
614
|
【Swift】
|
|
689
615
|
``` swift
|
|
690
616
|
// ConversationController 为您自己的 ViewController
|
|
@@ -706,13 +632,12 @@ public protocol TUIConversationListControllerListener: AnyObject {
|
|
|
706
632
|
}
|
|
707
633
|
```
|
|
708
634
|
|
|
709
|
-
|
|
710
635
|
【Objective-C】
|
|
711
636
|
``` objectivec
|
|
712
637
|
#import "TUIConversationListController.h"
|
|
713
638
|
|
|
714
639
|
// ConversationController 为您自己的 ViewController
|
|
715
|
-
@implementation ConversationController
|
|
640
|
+
@implementation ConversationController
|
|
716
641
|
- (void)viewDidLoad {
|
|
717
642
|
[super viewDidLoad];
|
|
718
643
|
// TUIConversationListController
|
|
@@ -723,7 +648,7 @@ public protocol TUIConversationListControllerListener: AnyObject {
|
|
|
723
648
|
[self.view addSubview:vc.view];
|
|
724
649
|
}
|
|
725
650
|
|
|
726
|
-
- (void)conversationListController:(UIViewController *)conversationController
|
|
651
|
+
- (void)conversationListController:(UIViewController *)conversationController
|
|
727
652
|
didSelectConversation:(TUIConversationCellData *)conversation {
|
|
728
653
|
// 会话列表点击事件,可自定义,通常是打开聊天界面
|
|
729
654
|
}
|
|
@@ -732,9 +657,6 @@ public protocol TUIConversationListControllerListener: AnyObject {
|
|
|
732
657
|
|
|
733
658
|
【简约版】
|
|
734
659
|
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
660
|
【Swift】
|
|
739
661
|
``` swift
|
|
740
662
|
// ConversationController 为您自己的 ViewController
|
|
@@ -756,7 +678,6 @@ public protocol TUIConversationListControllerListener: AnyObject {
|
|
|
756
678
|
}
|
|
757
679
|
```
|
|
758
680
|
|
|
759
|
-
|
|
760
681
|
【Objective-C】
|
|
761
682
|
``` objectivec
|
|
762
683
|
#import "TUIConversationListController_Minimalist.h"
|
|
@@ -773,7 +694,7 @@ public protocol TUIConversationListControllerListener: AnyObject {
|
|
|
773
694
|
[self.view addSubview:vc.view];
|
|
774
695
|
}
|
|
775
696
|
|
|
776
|
-
- (void)conversationListController:(TUIConversationListController_Minimalist *)conversationController
|
|
697
|
+
- (void)conversationListController:(TUIConversationListController_Minimalist *)conversationController
|
|
777
698
|
didSelectConversation:(TUIConversationCell *)conversation
|
|
778
699
|
{
|
|
779
700
|
// 会话列表点击事件,通常是打开聊天界面
|
|
@@ -787,13 +708,8 @@ public protocol TUIConversationListControllerListener: AnyObject {
|
|
|
787
708
|
|
|
788
709
|
示例代码如下所示:
|
|
789
710
|
|
|
790
|
-
|
|
791
|
-
|
|
792
711
|
【经典版】
|
|
793
712
|
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
713
|
【Swift】
|
|
798
714
|
``` swift
|
|
799
715
|
let conversationData = TUIChatConversationModel()
|
|
@@ -815,7 +731,6 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
|
|
|
815
731
|
}
|
|
816
732
|
```
|
|
817
733
|
|
|
818
|
-
|
|
819
734
|
【Objective-C】
|
|
820
735
|
``` objectivec
|
|
821
736
|
#import "TUIC2CChatViewController.h"
|
|
@@ -825,9 +740,9 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
|
|
|
825
740
|
- (void)viewDidLoad {
|
|
826
741
|
// 创建会话信息
|
|
827
742
|
TUIChatConversationModel *data = [[TUIChatConversationModel alloc] init];
|
|
828
|
-
data.userID = @"userID";
|
|
743
|
+
data.userID = @"userID";
|
|
829
744
|
// TUIC2CChatViewController
|
|
830
|
-
TUIC2CChatViewController *vc = [[TUIC2CChatViewController alloc] init];
|
|
745
|
+
TUIC2CChatViewController *vc = [[TUIC2CChatViewController alloc] init];
|
|
831
746
|
[vc setConversationData:data];
|
|
832
747
|
// 把 TUIC2CChatViewController 添加到自己的 ViewController
|
|
833
748
|
[self addChildViewController:vc];
|
|
@@ -837,17 +752,13 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
|
|
|
837
752
|
```
|
|
838
753
|
|
|
839
754
|
> **说明:**
|
|
840
|
-
>
|
|
755
|
+
>
|
|
841
756
|
|
|
842
757
|
> `TUIC2CChatViewController` 会自动拉取该用户的历史消息并展示出来。
|
|
843
|
-
>
|
|
844
|
-
|
|
758
|
+
>
|
|
845
759
|
|
|
846
760
|
【简约版】
|
|
847
761
|
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
762
|
【Swift】
|
|
852
763
|
``` swift
|
|
853
764
|
let conversationData = TUIChatConversationModel()
|
|
@@ -869,7 +780,6 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
|
|
|
869
780
|
}
|
|
870
781
|
```
|
|
871
782
|
|
|
872
|
-
|
|
873
783
|
【Objective-C】
|
|
874
784
|
``` objectivec
|
|
875
785
|
#import "TUIC2CChatViewController_Minimalist.h"
|
|
@@ -879,9 +789,9 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
|
|
|
879
789
|
- (void)viewDidLoad {
|
|
880
790
|
// 创建会话信息
|
|
881
791
|
TUIChatConversationModel *data = [[TUIChatConversationModel alloc] init];
|
|
882
|
-
data.userID = @"userID";
|
|
792
|
+
data.userID = @"userID";
|
|
883
793
|
// 创建 TUIC2CChatViewController_Minimalist
|
|
884
|
-
TUIC2CChatViewController_Minimalist *vc = [[TUIC2CChatViewController_Minimalist alloc] init];
|
|
794
|
+
TUIC2CChatViewController_Minimalist *vc = [[TUIC2CChatViewController_Minimalist alloc] init];
|
|
885
795
|
[vc setConversationData:data];
|
|
886
796
|
// 把 TUIC2CChatViewController 添加到自己的 ViewController
|
|
887
797
|
[self addChildViewController:vc];
|
|
@@ -891,23 +801,17 @@ private func getChatViewController(_ model: TUIChatConversationModel) -> TUIBase
|
|
|
891
801
|
```
|
|
892
802
|
|
|
893
803
|
> **说明**
|
|
894
|
-
>
|
|
804
|
+
>
|
|
895
805
|
|
|
896
806
|
> `TUIC2CChatViewController_Minimalist` 会自动拉取该用户的历史消息并展示出来。
|
|
897
|
-
>
|
|
898
|
-
|
|
807
|
+
>
|
|
899
808
|
|
|
900
809
|
### 步骤4:构建通讯录界面
|
|
901
810
|
|
|
902
811
|
通讯录界面不需要其它依赖,只需创建对象并显示出来即可。
|
|
903
812
|
|
|
904
|
-
|
|
905
|
-
|
|
906
813
|
【经典版】
|
|
907
814
|
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
815
|
【Swift】
|
|
912
816
|
``` swift
|
|
913
817
|
// ContactController 为您自己的 ViewController
|
|
@@ -924,14 +828,13 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
|
|
|
924
828
|
}
|
|
925
829
|
```
|
|
926
830
|
|
|
927
|
-
|
|
928
831
|
【Objective-C】
|
|
929
832
|
``` objectivec
|
|
930
833
|
#import "TUIContactController.h"
|
|
931
834
|
|
|
932
835
|
// ContactController 为您自己的 ViewController
|
|
933
836
|
@implementation ContactController
|
|
934
|
-
- (void)viewDidLoad {
|
|
837
|
+
- (void)viewDidLoad {
|
|
935
838
|
// 创建 TUIContactController
|
|
936
839
|
TUIContactController *vc = [[TUIContactController alloc] init];
|
|
937
840
|
// 把 TUIContactController 添加到自己的 ViewController
|
|
@@ -943,9 +846,6 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
|
|
|
943
846
|
|
|
944
847
|
注意,上面代码只能将 `TUIContactController` 初始化并展示出来,其中的点击行为(例如点击好友、添加好友等),TUIKit 会通过 `TUIContactControllerListener` 抛给上层处理:
|
|
945
848
|
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
849
|
【Swift】
|
|
950
850
|
``` swift
|
|
951
851
|
protocol TUIContactControllerListener: NSObjectProtocol {
|
|
@@ -956,7 +856,6 @@ protocol TUIContactControllerListener: NSObjectProtocol {
|
|
|
956
856
|
|
|
957
857
|
```
|
|
958
858
|
|
|
959
|
-
|
|
960
859
|
【Objective-C】
|
|
961
860
|
``` objectivec
|
|
962
861
|
@protocol TUIContactControllerListener <NSObject>
|
|
@@ -969,9 +868,6 @@ protocol TUIContactControllerListener: NSObjectProtocol {
|
|
|
969
868
|
|
|
970
869
|
【简约版】
|
|
971
870
|
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
871
|
【Swift】
|
|
976
872
|
``` swift
|
|
977
873
|
// ContactController 为您自己的 ViewController
|
|
@@ -988,14 +884,13 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
|
|
|
988
884
|
}
|
|
989
885
|
```
|
|
990
886
|
|
|
991
|
-
|
|
992
887
|
【Objective-C】
|
|
993
888
|
``` objectivec
|
|
994
889
|
#import "TUIContactController_Minimalist.h"
|
|
995
890
|
|
|
996
891
|
// ContactController 为您自己的 ViewController
|
|
997
892
|
@implementation ContactController
|
|
998
|
-
- (void)viewDidLoad {
|
|
893
|
+
- (void)viewDidLoad {
|
|
999
894
|
// 创建 TUIContactController_Minimalist
|
|
1000
895
|
TUIContactController_Minimalist *vc = [[TUIContactController_Minimalist alloc] init];
|
|
1001
896
|
// 把 TUIContactController_Minimalist 添加到自己的 ViewController
|
|
@@ -1007,9 +902,6 @@ public class ContactsController: UIViewController, TUIPopViewDelegate {
|
|
|
1007
902
|
|
|
1008
903
|
注意,上面代码只能将 `TUIContactController_Minimalist` 初始化并展示出来,其中的点击行为(例如点击好友、添加好友等),TUIKit 会通过 `TUIContactControllerListener_Minimalist` 抛给上层处理:
|
|
1009
904
|
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
905
|
【Swift】
|
|
1014
906
|
``` swift
|
|
1015
907
|
protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
@@ -1019,7 +911,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
|
1019
911
|
}
|
|
1020
912
|
```
|
|
1021
913
|
|
|
1022
|
-
|
|
1023
914
|
【Objective-C】
|
|
1024
915
|
``` objectivec
|
|
1025
916
|
@protocol TUIContactControllerListener_Minimalist <NSObject>
|
|
@@ -1032,13 +923,8 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
|
1032
923
|
|
|
1033
924
|
例如,单击好友后,您可以将好友信息页展示出来:
|
|
1034
925
|
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
926
|
【经典版】
|
|
1038
927
|
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
928
|
【Swift】
|
|
1043
929
|
``` swift
|
|
1044
930
|
@objc private func onSelectFriend(_ cell: TUICommonContactCell) {
|
|
@@ -1052,7 +938,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
|
1052
938
|
}
|
|
1053
939
|
```
|
|
1054
940
|
|
|
1055
|
-
|
|
1056
941
|
【Objective-C】
|
|
1057
942
|
``` objectivec
|
|
1058
943
|
#import "TUIFriendProfileController.h"
|
|
@@ -1070,9 +955,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
|
1070
955
|
|
|
1071
956
|
【简约版】
|
|
1072
957
|
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
958
|
【Swift】
|
|
1077
959
|
``` swift
|
|
1078
960
|
@objc func onSelectFriend(_ cell: TUICommonContactCell_Minimalist) {
|
|
@@ -1086,7 +968,6 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
|
1086
968
|
}
|
|
1087
969
|
```
|
|
1088
970
|
|
|
1089
|
-
|
|
1090
971
|
【Objective-C】
|
|
1091
972
|
``` objectivec
|
|
1092
973
|
#import "TUIFriendProfileController_Minimalist.h"
|
|
@@ -1105,19 +986,9 @@ protocol TUIContactControllerListener_Minimalist: AnyObject {
|
|
|
1105
986
|
### 步骤5:构建音视频通话功能
|
|
1106
987
|
|
|
1107
988
|
TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单几步就可以快速集成:
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
<td rowspan="1" colSpan="1" >语音通话</td>
|
|
1113
|
-
</tr>
|
|
1114
|
-
|
|
1115
|
-
<tr>
|
|
1116
|
-
<td rowspan="1" colSpan="1" ><br></td>
|
|
1117
|
-
|
|
1118
|
-
<td rowspan="1" colSpan="1" ><br></td>
|
|
1119
|
-
</tr>
|
|
1120
|
-
</table>
|
|
989
|
+
| 视频通话 | 语音通话 |
|
|
990
|
+
| --- | --- |
|
|
991
|
+
| | |
|
|
1121
992
|
|
|
1122
993
|
1. 开通音视频服务。
|
|
1123
994
|
|
|
@@ -1132,24 +1003,13 @@ TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单
|
|
|
1132
1003
|
|
|
1133
1004
|
``` objectivec
|
|
1134
1005
|
// 集成音视频通话组件
|
|
1135
|
-
pod 'TUICallKit_Swift'
|
|
1006
|
+
pod 'TUICallKit_Swift'
|
|
1136
1007
|
```
|
|
1137
1008
|
6. 发起和接收视频或语音通话。
|
|
1138
1009
|
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
<td rowspan="1" colSpan="1" >联系人页发起通话</td>
|
|
1144
|
-
</tr>
|
|
1145
|
-
|
|
1146
|
-
<tr>
|
|
1147
|
-
<td rowspan="1" colSpan="1" ><br></td>
|
|
1148
|
-
|
|
1149
|
-
<td rowspan="1" colSpan="1" ><br></td>
|
|
1150
|
-
</tr>
|
|
1151
|
-
</table>
|
|
1152
|
-
|
|
1010
|
+
| 消息页发起通话 | 联系人页发起通话 |
|
|
1011
|
+
| --- | --- |
|
|
1012
|
+
| | |
|
|
1153
1013
|
|
|
1154
1014
|
集成 TUICallKit 组件后,聊天界面和联系人资料界面默认会出现 “视频通话” 和 “语音通话” 两个按钮,当用户点击按钮时,TUIKit 会自动展示通话邀请 UI,并给对方发起通话邀请请求。
|
|
1155
1015
|
|
|
@@ -1161,13 +1021,12 @@ TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单
|
|
|
1161
1021
|
在使用离线推送之前,您需要开通 [IM 离线推送](https://cloud.tencent.com/document/product/269/75429) 服务。
|
|
1162
1022
|
|
|
1163
1023
|
8. 关于 App 的配置,您可以参见文档:[集成 TUIOfflinePush 跑通离线推送功能](https://cloud.tencent.com/document/product/269/109894)。
|
|
1164
|
-
|
|
1165
1024
|
|
|
1166
1025
|
> **说明:**
|
|
1167
|
-
>
|
|
1026
|
+
>
|
|
1168
1027
|
|
|
1169
1028
|
> 配置完成后,当单击接收到的**音视频通话离线推送通知**时, TUICallKit 会自动拉起**音视频通话邀请界面**。
|
|
1170
|
-
>
|
|
1029
|
+
>
|
|
1171
1030
|
|
|
1172
1031
|
9. 附加增值能力
|
|
1173
1032
|
集成 TUIChat 和 TUICallkit 的组件后,在聊天界面发送语音消息时,即可**录制带 AI 降噪和自动增益的语音消息**。该功能需要购买 [音视频通话能力](https://cloud.tencent.com/document/product/1640/79968) 进阶版及以上套餐,仅 IMSDK 7.0 及以上版本支持。当套餐过期后,录制语音消息会切换到系统 API 进行录音。
|
|
@@ -1186,40 +1045,22 @@ TUI 组件支持在聊天界面对用户发起音视频通话,仅需要简单
|
|
|
1186
1045
|
font-family: 'pingfang SC','helvetica neue',arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif;
|
|
1187
1046
|
}
|
|
1188
1047
|
</style>
|
|
1189
|
-
|
|
1048
|
+
|
|
1190
1049
|
<div class="markdown-text-box">
|
|
1191
|
-
<
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
<th style="text-align:center"><b>TUICallkit 录制的带 AI 降噪和自动增益的语音消息<br /></b></th>
|
|
1195
|
-
</tr>
|
|
1196
|
-
<tr>
|
|
1197
|
-
<td>
|
|
1198
|
-
<audio id="audio" controls preload="none">
|
|
1050
|
+
| <b>系统录制的语音消息<br></b> | <b>TUICallkit 录制的带 AI 降噪和自动增益的语音消息<br></b> |
|
|
1051
|
+
| --- | --- |
|
|
1052
|
+
| <audio id="audio" controls preload="none">
|
|
1199
1053
|
<source id="m4a" src="https://im.sdk.cloudcachetci.com/tools/resource/rain_system_record.m4a"></source>
|
|
1200
|
-
</audio>
|
|
1201
|
-
</td>
|
|
1202
|
-
|
|
1203
|
-
<td>
|
|
1204
|
-
<audio id="audio" controls preload="none">
|
|
1054
|
+
</audio> | <audio id="audio" controls preload="none">
|
|
1205
1055
|
<source id="m4a" src="https://im.sdk.cloudcachetci.com/tools/resource/rain_tuicallkit_record_with_agc_aidenoise.m4a"></source>
|
|
1206
|
-
</audio>
|
|
1207
|
-
</td>
|
|
1208
|
-
</tr>
|
|
1209
|
-
</table>
|
|
1056
|
+
</audio> |
|
|
1210
1057
|
|
|
1211
1058
|
</div>
|
|
1212
1059
|
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
1060
|
### 步骤6:构建多人音视频功能
|
|
1218
1061
|
|
|
1219
1062
|
TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单几步就可以快速集成:
|
|
1220
1063
|
|
|
1221
|
-

|
|
1222
|
-
|
|
1223
1064
|
1. 开通音视频服务。
|
|
1224
1065
|
|
|
1225
1066
|
2. 登录 [即时通信 IM 控制台](https://console.cloud.tencent.com/im),单击目标应用卡片,进入应用的基础配置页面。
|
|
@@ -1236,12 +1077,8 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1236
1077
|
```
|
|
1237
1078
|
6. 发起多人音视频会议
|
|
1238
1079
|
|
|
1239
|
-
|
|
1240
1080
|
集成 TUIRoomKit 组件后,聊天界面默认会出现 “快速会议” 按钮,当用户点击按钮时,TUIKit 会自动发起会议,并在聊天记录中展示一条会议邀请卡片。
|
|
1241
1081
|
|
|
1242
|
-

|
|
1243
|
-
|
|
1244
|
-
|
|
1245
1082
|
## 常见问题
|
|
1246
1083
|
|
|
1247
1084
|
#### 1. TUICallKit 和自己集成的音视频库冲突了?
|
|
@@ -1250,7 +1087,7 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1250
1087
|
1. 如果您使用了 `TXLiteAVSDK_TRTC` 库,不会发生符号冲突。可直接在 Podfile 文件中添加依赖,
|
|
1251
1088
|
|
|
1252
1089
|
``` ruby
|
|
1253
|
-
pod 'TUICallKit_Swift'
|
|
1090
|
+
pod 'TUICallKit_Swift'
|
|
1254
1091
|
```
|
|
1255
1092
|
2. 如果您使用了 `TXLiteAVSDK_Professional` 库,会产生符号冲突。您可在 Podfile 文件中添加依赖,
|
|
1256
1093
|
|
|
@@ -1259,7 +1096,6 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1259
1096
|
```
|
|
1260
1097
|
3. 如果您使用了 `TXLiteAVSDK_Enterprise` 库,会产生符号冲突。建议升级到 `TXLiteAVSDK_Professional` 后使用 TUICallKit_Swift/Professional。
|
|
1261
1098
|
|
|
1262
|
-
|
|
1263
1099
|
#### 2. 通话邀请的超时时间默认是多久?
|
|
1264
1100
|
|
|
1265
1101
|
通话邀请的默认超时时间是 30 秒。
|
|
@@ -1269,23 +1105,18 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1269
1105
|
|
|
1270
1106
|
- 如果是群聊通话邀请,被邀请者离线再上线后会自动拉取最近 30 秒内的邀请,TUIKit 会自动唤起群通话界面。
|
|
1271
1107
|
|
|
1272
|
-
|
|
1273
1108
|
#### 4. 上架 Appstore 时打包失败,提示 Unsupported Architectures。
|
|
1274
1109
|
|
|
1275
1110
|
问题现象如下图,打包时提示 ImSDK_Plus.framework 中包含了 Appstore 不支持的 x86_64 模拟器版本。该问题是由于 IMSDK 为了方便开发者调试,发布时会默认带上模拟器版本。
|
|
1276
1111
|
|
|
1277
|
-

|
|
1278
|
-
|
|
1279
1112
|
您可以按照下面的步骤,在打包时去掉模拟器版本:
|
|
1280
1113
|
1. 选中您工程的 Target,并点击 Build Phases 选项,在当前面板中添加 Run Script;
|
|
1281
1114
|
|
|
1282
|
-

|
|
1283
|
-
|
|
1284
1115
|
2. 在新增的 Run Script 中,添加如下脚本:
|
|
1285
1116
|
|
|
1286
1117
|
``` bash
|
|
1287
1118
|
#!/bin/sh
|
|
1288
|
-
|
|
1119
|
+
|
|
1289
1120
|
# Strip invalid architectures
|
|
1290
1121
|
strip_invalid_archs() {
|
|
1291
1122
|
binary="$1"
|
|
@@ -1306,9 +1137,9 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1306
1137
|
echo "Stripped $binary of architectures:$stripped"
|
|
1307
1138
|
fi
|
|
1308
1139
|
}
|
|
1309
|
-
|
|
1140
|
+
|
|
1310
1141
|
APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
|
|
1311
|
-
|
|
1142
|
+
|
|
1312
1143
|
# This script loops through the frameworks embedded in the application and
|
|
1313
1144
|
# removes unused architectures.
|
|
1314
1145
|
find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
|
|
@@ -1319,23 +1150,15 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1319
1150
|
strip_invalid_archs "$FRAMEWORK_EXECUTABLE_PATH"
|
|
1320
1151
|
done
|
|
1321
1152
|
```
|
|
1322
|
-

|
|
1323
|
-
|
|
1324
1153
|
|
|
1325
1154
|
## Xcode 集成常见问题
|
|
1326
1155
|
|
|
1327
1156
|
#### 1. [Xcodeproj] Unknown object version (60). (RuntimeError)
|
|
1328
1157
|
|
|
1329
|
-

|
|
1330
|
-
|
|
1331
|
-
|
|
1332
1158
|
使用 Xcode15 创建新工程来集成 TUIKit 时,输入**pod install** 后,可能会遇到此问题,原因是使用了较旧版本的 CocoaPods ,此时有两种解决办法:
|
|
1333
1159
|
|
|
1334
1160
|
解决方式一: 修改 Xcode 工程的 **Project Format **版本。
|
|
1335
1161
|
|
|
1336
|
-

|
|
1337
|
-
|
|
1338
|
-
|
|
1339
1162
|
解决方式二: 升级本地的 CocoaPods 版本,升级方式本文不再赘述。
|
|
1340
1163
|
|
|
1341
1164
|
您可以在终端输入 **pod --version** 查看当前的 Pods 版本。
|
|
@@ -1344,40 +1167,22 @@ TUI 组件支持在聊天界面对用户发起多人音视频,仅需要简单
|
|
|
1344
1167
|
|
|
1345
1168
|
Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp,
|
|
1346
1169
|
|
|
1347
|
-

|
|
1348
|
-
|
|
1349
|
-
|
|
1350
1170
|
或是使用 XCode15 集成 TUIRoom 时,因最新链接器导致 TUIRoomEngine 的符号冲突,都属于该问题。
|
|
1351
1171
|
|
|
1352
|
-

|
|
1353
|
-
|
|
1354
|
-
|
|
1355
1172
|
解决方式是:修改链接器配置
|
|
1356
1173
|
|
|
1357
1174
|
在 **Build Settings** 中的**Other Linker Flags** 种添加"**-ld64**",即可解决。 参考资料: [https://developer.apple.com/forums/thread/735426](https://links.jianshu.com/go?to=https%3A%2F%2Fdeveloper.apple.com%2Fforums%2Fthread%2F735426)。
|
|
1358
1175
|
|
|
1359
|
-

|
|
1360
|
-
|
|
1361
|
-
|
|
1362
1176
|
#### 3. Rosetta 模拟器问题
|
|
1363
1177
|
|
|
1364
1178
|
使用苹果芯片(m1\m2等系列芯片)时会遇到, 原因是包括 SDWebImage 在内的三方库,并未支持 xcframework,不过苹果依旧给出了适配办法,就是在模拟器上开启 Rosetta 设置, 一般情况下编译时会自动弹出 Rosetta 选项。
|
|
1365
1179
|
|
|
1366
|
-

|
|
1367
|
-
|
|
1368
|
-
|
|
1369
1180
|
#### 4. Xcode 15 开发者沙盒选项问题
|
|
1370
1181
|
|
|
1371
1182
|
Sandbox: bash(xxx) deny(1) file-write-create
|
|
1372
1183
|
|
|
1373
|
-

|
|
1374
|
-
|
|
1375
|
-
|
|
1376
1184
|
当您使用 Xcode 15 创建一个新工程时, 可能会因为此选项导致编译运行失败,建议您关闭此选项。
|
|
1377
1185
|
|
|
1378
|
-

|
|
1379
|
-
|
|
1380
|
-
|
|
1381
1186
|
### 5. Xcode 16 不支持 Framework 开启 bitcode 问题
|
|
1382
1187
|
|
|
1383
1188
|
**解决方案1:升级 SDK**
|
|
@@ -1407,21 +1212,14 @@ end
|
|
|
1407
1212
|
|
|
1408
1213
|
#### 1. 使用远端集成时,Pod依赖版本不匹配问题
|
|
1409
1214
|
|
|
1410
|
-
|
|
1215
|
+
若您使用远端 Pods 集成时,出现 **Podfile.lock** 和 插件依赖的 TUICore 版本不一致时,
|
|
1411
1216
|
|
|
1412
1217
|
此时请删除 **Podfile.lock** 文件, 并使用 **pod repo update **更新本地代码仓库, 之后使用 **pod update** 重新更新即可。
|
|
1413
1218
|
|
|
1414
|
-

|
|
1415
|
-
|
|
1416
|
-
|
|
1417
1219
|
#### 2. 使用本地集成时,Pod依赖版本不匹配问题
|
|
1418
1220
|
|
|
1419
|
-
|
|
1221
|
+
若您使用DevelopPods集成时 出现 插件依赖的 **TUICore **版本较新,但本地 Pod 依赖的版本号是 **1.0.0** ,
|
|
1420
1222
|
|
|
1421
1223
|
此时请您参见 [Podfile_local](https://github.com/TencentCloud/TIMSDK/blob/master/iOS/Demo/Podfile_local) 和 [TUICore.spec](https://github.com/TencentCloud/TIMSDK/blob/master/iOS/TUIKit/TUICore/TUICore.podspec) , 插件需要跟随版本,需要和 TUICore.spec 中一致,正常情况下我们会帮您修改为一致。
|
|
1422
1224
|
|
|
1423
1225
|
第一次使用本地集成时,建议您下载我们的示例 Demo 工程,将 Podfile 文件内容替换为 Podfile_local 的内容,执行 **Pod update **后相互参照。
|
|
1424
|
-
|
|
1425
|
-

|
|
1426
|
-
|
|
1427
|
-
|