TencentCloud / chat-uikit-flutter

A powerful Flutter chat UI component library and business logic for Tencent Cloud Chat, creating seamless in-app chat modules for delightful user experiences.
https://trtc.io/products/chat?utm_source=gfs&utm_medium=link&utm_campaign=%E6%B8%A0%E9%81%93&_channel_track_key=k6WgfCKn
BSD 3-Clause "New" or "Revised" License
150 stars 108 forks source link

pod 找不到TXIMSDK_Plus_iOS_XCFramework 与 编译时报错:No named parameter with the name 'keepAspectRatio'. #50

Open ymex opened 1 month ago

ymex commented 1 month ago

v2.5.1+5 , v2.6.0 在编译时报错: Running Gradle task 'assembleDebug'... ../../../.pub-cache/hosted/pub.flutter-io.cn/tencent_cloud_chat_uikit-2.5.1+5/lib/ui/views/TIMUIKitChat/TIMUIKitTextField/tim_uikit_more_panel.dart:342:7: Error: No named parameter with the name 'keepAspectRatio'. keepAspectRatio: true, ^^^^^^^^^^^^^^^ ../../../.pub-cache/hosted/pub.flutter-io.cn/tencent_cloud_chat_uikit-2.5.1+5/lib/ui/views/TIMUIKitChat/TIMUIKitTextField/tim_uikit_text_field_layout/wide.dart:598:9: Error: No named parameter with the name 'keepAspectRatio'. keepAspectRatio: true, ^^^^^^^^^^^^^^^ ../../../.pub-cache/hosted/pub.flutter-io.cn/tencent_cloud_chat_uikit-2.5.1+5/lib/ui/views/TIMUIKitChat/TIMUIKitTextField/tim_uikit_text_field_layout/wide.dart:651:15: Error: No named parameter with the name 'keepAspectRatio'. keepAspectRatio: true, ^^^^^^^^^^^^^^^

v2.7.0 , v2.7.1 在 pod install 报错:

[!] CocoaPods could not find compatible versions for pod "TXIMSDK_Plus_iOS_XCFramework": In Podfile: tencent_cloud_chat_sdk (from .symlinks/plugins/tencent_cloud_chat_sdk/ios) was resolved to 8.0.0, which depends on TXIMSDK_Plus_iOS_XCFramework (= 8.1.6129)

None of your spec sources contain a spec satisfying the dependency: TXIMSDK_Plus_iOS_XCFramework (= 8.1.6129).

You have either:

ymex commented 1 month ago

cocoapods 仓库 ,TXIMSDK_Plus_iOS_XCFramework 没有 8.1.6129这个版本 image

目前为只能修改 flutter 自动生成的tencent_cloud_chat_sdk.podspec文件内这个库版:s.dependency 'TXIMSDK_Plus_iOS_XCFramework', "8.1.6122"。