Quantcast
Channel: What files/folders should I ignore in a git repository of an iOS app? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

What files/folders should I ignore in a git repository of an iOS app?

0
0

I have found questions about what to ignore in an Android app and questions regarding ignoring of cocoapods. However, I am asking about an iOS project generally.

I have an iOS app that displays ads provided by AdMob and uses Firebase to see the analytics of my app. And it uses a few cocoapods.

From one of my previous questions, I learnt that my ad unit id is a private thing. Therefore, I put my ad unit id in a separate file and ignored it:

// Secret Stuff.swift
let adUnitId = "dianfkebsfiubugb"

I think this way people will never know my ad unit ID.

But what about other stuff? Do the files generated by cocoapods contain some of my private information? Does info.plist file contain my private stuff as well? Also, when I was putting Firebase into my app, I downloaded a GoogleService-Info.plist. Should I ignore it as well? What things should I ignore?

Private information includes

  • My email
  • Home address
  • My phone number
  • Ad Unit ID
  • My passwords
  • Other things that, when disclosed, will cause adverse effect on my life, such as a loss of money/income or being in danger. For example, if I disclose my Ad Unit ID, people will spam ads and my account will be banned.

Private Information does not include:

  • My real name
  • My age

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images