Closed ajoykarmakar459 closed 3 years ago
Hey @ajoykarmakar459, try updating your Cocoapod in your system to the latest version and then try to add the plugin again. You can also try removing your ios platform and adding it again, this will also reset your older settings to the latest one.
I have reinstall ruby, cocoapods so all of these are completely newer versions and the project is set up newly so the settings are all in the latest version. It's only good for the android version?
@ajoykarmakar459 As said in the above issue logs, there is an issue from Cocoapods. Please try to debug it further. This issue is not related to Razorpay.
Please go through these issues,
Missing install instructions for linux (install deps) CocoaPods/CocoaPods#9956 [open] [1 comment] 5 weeks ago
ArgumentError - invalid byte sequence in US-ASCII CocoaPods/CocoaPods#2385 [closed] [5 comments] 08 Sep 2020
Pod install fails on invalid byte sequence while having LANG=en_US.UTF-8 in profile CocoaPods/CocoaPods#5780 [closed] [10 comments] 26 Nov 2020.
Yes, you are right but when I remove the package and re-run pod install everything goes well as expected and that's made me think about this package.
@ajoykarmakar459 have you gone through the above mentioned issues?
Okay, this specific command and the version fix the problem -
sudo gem uninstall cocoa pods
sudo gem install cocoapods -v 1.7.5
Is the SDK available to check in iOS simulator? because nothing happened when try in the simulator. no warning, no error.
Hey @ajoykarmakar459, please see our Sample App implementation. It looks like you have missed something there.
Closing this issue due to inactivity, assuming you are able to solve this issue from yourself. Feel free to add comments here. Thanks.
Packaged installed and everything works as expected in android but when I tried
pod install
for the iOS build through some error. [Note - I have tried also the manual link method but the same error got]. If I remove react-native-razorpay package from my project then thepod install
works again.Package.json -
Pod Log -
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile:
Auto-linking React Native modules for target
ProjectName
: RNBootSplash, RNCAsyncStorage, RNCClipboard, RNCMaskedView, RNCPicker, RNDateTimePicker, RNFastImage, RNGestureHandler, RNReanimated, RNScreens, RNVectorIcons, react-native-geolocation-service, react-native-razorpay, and react-native-safe-area-context Analyzing dependencies――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
Plugins
Podfile
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=invalid+byte+sequence+in+US-ASCII&type=Issues
If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Missing install instructions for linux (install deps) https://github.com/CocoaPods/CocoaPods/issues/9956 [open] [1 comment] 5 weeks ago
ArgumentError - invalid byte sequence in US-ASCII https://github.com/CocoaPods/CocoaPods/issues/2385 [closed] [5 comments] 08 Sep 2020
Pod install fails on invalid byte sequence while having LANG=en_US.UTF-8 in profile https://github.com/CocoaPods/CocoaPods/issues/5780 [closed] [10 comments] 26 Nov 2020
and 21 more at: https://github.com/cocoapods/cocoapods/search?q=invalid%20byte%20sequence%20in%20US-ASCII&type=Issues&utf8=✓