Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on ios after intallation #23

Closed
dharmusharma1981 opened this issue May 2, 2017 · 25 comments
Closed

Not working on ios after intallation #23

dharmusharma1981 opened this issue May 2, 2017 · 25 comments
Assignees

Comments

@dharmusharma1981
Copy link

"react": "16.0.0-alpha.6",
"react-native": "0.43.3",

Im trying to add the example code on ios but after linkin ,
when i try to execute the open code

nuthing happens

Need help in integration of razor pay
and feel like framework file is not updated with npm

@dharmusharma1981
Copy link
Author

On Manual Installation

"OBJC_CLASS$_CTTelephonyNetworkInfo", referenced from:
clang: error: linker command failed with exit code 1 (use -v to see invocation)

seemslike linking is broken

@dharmusharma1981
Copy link
Author

Okie so after installing manual latest .framework files
I got and got a build error

'Razorpay/ExternalWalletSelectionProtocol.h' file not found

seems like this repo xcode project is not updated with latest framework

#import <Razorpay/ExternalWalletSelectionProtocol.h>

@dharmusharma1981
Copy link
Author

'/Users/Dharmu/Library/Developer/Xcode/DerivedData/NightSpot-ezhvskyqpdhlzcfolnvexaxverao/Build/Products/Debug-iphoneos/libRazorpayCheckout.a(RazorpayCheckout.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@dharmusharma1981
Copy link
Author

these lib is really broken and i havent got response from any one
so may be u shd delete this repo

@captn3m0
Copy link
Contributor

captn3m0 commented May 3, 2017

@dharmusharma1981 We are looking into this issue.

@dharmusharma1981
Copy link
Author

Thanks
Well We are almost done with our ecommerce app only thing left is payment gateway integration
Let me know if you need more info from my side

@dharmusharma1981
Copy link
Author

any updates on this issue

@ArcadeRenegade
Copy link

Hi Razorpay team, we would really appreciate any help on this issue. It works great on Android but we just need it to get it to work on iOS and we will be good. We plan to deploy within a month.

@captn3m0
Copy link
Contributor

captn3m0 commented May 4, 2017

Our iOS lead ( @akshaybhalotia) is currently unavailable, which is why this has been taking longer than expected. However, @pronav is looking into the issue, and we expect to have this resolved soon on iOS.

@ArcadeRenegade
Copy link

Thank you for the update @captn3m0

@pronav
Copy link
Contributor

pronav commented May 4, 2017

@dharmusharma1981 I've put up bitcode enabled framework over here: https://github.com/razorpay/razorpay-ios-sample-app/releases/tag/v0.15.0

Error seems to be there because this library downloads non-bitcode version by default. Can you check using bitcode version using manual install method?

@dharmusharma1981
Copy link
Author

Thanks
@pronav Definately I will give a try with above bit code framework and manual installation .
WIll let u know If i face any issue

Thanks for looking into this

@dharmusharma1981
Copy link
Author

Hi @pronav
Tried manual Installation with the link provided above

i m still getting this error

Build/Products/Debug-iphoneos/libRazorpayCheckout.a(RazorpayCheckout.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@pronav
Copy link
Contributor

pronav commented May 5, 2017

@dharmusharma1981 Did you download bitcode enabled version from above link, and not the other one?

Also, can you check by disabling bitcode setting in your project, to make sure this is the only error.

@dharmusharma1981
Copy link
Author

@pronav Yes The same File
Let me try to disable the bitcode setting

@dharmusharma1981
Copy link
Author

Okie after disabling the bit code Setting on my project It compiled and install on my device ,
However When i m trying to call

RazorpayCheckout.open(options).then((data) => {

}

Nuthing happened no razor pay lazy loading ui open

@pronav
Copy link
Contributor

pronav commented May 5, 2017

Checking it.

@dharmusharma1981
Copy link
Author

Thanks @pronav

@akshaybhalotia
Copy link
Contributor

Hey @dharmusharma1981 , I went over the issue with @pronav and found that there seem to be steps missing from your iOS setup. I would highly recommend going over this section: https://github.com/razorpay/react-native-razorpay#additional-steps-for-linking-ios-sdk.

I tested this for the latest and a couple of previous react native versions but it worked fine for me. Looks like a problem particular to your setup so closing the issue.

If the need still be, we can have a TeamViewer session on Monday. Please drop an email to support(at)razorpay.com with your phone number to coordinate.

@dharmusharma1981
Copy link
Author

Do U guys have any idea about it

Undefined symbols for architecture x86_64:
"OBJC_CLASS$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in Razorpay(RazorpayLogging.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@akhilkoinex
Copy link

@dharmusharma1981 , The issue was resolved ?

I am also facing the same error. Would be great if you could help! @akshaybhalotia

@AbhinavArora95
Copy link
Contributor

@akhilkoinex Could you please elaborate, whether you are receiving the same error or is it something else ? Are you using Swift or Objective C ? Also, what minimum iOS version are you building for ?

@akhilkoinex
Copy link

@AbhinavArora95 I am facing the same issue as described in the thread. Using Obj-C. iOS 8

@Mayur-Wadpalliwar
Copy link

Could you please download the mentioned frameworks manually and add them to your project and let us know?

CoreTelephony.framework in Frameworks
SystemConfiguration.framework in Frameworks

@akhilkoinex
Copy link

akhilkoinex commented Nov 1, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants