简体   繁体   中英

Are there any things I should remove from an Xcode project for security purposes when uploading to Github?

I've decided to upload all of my apps to Github, what should I consider when doing this? Thank you.

I'm making this community wiki so others can add to the list as needed.

As a general rule, never commit generated files. Only commit files that are required to build the project.

Don't add any private information such as keys, ids, or passwords that shouldn't be known to the public.

Don't add anything you are prohibited from making public. This might apply if you have pictures, videos or other resources you have permission to use from another 3rd party. They may not want you to share these resources.

Make sure all of your source files have desired copyright notices and add a LICENSE file to the root of the project. Then people know what they are allowed to do with all of your code.

Assume lots of people will copy all of your hard work whether you want them to or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM