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

Không thể build được trên IOS #8

Open
DatUET opened this issue Sep 19, 2023 · 7 comments
Open

Không thể build được trên IOS #8

DatUET opened this issue Sep 19, 2023 · 7 comments

Comments

@DatUET
Copy link

DatUET commented Sep 19, 2023

Sau khi mình có setup theo hướng dẫn. Nhưng hiện tại đang bị lỗi
Module compiled with Swift 5.4 cannot be imported by the Swift 5.8.1 compiler: ...../ios/.symlinks/plugins/flutter_zalopay_sdk/ios/zpdk.framework/Modules/zpdk.swiftmodule/arm64.swiftmodule
..../ios/Runner/AppDelegate.swift:2:7

Flutter version: 3.13.4
Xcode version: 14.3.1

@DatUET DatUET changed the title Không thể build được thư viện trên IOS Không thể build được trên IOS Sep 19, 2023
@damhung-1510
Copy link

Mình cũng đang bị lỗi nay. @DatUET Bạn đã resolve đc issue chưa?

@damhung-1510
Copy link

Screenshot 2023-11-19 at 15 24 57
Mình nghĩ có lỗi ở dòng: if(call.method=="payorder") bạn thử fork về rồi sửa thành: if(call.method == "payorder") xem. Mình chạy đc á.

@DatUET
Copy link
Author

DatUET commented Nov 19, 2023

lỗi mình gặp là do sdk zalopay cung cấp thấy quá phải liên hệ trực tiếp để build lại sdk

@damhung-1510
Copy link

@DatUET Bạn config native luôn à?

@damhung-1510
Copy link

@DatUET bạn có SDK mới không cho mình xin với. skype của mình: live:b82ed82c37560a7
Cảm ơn bạn

@tranvietha2809
Copy link
Collaborator

@damhung-1510 error của bạn là do version Swift của bạn và version Swift của lib khác nhau. Không phải của dòng code đấy nhé. Sdk thì bạn có thể tham khảo: https://docs.zalopay.vn/v2/docs/apptoapp/demo.html để lấy lib mới nha

@damhung-1510
Copy link

damhung-1510 commented Dec 6, 2023

@tranvietha2809 Mình có fork repo về máy và build thì nó cũng lỗi k redirect sang bên zlp đc á bạn. status nó trả về là fail. Bạn support mình với mình gửi bạn cốc cafe ạ. :((

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

3 participants