iOS Build a Simple iPhone App with Swift Running Apps On a Device Running on Device

timothy fitzgerald
PRO
timothy fitzgerald
Pro Student 2,733 Points

I keep getting an error when trying to use my device with Xcode. It is saying that my signing certificate is invalid

its saying: Signing certificate "iPhone Developer: tokxxxxxxx@gmail.com (86Xxxx9xx8D)", serial number "5XxxCCXxxxxxxxxx", is not valid for code signing. It may have been revoked or expired.

timothy fitzgerald
timothy fitzgerald
Pro Student 2,733 Points

I've tried deleting the duplicates in my Keychain access (found this by doing some googling) I also tried restarting Xcode/my MacBook.

3 Answers

If you are trying to upload this to GitHub, the problem is your mac does not have a [access key]

if you go to youtube type in "how to make key for mac" it will show how to go to the terminal on your computer

also if you go to your profile on GitHub you will

see that in the profile it asks for a key. Once you follow the directions found on how to make a key uploading will be very easy

timothy fitzgerald
timothy fitzgerald
Pro Student 2,733 Points

Thanks for your reply! However, I'm just trying to get my iPhone 6s to connect to Xcode so I can run the simulator on it instead of the simulator on macOS. I've tried a number of things I found from google searching but nothing so far. It keeps rovoking my certificate when I turn on automatic and select my Apple ID (not a developer yet) Thanks for the git tip though... I'll probably need that soon as well.

timothy fitzgerald
PRO
timothy fitzgerald
Pro Student 2,733 Points

I wonder if this is from the apple hack I heard about... seems like I can't get to the developer website so maybe its that???

its possible that when doing this it thinks that you are you trying to do someone elses project on Xcode. youtube.com:

Xcode Tutorial: Fixing The Code Signing Identity Error

youtube.com: iOS Development: Certificate Signing Request

I am sure you are going to find these on your own, at any rate just in case

timothy fitzgerald
timothy fitzgerald
Pro Student 2,733 Points

I will check those out! Thanks for the reply! If apples developer site is down would this cause problems trying to verify the certificate?