Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ymex opened this issue Sep 20, 2024 · 1 comment

Comments

@ymex
Copy link

ymex commented Sep 20, 2024

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:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.
@ymex
Copy link
Author

ymex commented Sep 21, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant