[3rd] Mahjong app development from 0 with two beginners

2nd ← Now here → 4th (maybe a week later)

Revision history

2020/11/8 Posted

3rd meeting (November 7, 2020)

This time, for some reason, the working time exceeded 5 hours ... SSH, really mysterious.

agenda

--About screen specifications --Version control system environment construction --How to study Swift / ios SDK

About screen specifications

At the last meeting, we discussed the main screens and features and made a simple design. This time, we unified the recognition of specific function contents and rough screen layout.

For the design, diagram.net, which can be added by the extension function of Google Drive, is used.

We plan to implement the following screens and functions as the main functions.

--Home screen (calendar function, shift input function, grade input function) --Shift display screen (shift display function) --Grade display function (grade display function) --Setting screen (fixed input registration function)

The home screen features and layout have been solidified. We will continue to devise other screen layouts and functions and put together a policy.

Version control system environment construction

Although it is in the middle of the design stage, we decided to introduce a version control system for the implementation process.

I decided to use Git this time because the hosting service is available for free, there are many users, and there is a lot of information on the net.

The introduction procedure is summarized in a separate article, so please have a look if you like. How to use GitHub for beginners of liberal arts development

In this article, I would like to focus on what I struggled with when introducing it.

Cannot be linked to a remote repository

Problem ① When I tried to link the remote repository created by Takeda to the local repository of Dashun, the following error occurred. Has happened.

remote: Permission to ~~.git denied to ~~.
fatal: unable to access 'https://github.com/~~.git/': The requested URL returned error: 403

Apparently, he doesn't have access to the repository.

The bottom line is that when developing with someone else's remote repository, you needed to configure it for shared use. There seem to be several methods, but in this project, we adopted the method of registering Collaborators and granting editing authority. How to invite joint development on github How to use GitHub fork and pull request

I can't communicate with GitHub via SSH

Problem ② I saw information that authentication is required every time for HTTPS communication, but SSH communication can go smoothly, so I decided to set it. This was the beginning of the swamp ...

Click here for the error that occurred after registering the public key

Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

It has been rejected. Kanashimi

I tried various things to check if there was an error in how to make the key and the setting of GitHub, but I could not solve it.

The setting of ssh_config is suspicious, but for some reason I couldn't unlock it and gave up editing.

I have put this issue on hold because I can operate it via HTTPS communication for the time being. If anyone knows a solution, please teach me.

I can't push using Soursetree Part1

Problem ③

For us beginners, it is difficult to operate Git commands in the terminal ... So, I introduced Soursetree as a GUI tool. How to use Soursetree

The state of the repository is easy to understand visually, and operations such as commit are easy and good! !! I thought, but a problem occurred

I get the same error as problem (1) and push does not succeed. Why can I clone and commit ...

If you check the error message carefully, the address of the remote repository is different! The cause was that when I was trying various things at the initial setting stage, I was forking a remote repository and cloned that one.

Make sure to check the address in advance.

I can't push using Sourcetree Part2

Problem ④ Change the address to the correct one and push This time the push process never completes.

The direct cause seems to be that your account does not have access. I registered for Collaborators ...

This symptom seems to occur when you have multiple accounts on GitHub and you try to push with the account you don't have access to.

Git, which comes pre-loaded with your Mac, uses your Keychain credentials to authenticate. If you have multiple GitHub accounts, you may try to authenticate automatically using account information that you don't want to use.

The solution is that once you delete your Keychain registration in Preferences, you will be prompted for your account information when pushing, so you can authenticate with the correct account.

~~ Mac, thank you for this time ~~

I have the impression that there were many problems with the settings and operation of the Mac itself. I felt that it was necessary to deepen my understanding of the behavior of the machine.

How to study Swift / ios SDK

We also introduced Git and finally implemented it! !!

I thought, but it's been half a year since I came into contact with programming languages, and it's only recently that I learned about the existence of Swift. For ignorant and ignorant man, implementation is suddenly a high hurdle.

So, first of all, I decided to try touching it little by little under the name of study session.

For the language, select Swift, and for the framework, select the ios SDK, which has many Japanese materials, and we will output it from now on.

I was at a loss when choosing a framework. I wanted to touch on the Swift UI and Flutter that have appeared in recent years, but I decided that it would be better to start with the ones with the most basics and teaching materials.

How about this choice ...

Anyway, we would like to adopt a study method that we can continue.

From the next time onward, I would like to send out the results of my studies one by one. Thank you for your guidance and encouragement.

in conclusion

This time, we worked on unifying the recognition of screen specifications, introducing Git, and deciding to hold a study session.

It's still far from a technical article, but I'll continue to do it.

PS. My stiff shoulders are getting worse due to the bad effects of desk work ... If I can take a rest, I wonder if I can go around the hot springs ...

Recommended Posts

[3rd] Mahjong app development from 0 with two beginners
[1st] Mahjong app development from 0 with two beginners
[2nd] Mahjong app development from 0 with two beginners
Game development with two people using java 2
Game development with two people using java 1
Game development with two people using java 3
Java development with Codenvy: Console app debug
Vibrate the wristband device with Bluetooth from the Android app
Java development for beginners to start from 1-Vol.1-eclipse setup
App development beginners tried to make an Android calculator app