Closed piyusha89 closed 4 years ago
Are you using version 1.4.5 of this plugin? Can you confirm first line from Razorpay-swift.h
file?
Yes I am using the latest version of razorpay-cordova the first line of Razorpay-swift.h is: // Generated by Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
This is not the latest version, please put 1.4.5
in package.json and re-install
Update Razorpay plugin version but error not resolve
Can You please help me on this issue. I am not able to create an iOS app using Razorpay plugin. If this issue not resolve. I should need to move on the Paytm payment gateway.
Was facing same issue, Tried to downgrade com.razorpay.cordova@1.4.3 "com.razorpay.cordova": "^1.4.3" in package.json in plugins/main.h => #import <Razorpay/Razorpay-Swift.h> in build settings => always embedded swift libraries was true add razorpay framework in embedded binaries worked for me, might help you also
to downgrade cordova plugin rm com.razorpay.cordova cordova plugin add com.razorpay.cordova@1.4.3 --save
It's recommended to use xcode 10.2 and latest version of com.razorpay.cordova
package, which is 1.4.5
. If multiple xcode are installed on your system, make sure, version 10.2 is selected in xcode > preferences > locations:
To check if latest version of razorpay plugin is installed, you can simply check initial lines of Razorpay-swift.h
file, if first line is // Generated by Apple Swift version 4.2.1
then razorpay plugin being used is not the latest one.
We can have a remote session to debug the issue if it doesn't work for you.
@pronav Thanks for the reply, I am using one xcode version is 10.1 and it is selected in location tab Every thing was working for me unless com.razorpay.cordova@1.4.3 as I tried to release a new version of my app it picked the latest version com.razorpay.cordova@1.4.5 and error started to come, after debugging what has changed found this. I will try upgrading the xcode10.2 com.razorpay.cordova@1.4.5 and let you know if it doesn't work.
Hi,
I am getting the following warning "Not running swift-stdlib-tool: ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES is enabled, but the product type 'Static Library' is not a wrapper type."
Even if I ignore this warning and try to upload the app to App Store, it says that the SwiftSupport Folder is empty.
I am using ionic 3. Xcode: 10.1 MacOS: 10.13.6
Please help as my app is not getting uploaded.
Thank you.
Hello,
I'm on Xcode 11.2.1 with "com.razorpay.cordova": "^1.4.8". Is anyone facing similar issue? And how did you guys resolve this?
Regards
yes facing same issue with Xcode 11.2.1
On Thu, Nov 28, 2019 at 12:01 AM Tushar Deo notifications@github.com wrote:
Hello,
I'm on Xcode 11.2.1 with "com.razorpay.cordova": "^1.4.8". Is anyone facing similar issue? And how did you guys resolve this?
Regards
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/razorpay/razorpay-cordova/issues/104?email_source=notifications&email_token=AEWFZC2UZEIRY6F4EJDQITLQV24HDA5CNFSM4HPUCN52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKMN2A#issuecomment-559204072, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWFZC3JJV5MFDTU5M54EATQV24HDANCNFSM4HPUCN5Q .
Any contributors still active here? Waiting for this plugin to sort out. waiting for the app to release to patch.
Hello,
I'm on Xcode 11.2.1 with "com.razorpay.cordova": "^1.4.8". Is anyone facing similar issue? And how did you guys resolve this?
Regards
I am facing same problem
@tusharvikky @cooldp007 Hey... Check this out https://github.com/razorpay/react-native-razorpay/issues/83#issuecomment-394285167
It worked for me You have to allow two configurations under build settings.
//:configuration = Debug ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
//:configuration = Release ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
//:completeSettings = some ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
AND
//:configuration = Debug ENABLE_BITCODE = YES
//:configuration = Release ENABLE_BITCODE = YES
//:completeSettings = some ENABLE_BITCODE
Second, you have to change "Embed and sign" in general > Linked frameworks and Libraries for Razorpay.framwork
@tusharvikky @cooldp007 Hey... Check this out razorpay/react-native-razorpay#83 (comment)
It worked for me You have to allow two configurations under build settings.
//:configuration = Debug ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
//:configuration = Release ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
//:completeSettings = some ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
AND
//:configuration = Debug ENABLE_BITCODE = YES
//:configuration = Release ENABLE_BITCODE = YES
//:completeSettings = some ENABLE_BITCODE
Second, you have to change "Embed and sign" in general > Linked frameworks and Libraries for Razorpay.framwork
I got following error
@tusharvikky @cooldp007 Hey... Check this out razorpay/react-native-razorpay#83 (comment) It worked for me You have to allow two configurations under build settings. //:configuration = Debug ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES //:configuration = Release ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES //:completeSettings = some ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES AND //:configuration = Debug ENABLE_BITCODE = YES //:configuration = Release ENABLE_BITCODE = YES //:completeSettings = some ENABLE_BITCODE Second, you have to change "Embed and sign" in general > Linked frameworks and Libraries for Razorpay.framwork
I got following error
Am Also getting the same error. Any resolution please?
Closing this issue due to no activity. Please feel free to either re-open the issue or create a new issue if you have any additional queries.
I am getting an error when I am creating the iOS Cordova build:
ERROR:
I am using the latest Xcode 10.2.1 I am also using the Razorpay framework in embedded binaries and linked frameworks.
Please resolve this issue I need to create the app and launched on the App store ASAP.