Open Nphadtare2021 opened 6 months ago
Hey @Nphadtare2021, I tried reproducing this but wasn't successful. It seems like a pod cache issue. We have set the react-native-razorpay project to pick the latest pod version directly. Could you try uninstalling the react-native-razorpay package and then reinstalling the package and running pod install
? This should most likely resolve this issue for you.
Hi @vivekshindhe , I had cleared the pod cache,cocoapods cache and system XCODE derived data , still error not resolved
I tested this just before I responded above. Could you let me know if you tried to reinstall the package? @Nphadtare2021
@vivekshindhe , Yes i have uninstall package, then reinstall the package followed by pod install.
@Nphadtare2021 can you share a sample project where you are able to reproduce the issue? Because we aren't able to reproduce the issue.
@malikzype looks like a regression issue in the new xcode version. The same can be found for multiple other libraries. One workaround I found for this for now is to set Build Active Architecture Only
to No
for both debug and prod builds. I was able to archive the project with that setting. Can you please try this once?
Attaching the screenshot for your reference
@malikzype Hey, were you able to test this?
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native Razorpay plugin release to make sure your issue has not already been fixed.
Razorpay Package Version :
"react-native-razorpay": "^2.3.0",
Xcode Version (iOS) :
XCODE Version 13.4 (13F17a)
Razorpay-pod version (iOS) :
pod 'razorpay-pod', '1.3.4'
System Setup :
Versions: react = 17.0.2 react-native = 0.64.4 react-native-razorpay = ^2.3.0, CocoaPods = 1.11.3 razorpay-pod (1.3.4) Xcode = Version 13.4 (13F17a)
What you did:
i have integrated the razorpay using COCOAPOD by adding " pod 'razorpay-pod', '1.3.4'" in pod file . My build is getting successfully build using XCODE, but while I am trying to ARCHIVE i m getting ERROR!!
What happened:
Got Following Error: Lexical or Preprocessor Issue : 'Razorpay/Razorpay-Swift.h' file not found.