#1 Xcode Assignment : GIF Recording/Uploading a Project to Github/Installing your APP to an iPhone
Hi, I am Buck Li. I am a total rookie to Swift & Xcode. With a determination of coding my own APP/Game on iOS , I attended this course named Xcode for Beginners, leatured by 彼得潘的 iOS App Neverland.
This series of articles is to summarize and showcase things that I have learnt, and is also taken as an assignment of the course. Hopefully my articles can also be a help to those Xcode beginners like me in the future.
1. GIF Recording
Before recording a GIF from Xcode, you have to make sure your simulator is on. While you are ready to record all your motions, press “option” button, and then point your mouse at the upper bar of the simulater. You will find that the screenshot icon turns into a screen-recording icon. All you have to do is click on it, and then screen-recording will start.
After conducting all the motions that you would like to show in the GIF, click the screen-recording icon again to end the recording. Right after that, you will find a small pre-view screen beside the button-right corner of the simulator.
Control-click(right-click) on the Small Pre-view Screen, and you will see a few options. Select “Save as Animated GIF”. After that, you will find the GIF file created and saved on your Desktop. If you select other options, the default format for the video will be .mp4 instead.
2. Upload a project to Github
Before uploading your project to Github, you have to make sure your Xcode is linked with your Github account. When it does, the first step is click the second icon in the Navigator Area, and choose Repositories. And then, control-click(right-click) on the project, and select ‘ New “Project Name” Remote…’
Click “Create”, and your project will be uploaded to GitHub.
The Link to my project on Github :
3. Download your APP to an iPhone for Testing
To download your own APP to your iPhone for testing, you need to make sure you have signed-in your Apple ID in Xcode, and your signing info has to be set up properly. Once they are both set up, plug in your iPhone. Next, select your iPhone as the output device for simulator. Click Play button, and your iPhone will start downloading your APP.
Once the download is done, you can try to run your APP on your iPhone!
Buck Li
July 17, 2021