razorpay / razorpay-ios-sample-app

:iphone: Sample app demonstrating integration of Razorpay iOS Framework
MIT License
14 stars 13 forks source link

dyld: Library not loaded: @rpath/libswiftCore.dylib #9

Closed tapashm42 closed 5 years ago

tapashm42 commented 6 years ago

dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /Users/TapashM/Library/Developer/CoreSimulator/Devices/96FCCDA1-C1EA-4911-8F37-D43067B7DECD/data/Containers/Bundle/Application/19D6C3B5-AB52-4580-B512-707586D184F8/Razorpay Demonstration.app/Frameworks/Razorpay.framework/Razorpay Reason: image not found

Why every time it's giving this issue? I have changed the KEY_ID as well. Please help me .

Beetuyadav commented 6 years ago

dyld: Library not loaded: @rpath/Razorpay.framework/Razorpay Referenced from: /Users/harshvirsingh/Library/Developer/CoreSimulator/Devices/07A5614F-E405-42AC-950F-AC106C74831E/data/Containers/Bundle/Application/5A47DA1F-2DB1-4178-90C1-23D2D61C22D9/4s Milk.app/4s Milk Reason: image not found

Same issue

iThink32 commented 6 years ago

please follow the razorpay integration video in this link,

https://razorpay.com/docs/ios/integration-videos/#integrating-the-sdk-on-ios-framework

iThink32 commented 5 years ago

closing due to inactivity.

RakeshKB commented 5 years ago

Hi All, any update on this issue?

SaravanakumarSubramanian commented 5 years ago

Hey @iThink32 I too faced this issue with ios 12.0 but the build works fine with ios 12.2

dyld`__abort_with_payload:
    0x10f2bf44c <+0>:  movl   $0x2000209, %eax          ; imm = 0x2000209 
    0x10f2bf451 <+5>:  movq   %rcx, %r10
    0x10f2bf454 <+8>:  syscall 
->  0x10f2bf456 <+10>: jae    0x10f2bf460               ; <+20>
    0x10f2bf458 <+12>: movq   %rax, %rdi
    0x10f2bf45b <+15>: jmp    0x10f2bea5d               ; cerror_nocancel
    0x10f2bf460 <+20>: retq   
    0x10f2bf461 <+21>: nop    
    0x10f2bf462 <+22>: nop    
    0x10f2bf463 <+23>: nop  
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/saravana/Library/Developer/CoreSimulator/Devices/E3B4D919-6551-47A0-A434-B4D4CC8C34EA/data/Containers/Bundle/Application/2FF64A6C-759D-4ACC-9CBD-D2CFBBF4C612/wegot.app/Frameworks/Razorpay.framework/Razorpay
  Reason: image not found
tejas-freo commented 4 years ago

I am facing the same issue in Xcode 11.2. My react-native-razorpay version 2.1.31, Swift version 5.1.2. Kindly suggest the solution.