foreword
The company started to make the ios version after finishing the ionic androud version. Although I think the pits of ios are much less than those of androud, as the first time I came into contact with ios, the environment is too troublesome, from setting up the environment to packing one The official version of the ios app, the problems in it are really old, and the number of people getting all kinds of certificates, configuration files, and secret keys is huge. Here is a record of my journey to the pit.
Prepare
Developer account (assuming you already have one)
xcode (take the latest xcode9 as an example)
Developer certificate
Log in to the Developer Center: https://developer.apple.com/
Click on Account
Enter your developer account, then click Certificates, Identifiers & Profiles
The page looks like this after opening
Click Certificates, then click Add