[iOS] broken build because of libRazorpayCheckout.a
See original GitHub issueAll was ok, but couple of days ago my iOS build has been broken with this error:
Undefined symbols for architecture arm64: "_OBJC_CLASS_$__TtC8Razorpay8Razorpay", referenced from: objc-class-ref in libRazorpayCheckout.a(RazorpayCheckout.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can get rid of this error only by removing libRazorpayCheckout.a
from Project target -> General -> Linked Frameworks and Libraries. But this is not acceptable. So why could it happen?
RN: 0.44.0 react-native-razorpay: 1.4.2 Xcode: 9.2
Issue Analytics
- State:
- Created 5 years ago
- Comments:39 (17 by maintainers)
Top Results From Across the Web
react-native-razorpay/CHANGELOG.md - UNPKG
13, - React native app is crashing after confirming payment with razorpay test key? ... 195, - \[iOS\] broken build because of libRazorpayCheckout.a...
Read more >error Failed to build iOS project. We ran "xcodebuild ...
The first solution worked for me. My case was that I moved a react-native project in another folder. That broke the npm run...
Read more >iOS | Apple Developer Forums
I have no idea what can cause this, as it seems there is no problem with build itself. Provisioning profile used is type...
Read more >Fix Broken React Native Projects in Xcode 10 - YouTube
In this video we'll learn how to fix an issue where you're unable to build a React Native app in Xcode 10. If...
Read more >Build Troubleshooting - Visual Studio App Center
The guides in this section provide general troubleshooting tips for App Center Build. General Tips. If you're unsure how to diagnose your issue, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
it was not header search path , but “framework search path” where I needed to put the line “$(PROJECT_DIR)/…/node_modules/react-native-razorpay/ios/” and now its working
Razorpay Version: 2.1.32 Xcode: 11.2.1
Error: clang: error: no such file or directory: ‘/Users/ankit/Library/Developer/Xcode/DerivedData/Panasonic_MTP_RN-hfrkrwdcstywuqgdvsifxtbhscqz/Build/Products/Debug-iphonesimulator/libRazorpayCheckout.a’ Command Ld failed with a nonzero exit code
Almost tried everything, framework path, Always Embed Libraries, linking process. Although, removing “libRazorpayCheckout.a” file from Frameworks, libraries and embedded content, removes the error but it doesn’t resolve the purpose.