GithubHelp home page GithubHelp logo

Comments (13)

aarjan avatar aarjan commented on July 17, 2024 1

Hey @ayyshim,
I get this error while using the latest version, 1.0.6.

 /flutter/.pub-cache/hosted/pub.dartlang.org/esewa_pnp-1.0.6/ios/Classes/SwiftEsewaPnpPlugin.swift:3:8: error: module compiled with Swift 5.3.1 cannot be imported by the Swift 5.4 compiler:
    /flutter_app/ios/.symlinks/plugins/esewa_pnp/ios/EsewaSDK.framework/Modules/EsewaSDK.swiftmodule/arm64-apple-ios.swiftmodule
   import EsewaSDK
           ^
    /flutter_app/ios/Pods/Reachability/Reachability.m:465:63: warning: cast to smaller integer type 'unsigned int' from 'Reachability *' [-Wpointer-to-int-cast]    
      NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]];
    
    ```
    
    

from esewa_pnp.

ayyshim avatar ayyshim commented on July 17, 2024

I am aware of this error and soon I will work on it. But for now I can't because I have to prepare for exams. Will let you know as soon as this error is fixed.

from esewa_pnp.

AlokMishra01 avatar AlokMishra01 commented on July 17, 2024

Thanks. I like what you are doing if you need any help let me know.

from esewa_pnp.

ayyshim avatar ayyshim commented on July 17, 2024

I have recently published new version, 1.0.3, of this plugin. Please use it.

Read the new README.md file before using new version of this plugin. There are some minor changes from previous version.

You might get error related to cache and if you do, run flutter clean && flutter pub get

from esewa_pnp.

AlokMishra01 avatar AlokMishra01 commented on July 17, 2024

Still showing the same error Swift 5.2.4 cannot be imported by Swift 5.3. I cleaned caches as well using flutter clean and manually too.

from esewa_pnp.

ayyshim avatar ayyshim commented on July 17, 2024

That's very unlikely because plugin is compiled with 5.3.2. Make sure you are using esewa_pnp 1.0.3 and please run flutter clean and flutter pub get.

from esewa_pnp.

AlokMishra01 avatar AlokMishra01 commented on July 17, 2024

Again I tried everything but I get an error Swift 5.3.1 cannot be imported by the Swift 5.3. I am using Xcode 12.1.

from esewa_pnp.

ayyshim avatar ayyshim commented on July 17, 2024

The latest version of xcode is 12.3 and swift is 5.3.2. Please update you xcode to latest version. ESewa ios framework does not support backward compatibility so you and I have to update xcode to use ESewa framework.

from esewa_pnp.

AlokMishra01 avatar AlokMishra01 commented on July 17, 2024

Swift error is solved but now I get error Could not find module 'EsewaSDK for target 'x86_64-apple-ios-simulator; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7

from esewa_pnp.

ayyshim avatar ayyshim commented on July 17, 2024

It seems like you are trying to test esewa_pnp plugin in simulator. Try adding esewa_pnp in your pubspec.yaml file like this

dependencies:
  # esewa_pnp: ^1.0.4 # Use it on production app or while testing esewa_pnp on real physical iOS device.
  esewa_pnp:
      git:
          url: git://github.com/ayyshim/esewa_pnp.git
          ref: dev

from esewa_pnp.

AlokMishra01 avatar AlokMishra01 commented on July 17, 2024

Same error when I build for release.

from esewa_pnp.

ayyshim avatar ayyshim commented on July 17, 2024

Can you message me on facebook? I could assist you there.
Link: https://m.me/ayyshim

from esewa_pnp.

AlokMishra01 avatar AlokMishra01 commented on July 17, 2024

Issue Solve after 1.0.3 version.

from esewa_pnp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.