I created my very first app using Xcode. I've tried it in the simulator and it worked perfectly.
I didn't want to publish it, I just wanted to try it on my iphone.
Here's where problems started. When I tried launching the app in my iphone using Xcode, I've been asked to allow keychain sharing. I clickled on allow and the message came back, so I clicked on deny. After that, an error showed up preventing me to launch the app in my iphone.
I figured out it's becaue I clicked on deny keychain sharing, so I tried to allow it from somewhere but I couldn't.
I started playing with the Keychain Access app on my mac trying to solve the problem. Eventually, I deleted the "iOS Development" certificate desperately trying to solve the initial problem.However, this made the problem even bigger, and I realized I made a terrible mistake by deleting that certificate. How can I obtain it agan?
When I tried to launch the app in my iphone through Xcode afterwards, I got more errors and one of them says "No signing certificate "iOS Development" found"
Now my biggest concern is the iOS Development certificate; how can I get it back?