For Certificate
- Revoke Previous Certificate.
- Generate New Development Certificate.
- Download Certificate.
- Double Click to put in KeyChain.
For Provisioning profile
- Create New or Edit existing Provisioning profile.
- Download and install.
For BundleIdentifier.
- com.yourcompanyName.Something (Put same as in AppId)
CodeSigningIdentity.
- Select The Provisioning profile which you created.