As a first-time user trying to set up the SDK for testing and running the official sample demo on iOS simulation in Xcode, I encountered an issue with the "pod install" command. It seems that the official documentation assumes that users have already prepared the necessary environments, which led to continuous failure when running the command.
Here are the specific steps I followed:
I input
ruby -v
to check if Ruby is installed. If it is installed, it should return the current version information, for example:ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin23]
I also checked if the architecture in the brackets at the end of the returned information matches the current chip architecture.
If Ruby is not installed, I understand that I need to follow additional steps to install it.
However, even after ensuring that Ruby is installed with the correct version and architecture, I still encounter issues when running pod install
.
I suspect that there might be other prerequisites or environment setup steps that are not clearly mentioned in the documentation, leading to the failure of the pod install
command.
Could someone please provide a detailed guide on the complete setup process, including all the necessary prerequisites and environment configurations, to successfully run pod install
and set up the SDK for iOS simulation in Xcode? It would be greatly appreciated if the guide could assume minimal prior knowledge and provide step-by-step instructions.