-
Notifications
You must be signed in to change notification settings - Fork 106
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
iOS Build Error - 'Razorpay/Razorpay-Swift.h' file not found #455
Comments
I'm facing the same issue while using Device: Macbook Air m1 |
@vijayasekharreddyp Change your xcode architecture to rosetta and check. |
Latest version of Xcode on another Mac is not having this issue |
On which chip your mac running? |
I am running on Apple Mac Book Pro M3 and facing same issue. Have created a sample repo for the same @rifad4u Can you please check once |
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 :
Open
Package.json
. > Copyreact-native-razorpay
version here."react-native-razorpay": "^2.3.0",
Xcode Version (iOS) :
Open Xcode > Go to
About Xcode
> copy the Xcode version here.Version 12.5 (12E262)
Razorpay-pod version (iOS) :
Go to your project path > Go to folder named
ios
> open 'podfile.lock' file > search for 'razorpay-pod' > copy the line hereJava and Gradle Version (android) :
Specify your Java and Gradle version.
What you did:
I tried to run Build from Xcode
What happened:
Got below error
Lexical or Preprocessor Issue
'Razorpay/Razorpay-Swift.h' file not found
RazorpayCheckout.m
At line no 12
#import <Razorpay/Razorpay-Swift.h>
The text was updated successfully, but these errors were encountered: