Comments (13)
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.
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.
Thanks. I like what you are doing if you need any help let me know.
from esewa_pnp.
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.
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.
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.
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.
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.
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.
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.
Same error when I build for release.
from esewa_pnp.
Can you message me on facebook? I could assist you there.
Link: https://m.me/ayyshim
from esewa_pnp.
Issue Solve after 1.0.3 version.
from esewa_pnp.
Related Issues (20)
- Build failed with an exception after adding esewa_pnp: ^1.0.4 in dependency HOT 5
- Bug: HOT 2
- Bug: App doesnot build with error "Direct local .aar file dependencies are not supported when building an AAR." HOT 1
- Double value not supported by amount
- Could not find module 'EsewaSDK' for target 'x86_64-apple-ios-simulator' HOT 6
- Supports for MacOS and Windows ? HOT 1
- i cannot run my app after installing esewa pnp 1.0.7 HOT 3
- Bug: module compiled with Swift 5.3.1 cannot be imported by the Swift 5.4 compiler
- Bug: Execution failed for task ':esewa_pnp:bundleDebugAar'. HOT 1
- Bug: Module compiled with Swift 5.4 cannot be imported by the Swift 5.5 compiler HOT 10
- Build failed on android: HOT 2
- Build Failed on ios :Module compiled with Swift 5.5.1 cannot be imported by the Swift 5.5.2 compiler HOT 1
- Bug: Couldn't Login in Live Environment HOT 1
- Bug: Build Failed on Android Direct local .aar file dependencies are not supported when building an AAR. HOT 3
- Bug: Module compile error HOT 1
- Invalid username or password even with correct credentials HOT 1
- Swift Compile issue: Missing argument for parameter 'paymentProperties' in call sdk?.initiatePayment HOT 2
- Error: The method 'RaisedButton' isn't defined for the class 'ESewaPaymentButton'.
- error build: Could not find module 'EsewaSDK' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64, HOT 6
- Bug: Module compiled with Swift 5.4 cannot be imported by the Swift 5.7.1 compiler HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esewa_pnp.