-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build issue for iOS #85
Comments
@santu-git add Razorpay framework in both embedded libraries and linked framework section. |
Hi,
/Users/AppInteract/src/AiPlatform/AiGenerator/1bf90207-234f-417b-8c8f-5c93618a0b9a/platforms/ios/360 Driving School/Plugins/com.razorpay.cordova/Razorpay/Main.m:3:21: error: cannot find protocol
|
@subbu-nama replace import <Razorpay/Razorpay.h> with import <Razorpay/Razorpay-Swift.h> in your main.m file |
I am getting this error while run the cordova iOS project dyld: Symbol not found: _$SBOWV |
@NimaiUser add razorpay.framework to embedded binaries section and also set AlwaysEmbedSwiftStandardLibraries to yes in build settings. |
@NimaiUser which Xcode version are you using? |
9.4.1 |
@NimaiUser did you go through the readme? it is clearly mentioned that this framework is meant for Xcode 10 and above.Please go through the readme for further clarifications. |
Okay. Let me check |
It's Working fine. Thanks a lot. |
i used xcode 10.1 but same issue occoured |
@shokeen-mohseen pls reopen issues before commenting.Anyway go through the readme , you have to update to the latest version of our package to be able to run it on Xcode 10+ |
I also face the issue when I build for iOS. The following build commands failed: |
Hi The following build commands failed: |
@subbu-nama Did you manage to fix it? I am also getting the same errors. |
Note: Make sure that you set Always Embed Swift Standard Libraries of your
main target to yes.
Note: Remember to enable bitcode on your iOS project. We support Xcode 11+
versions.
--
*Regards,*
*Mohd Imran*
*Hybrid app Developer*
*Misha Infotech Pvt Ltd.*
*Email: m <imran.m@mishainfotech.com>ohdimran088@gmail.com
<ohdimran088@gmail.com>*
…On Wed, Oct 7, 2020 at 4:11 PM Nishant Gaurav ***@***.***> wrote:
Hi,
Iam getting the following issue. can you guys help on this.
/Users/AppInteract/src/AiPlatform/AiGenerator/1bf90207-234f-417b-8c8f-5c93618a0b9a/platforms/ios/360
Driving School/Plugins/com.razorpay.cordova/Razorpay/Main.m:3:21: error:
cannot find protocol
declaration for 'RazorpayPaymentCompletionProtocolWithData'
@interface <https://github.com/interface> Main ()
<RazorpayPaymentCompletionProtocolWithData,
ExternalWalletSelectionProtocol> {
^
/Users/AppInteract/src/AiPlatform/AiGenerator/1bf90207-234f-417b-8c8f-5c93618a0b9a/platforms/ios/360
Driving School/Plugins/com.razorpay.cordova/Razorpay/Main.m:3:64: error:
cannot find protocol
declaration for 'ExternalWalletSelectionProtocol'
@interface <https://github.com/interface> Main ()
<RazorpayPaymentCompletionProtocolWithData,
ExternalWalletSelectionProtocol> {
^
/Users/AppInteract/src/AiPlatform/AiGenerator/1bf90207-234f-417b-8c8f-5c93618a0b9a/platforms/ios/360
Driving School/Plugins/com.razorpay.cordova/Razorpay/Main.m:4:3: error:
unknown type name 'Razorpay'
Razorpay *razorpay;
^
/Users/AppInteract/src/AiPlatform/AiGenerator/1bf90207-234f-417b-8c8f-5c93618a0b9a/platforms/ios/360
Driving School/Plugins/com.razorpay.cordova/Razorpay/Main.m:19:15: error:
use of undeclared identifier
'Razorpay'
razorpay = [Razorpay initWithKey:(NSString *)[options objectForKey:@"key"]
^
4 errors generated.
- BUILD FAILED *
How did you manage to fix it? I am also getting the same errors.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4X2Y6YHBWRZZLIE4Q5HJTSJRAWHANCNFSM4F3V4R2Q>
.
|
Still getting the same errors. Set Always Embed Swift Standard Libraries to Yes and enable bitcode to Yes. Cleared derived data as well. Attaching error log below. /Users/nishantgaurav/app/platforms/ios/heroapp/Plugins/com.razorpay.cordova/Main.m:3:9: error: unknown type name 'RazorpayCheckout' |
Hi @nishantrunning, Please try to update your Xcode and the |
Already did that. Adding the version info below Xcode 12 Following are the steps I followed. Updated pod The issue still persists. @Nautiyalsachin Have you verified if this works on Xcode 12? |
Hi @nishantrunning, we have these example repositories created, please try to clone it in your system and try to replicate the same on the examples. Let me know if you want any more help. |
XCode Version - 10.0 (10A255)
Razor pay package version - com.razorpay.cordova@1.3.6
I am getting following error in ios
dyld: Symbol not found: __T0BOWV
Referenced from: /Users/santu/Library/Developer/CoreSimulator/Devices/12128650-76DA-4949-9117-126FB8551C8F/data/Containers/Bundle/Application/4D60BD12-B924-443B-B490-C0D4319BD1E1/ilovecycling.app/Frameworks/Razorpay.framework/Razorpay
Expected in: /Users/santu/Library/Developer/CoreSimulator/Devices/12128650-76DA-4949-9117-126FB8551C8F/data/Containers/Bundle/Application/4D60BD12-B924-443B-B490-C0D4319BD1E1/ilovecycling.app/Frameworks/libswiftCore.dylib
in /Users/santu/Library/Developer/CoreSimulator/Devices/12128650-76DA-4949-9117-126FB8551C8F/data/Containers/Bundle/Application/4D60BD12-B924-443B-B490-C0D4319BD1E1/ilovecycling.app/Frameworks/Razorpay.framework/Razorpay
The text was updated successfully, but these errors were encountered: