PaoloGi / nexi_payment

Flutter plugin for Nexi Payment integration (XPay). Supports Web View payment
MIT License
2 stars 11 forks source link

Swift Compiler Error (Xcode): No such module 'XPaySDK' #12

Open alextarana opened 5 months ago

alextarana commented 5 months ago

Swift Compiler Error (Xcode): No such module 'XPaySDK'

PaoloGi commented 4 months ago

I do not have this error Have you been able to resolve it ?

alextarana commented 4 months ago

Nope, still having the issue On 10 May 2024 at 17:28 +0200, PaoloGi @.***>, wrote:

I do not have this error Have you been able to resolve it ? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

andemengo commented 4 months ago

Hi @PaoloGi and @alextarana I patched it in my code forcing to use Nexi_XPay (1.2.9) instead of (1.4.6) in the Podfile.lock

plmcst96 commented 1 month ago
Screenshot 2024-08-08 alle 17 08 33

Hi, I have the same problem, but @andemengo's solution doesn't work in my project. You can Help me?

andemengo commented 1 month ago
Screenshot 2024-08-08 alle 17 08 33

Hi, I have the same problem, but @andemengo's solution doesn't work in my project. You can Help me?

Hi, I can try! Could you share your Podfile.lock? Thanks. (Beacuse in my case the problem was related to a pub update that changed few libraries also used by nexi_payment).

plmcst96 commented 1 month ago

Yes for me it's the same, I also used the pub next_payment. Thanks for your help ! This is my Podfile.lock: PODS:

DEPENDENCIES:

SPEC REPOS: trunk:

EXTERNAL SOURCES: app_links: :path: ".symlinks/plugins/app_links/ios" connectivity_plus: :path: ".symlinks/plugins/connectivity_plus/darwin" file_picker: :path: ".symlinks/plugins/file_picker/ios" Flutter: :path: Flutter flutter_email_sender: :path: ".symlinks/plugins/flutter_email_sender/ios" flutter_exit_app: :path: ".symlinks/plugins/flutter_exit_app/ios" flutter_inappwebview_ios: :path: ".symlinks/plugins/flutter_inappwebview_ios/ios" flutter_keyboard_visibility: :path: ".symlinks/plugins/flutter_keyboard_visibility/ios" flutter_native_splash: :path: ".symlinks/plugins/flutter_native_splash/ios" geocoding_ios: :path: ".symlinks/plugins/geocoding_ios/ios" geolocator_apple: :path: ".symlinks/plugins/geolocator_apple/ios" image_picker_ios: :path: ".symlinks/plugins/image_picker_ios/ios" nexi_payment: :path: ".symlinks/plugins/nexi_payment/ios" open_file: :path: ".symlinks/plugins/open_file/ios" path_provider_foundation: :path: ".symlinks/plugins/path_provider_foundation/darwin" permission_handler_apple: :path: ".symlinks/plugins/permission_handler_apple/ios" pointer_interceptor_ios: :path: ".symlinks/plugins/pointer_interceptor_ios/ios" shared_preferences_foundation: :path: ".symlinks/plugins/shared_preferences_foundation/darwin" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" webview_flutter_wkwebview: :path: ".symlinks/plugins/webview_flutter_wkwebview/ios"

SPEC CHECKSUMS: app_links: e70ca16b4b0f88253b3b3660200d4a10b4ea9795 connectivity_plus: ddd7f30999e1faaef5967c23d5b6d503d10434db DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 file_picker: 817ab1d8cd2da9d2da412a417162deee3500fc95 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 flutter_email_sender: 10a22605f92809a11ef52b2f412db806c6082d40 flutter_exit_app: f2e47c6d0b9c5137c33fab74bc4a9d5d54113bdc flutter_inappwebview_ios: 97215cf7d4677db55df76782dbd2930c5e1c1ea0 flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069 flutter_native_splash: edf599c81f74d093a4daf8e17bd7a018854bc778 geocoding_ios: d7460f56e80e118d57678efe5c2cdc888739ff18 geolocator_apple: 6cbaf322953988e009e5ecb481f07efece75c450 image_picker_ios: b545a5f16c0fa88e3ecbbce3ed4de45567a8ec18 nexi_payment: 16aa9f86a00369c8b41704f15cf0d0e3ba5998be Nexi_XPay: ed96855029e3b9fb21be07e79e16656c7e6f8f35 open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2 pointer_interceptor_ios: 508241697ff0947f853c061945a8b822463947c1 SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586 webview_flutter_wkwebview: 2a23822e9039b7b1bc52e5add778e5d89ad488d1

PODFILE CHECKSUM: 53c9414f86d2ea46d5da661b739f619265a12e02

COCOAPODS: 1.15.2

andemengo commented 1 month ago

Yes for me it's the same, I also used the pub next_payment. Thanks for your help !

This is my Podfile.lock:

PODS:

  • app_links (0.0.1):

    • Flutter
  • connectivity_plus (0.0.1):

    • Flutter

    • FlutterMacOS

  • DKImagePickerController/Core (4.3.9):

    • DKImagePickerController/ImageDataManager

    • DKImagePickerController/Resource

  • DKImagePickerController/ImageDataManager (4.3.9)

  • DKImagePickerController/PhotoGallery (4.3.9):

    • DKImagePickerController/Core

    • DKPhotoGallery

  • DKImagePickerController/Resource (4.3.9)

  • DKPhotoGallery (0.0.19):

    • DKPhotoGallery/Core (= 0.0.19)

    • DKPhotoGallery/Model (= 0.0.19)

    • DKPhotoGallery/Preview (= 0.0.19)

    • DKPhotoGallery/Resource (= 0.0.19)

    • SDWebImage

    • SwiftyGif

  • DKPhotoGallery/Core (0.0.19):

    • DKPhotoGallery/Model

    • DKPhotoGallery/Preview

    • SDWebImage

    • SwiftyGif

  • DKPhotoGallery/Model (0.0.19):

    • SDWebImage

    • SwiftyGif

  • DKPhotoGallery/Preview (0.0.19):

    • DKPhotoGallery/Model

    • DKPhotoGallery/Resource

    • SDWebImage

    • SwiftyGif

  • DKPhotoGallery/Resource (0.0.19):

    • SDWebImage

    • SwiftyGif

  • file_picker (0.0.1):

    • DKImagePickerController/PhotoGallery

    • Flutter

  • Flutter (1.0.0)

  • flutter_email_sender (0.0.1):

    • Flutter
  • flutter_exit_app (1.1.2):

    • Flutter
  • flutter_inappwebview_ios (0.0.1):

    • Flutter

    • flutter_inappwebview_ios/Core (= 0.0.1)

    • OrderedSet (~> 5.0)

  • flutter_inappwebview_ios/Core (0.0.1):

    • Flutter

    • OrderedSet (~> 5.0)

  • flutter_keyboard_visibility (0.0.1):

    • Flutter
  • flutter_native_splash (0.0.1):

    • Flutter
  • geocoding_ios (1.0.5):

    • Flutter
  • geolocator_apple (1.2.0):

    • Flutter
  • image_picker_ios (0.0.1):

    • Flutter
  • nexi_payment (1.0.0):

    • Flutter

    • Nexi_XPay

  • Nexi_XPay (1.4.6)

  • open_file (0.0.1):

    • Flutter
  • OrderedSet (5.0.0)

  • path_provider_foundation (0.0.1):

    • Flutter

    • FlutterMacOS

  • permission_handler_apple (9.3.0):

    • Flutter
  • pointer_interceptor_ios (0.0.1):

    • Flutter
  • SDWebImage (5.19.2):

    • SDWebImage/Core (= 5.19.2)
  • SDWebImage/Core (5.19.2)

  • shared_preferences_foundation (0.0.1):

    • Flutter

    • FlutterMacOS

  • SwiftyGif (5.4.5)

  • url_launcher_ios (0.0.1):

    • Flutter
  • webview_flutter_wkwebview (0.0.1):

    • Flutter

DEPENDENCIES:

  • app_links (from .symlinks/plugins/app_links/ios)

  • connectivity_plus (from .symlinks/plugins/connectivity_plus/darwin)

  • file_picker (from .symlinks/plugins/file_picker/ios)

  • Flutter (from Flutter)

  • flutter_email_sender (from .symlinks/plugins/flutter_email_sender/ios)

  • flutter_exit_app (from .symlinks/plugins/flutter_exit_app/ios)

  • flutter_inappwebview_ios (from .symlinks/plugins/flutter_inappwebview_ios/ios)

  • flutter_keyboard_visibility (from .symlinks/plugins/flutter_keyboard_visibility/ios)

  • flutter_native_splash (from .symlinks/plugins/flutter_native_splash/ios)

  • geocoding_ios (from .symlinks/plugins/geocoding_ios/ios)

  • geolocator_apple (from .symlinks/plugins/geolocator_apple/ios)

  • image_picker_ios (from .symlinks/plugins/image_picker_ios/ios)

  • nexi_payment (from .symlinks/plugins/nexi_payment/ios)

  • open_file (from .symlinks/plugins/open_file/ios)

  • path_provider_foundation (from .symlinks/plugins/path_provider_foundation/darwin)

  • permission_handler_apple (from .symlinks/plugins/permission_handler_apple/ios)

  • pointer_interceptor_ios (from .symlinks/plugins/pointer_interceptor_ios/ios)

  • shared_preferences_foundation (from .symlinks/plugins/shared_preferences_foundation/darwin)

  • url_launcher_ios (from .symlinks/plugins/url_launcher_ios/ios)

  • webview_flutter_wkwebview (from .symlinks/plugins/webview_flutter_wkwebview/ios)

SPEC REPOS:

trunk:

- DKImagePickerController

- DKPhotoGallery

- Nexi_XPay

- OrderedSet

- SDWebImage

- SwiftyGif

EXTERNAL SOURCES:

app_links:

:path: ".symlinks/plugins/app_links/ios"

connectivity_plus:

:path: ".symlinks/plugins/connectivity_plus/darwin"

file_picker:

:path: ".symlinks/plugins/file_picker/ios"

Flutter:

:path: Flutter

flutter_email_sender:

:path: ".symlinks/plugins/flutter_email_sender/ios"

flutter_exit_app:

:path: ".symlinks/plugins/flutter_exit_app/ios"

flutter_inappwebview_ios:

:path: ".symlinks/plugins/flutter_inappwebview_ios/ios"

flutter_keyboard_visibility:

:path: ".symlinks/plugins/flutter_keyboard_visibility/ios"

flutter_native_splash:

:path: ".symlinks/plugins/flutter_native_splash/ios"

geocoding_ios:

:path: ".symlinks/plugins/geocoding_ios/ios"

geolocator_apple:

:path: ".symlinks/plugins/geolocator_apple/ios"

image_picker_ios:

:path: ".symlinks/plugins/image_picker_ios/ios"

nexi_payment:

:path: ".symlinks/plugins/nexi_payment/ios"

open_file:

:path: ".symlinks/plugins/open_file/ios"

path_provider_foundation:

:path: ".symlinks/plugins/path_provider_foundation/darwin"

permission_handler_apple:

:path: ".symlinks/plugins/permission_handler_apple/ios"

pointer_interceptor_ios:

:path: ".symlinks/plugins/pointer_interceptor_ios/ios"

shared_preferences_foundation:

:path: ".symlinks/plugins/shared_preferences_foundation/darwin"

url_launcher_ios:

:path: ".symlinks/plugins/url_launcher_ios/ios"

webview_flutter_wkwebview:

:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"

SPEC CHECKSUMS:

app_links: e70ca16b4b0f88253b3b3660200d4a10b4ea9795

connectivity_plus: ddd7f30999e1faaef5967c23d5b6d503d10434db

DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c

DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60

file_picker: 817ab1d8cd2da9d2da412a417162deee3500fc95

Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7

flutter_email_sender: 10a22605f92809a11ef52b2f412db806c6082d40

flutter_exit_app: f2e47c6d0b9c5137c33fab74bc4a9d5d54113bdc

flutter_inappwebview_ios: 97215cf7d4677db55df76782dbd2930c5e1c1ea0

flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069

flutter_native_splash: edf599c81f74d093a4daf8e17bd7a018854bc778

geocoding_ios: d7460f56e80e118d57678efe5c2cdc888739ff18

geolocator_apple: 6cbaf322953988e009e5ecb481f07efece75c450

image_picker_ios: b545a5f16c0fa88e3ecbbce3ed4de45567a8ec18

nexi_payment: 16aa9f86a00369c8b41704f15cf0d0e3ba5998be

Nexi_XPay: ed96855029e3b9fb21be07e79e16656c7e6f8f35

open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d

OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c

path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c

permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2

pointer_interceptor_ios: 508241697ff0947f853c061945a8b822463947c1

SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a

shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695

SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4

url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586

webview_flutter_wkwebview: 2a23822e9039b7b1bc52e5add778e5d89ad488d1

PODFILE CHECKSUM: 53c9414f86d2ea46d5da661b739f619265a12e02

COCOAPODS: 1.15.2

I see Nexi_XPay (1.4.6) Change it with 1.2.9, clean and build again. Please do not update any dependencies only flutter clean, pub get, and build. Let me know!