-
Notifications
You must be signed in to change notification settings - Fork 107
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
Dyld Library Error. #83
Comments
Please ensure that Razorpay.framework is present in both the Embedded Binaries and Linked Frameworks in your project settings. Also ensure that Always Embed Swift Libraries is set to "yes" in the project settings. |
Yes it is Present in both Embedded Binaries and Linked FrameWorks also Always Embed Swift Libraries is set to "Yes. librazorpaycheckout.a also added in Linked Libraries |
Hey Ashish please go through the readme , this will not work on Xcode 9.2 as it is built on Swift 4.1 , you must upgrade to Xcode 9.3 or higher. |
Hey,But I am using RazorPay FrameWork =>Razorpay(with bit code enabled) | 1.0.15 | Swift 3.1, |
We have no framework that supports Xcode 9.2 as of now , even 1.0.15 will not work as it is compiled with Swift 3 and Xcode 9.2 does not support it.I suggest you to upgrade to Xcode 9.3 and above and use version 1.0.16. |
Okay,Thanks For Quick Reply.Will Update the Xcode and then Update the Status here |
sure. |
Give me your team viewer credentials and a phone number , we'll fix this . |
Okay,Your Email ID Please |
Sent!!!! |
I'm facing the same issue in Xcode 9.4, any help would be appreciated. |
Please go through the readme and go through the notes specified.And let me know if you still face the issue and the steps you have tried |
@iThink32 I got it working, I was trying to add Razorpay.framework to embedded binaries, but it was not showing in the list, I couldn't see there was another option Add Other. I think you should add this step in wiki, most of the react-native developers are javascript heavy developers than native developers. |
Cool , closing this issue please reopen if any issue persists |
Working Fine When Running in Simulator,but When Running on Device Or Archiving the App it gives Link Error. "libRazorpayCheckout.a(RazorPayEventEmiitter.o) does not contain bitcode. |
Hey ashish , our framework has been shipped with simulator architectures which you have to remove before you create an archive , even though the error says bitcode it actually means this. Follow this link, http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/ |
hey @ashishrokr please reopen issues before commenting. |
How do i remove simulator architectures in order to create archive? |
please follow the link I just sent you. |
hey Ashish , I had helped you a while ago , no worries , ill help you fix it , can you send me your team viewer credentials once again , I guess you already have my id |
Okay!! Thanks !!! |
Do i need to add both the script |
Hey Ashish ,
This script is to be executed on directory containing the razorpay framework , please don’t mix the link is sent you with the script over here.An easier approach would be for you to send me a sample app with a similar error which I can fix and send.
… On 14-Jun-2018, at 2:55 PM, Ashish ***@***.***> wrote:
Do i need to add both the script
1)
#!/bin/sh
Strips unwanted architectures
lipo -remove i386 Razorpay.framework/Razorpay -output Razorpay.framework/Razorpay
lipo -remove x86_64 Razorpay.framework/Razorpay -output Razorpay.framework/Razorpay
rm Razorpay.framework/Modules/Razorpay.swiftmodule/i386.swiftdoc
rm Razorpay.framework/Modules/Razorpay.swiftmodule/i386.swiftmodule
rm Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftdoc
rm Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftmodule
and from this site http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/ <http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#83 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AgkhDSzxBpfNU-SmqE_cKQHoHGuJGg7Gks5t8iwkgaJpZM4UYpFa>.
|
Archive Works Successfully by setting "Enable Bitcode" to "No" in build Setting. Do i Need to add this extra script including the above that you have added when submitting to App Store:- lipo -remove i386 Razorpay.framework/Razorpay -output Razorpay.framework/Razorpay |
Hey Ashish ,
Your not supposed to disable bitcode , your solving the issue at a very
high cost , i'm sorry but I cannot help you further on mail , please try
the link I sent on the sample app mentioned on our react-native repo , i'm
sure it will work.In the last resort I can make the sample app work here
and send you the zip.
…On Thu, Jun 14, 2018 at 3:57 PM Ashish ***@***.***> wrote:
Archive Works Successfully by setting "Enable Bitcode" to "No" in build
Setting.
Do i Need to add extra script when submitting to App Store:-
lipo -remove i386 Razorpay.framework/Razorpay -output
Razorpay.framework/Razorpay
lipo -remove x86_64 Razorpay.framework/Razorpay -output
Razorpay.framework/Razorpay
rm Razorpay.framework/Modules/Razorpay.swiftmodule/i386.swiftdoc
rm Razorpay.framework/Modules/Razorpay.swiftmodule/i386.swiftmodule
rm Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftdoc
rm Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftmodule
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AgkhDct4Gk3812ACUC-D6k1Uk3IhpUgLks5t8jqKgaJpZM4UYpFa>
.
--
*N.A.Shashank ,*
*built for iOS , archived for Software Engineering*
<http://razorpay.com/> <https://www.facebook.com/Razorpay/?ref=br_rs>
<https://twitter.com/Razorpay> <https://www.linkedin.com/company/3788927/>
|
Okay!! |
Giving Following error after update xcode 10 dyld: Symbol not found: __T0BOWV |
Getting the same error. Looks like the framework has complied with Swift 4.1 and XCode by default use Swift 4.2. I further tried using Swift 4.1 compiler but getting the error "Could not find module RazorpayCommonCrypto" which couldn't be resolved even after running the SelectDefaultXcode.sh script as my Xcode name Xcode.app only. Can you please help here. |
Hey @pritamhinger Xcode 10 uses Swift 4.2 and our latest framework uses Swift 4.1 , we are making a release on 28th September.Please wait till or use Xcode 9.4.1 |
@iThink32 is there any workaround for this with Xcode 10? |
@TarunNarula please wait till the end of this week as we are making a major release. |
Getting this error when i try to compile code in Xcode 10 but its working fine in Xcode 9.4.1, Please give me solution for it dyld: Symbol not found: __T0BOWV |
@manojkraftly Please reopen issues before commenting , anyway Xcode 10 requires a framework built on Swift 4.2 but our latest framework is built on Swift 4.1 , please wait until Friday as we are making another release for it. |
Hello Shashank,
Please update me when you launch new sdk for the day because i need to
upload new version of my app.
Regards
Manoj Gupta
…On Tue, Sep 25, 2018 at 8:55 PM Shashank ***@***.***> wrote:
@manojkraftly <https://github.com/manojkraftly> Please reopen issues
before commenting , anyway Xcode 10 requires a framework built on Swift 4.2
but our latest framework is built on Swift 4.1 , please wait until Friday
as we are making another release for it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ai7fojQ9ik-uGCYDkQ-_6HHvILTMDMMzks5uekr7gaJpZM4UYpFa>
.
|
@manojkraftly we are following an incremental release process , iOS will be released first , react - native and Cordova will be released by EOD. |
Today which time i will get latest release for iOS...
…On Fri, Sep 28, 2018 at 11:31 AM Shashank ***@***.***> wrote:
@manojkraftly <https://github.com/manojkraftly> we are following an
incremental release process , iOS will be released first , react - native
and Cordova will be released by EOD.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ai7fotAJ5MmuFdC33efPyVhFLRK4vJC0ks5ufbs7gaJpZM4UYpFa>
.
|
@manojkraftly @TarunNarula @pritamhinger The latest SDK shall be available here: https://razorpay.com/docs/ios/ by EOD. |
closing due to inactivity |
@manojkraftly @TarunNarula @pritamhinger the latest version of our framework has been released please go through the Readme of this repo without fail before you update. |
Getting We are on react-native-razorpay Do you think updating to latest 2.0.x release will fix this? |
@aakashbapna please reopen issues before commenting , anyway our latest release will only work on Xcode 10 and above as it is compiled with Swift 4.2. |
closing due to inactivity. |
Xcode version: 10.1 |
@rishiankush please provide more details as mentioned in the issue and also go through the integration videos mentioned on this link |
@iThink32 my issue resolved by updating to the newest version of this module. I added version 2.0.20 and its resolved. Thanks |
I fixed this by upgrading to the latest Xcode 10.2.1 - but proceed with caution because you might break your RN project by upgrading to 10.2.1 I didn't have any issues though - RN v56. I was using Xcode 10.1 with swift v3.1. After upgrading the Xcode I'm on Swift v5.0.1 |
I have do this but not solve |
I have do all possibility but facing same problem can you help me plz |
@dileepkumarbenbanshi, What Xcode version are you using? |
Specific to iOS Users :-
-Yes I have deleted the contents of the derived data folder and rebuild it.
IDE Specs
Xcode Version (iOS) -->9.2
Razorpay Package Version -->2.0.5 (Downloaded RazorPay FrameWork Swift 3.1 )
React_native Version--0.55.4
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/053EBB13-7618-4E1A-B133-8B1AE4510B58/ul88.app/Frameworks/Razorpay.framework/Razorpay
Reason: image not found
The text was updated successfully, but these errors were encountered: