Showing posts with label iOS. Show all posts
Showing posts with label iOS. Show all posts

11/07/2020

Solved No bundle url present when running React Native on iOS simulator

 There are two main reasons why this happened.


1. Your are unable to connect to the localhost. This can be fixed by tweaking your xcode info.plist. See image below:



2. If you have a history of using VPN or if you are using VPN then you have to turn on your VPN in order to connect to the react native bundler.


In other words, this is a network issue and not a react native issue so make sure to double check your network settings. As for me the cause was the VPN so I need to turn it on when running react native iOS simulator.


Hope this helps

10/08/2020

Solved | Unable to export .p12 certificate in Keychain

The main reason why you can not generate .p12 certificate in your keychain because you are using a Certificate Signing Request that is not related to your mac device in generating that certificate that you want to export as .p12.

My scenario was, I reformat my mac mini and use the Certificate Signing Request that was generated before the reformat thinking that they the same. So I created several certificates using the old Certificate Signing Request and when I tried to export the certificate to .p12, the .p12 file type option was disabled.

disabled p12 certification option

So I tried generating a new Certificate Signing Request and re-generate all the certificates using the new Certificate Signing Request and it worked. The .p12 option is now enabled.