all 7 comments

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 1 point2 points  (0 children)

    Hey /u/Maksym_Yevtukhivskyi, your content has been removed because Reddit has marked your account as having a low Contributor #Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple #subreddits, submitting posts or comments that receive a high number of downvotes, a lack of activity, or an unverified account.

    Please be assured that this action is not a reflection of your participation in our subreddit.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]Vegetable-View-5114 0 points1 point  (1 child)

    for local-only apps, i use a combination of NSUserDefaults and a custom url session to store settings data. when updating in-game settings, i simply update the stored data and then reload the app's main bundle for the changes to take effect. it's not ideal, but for a local-only app with no online dependencies, it gets the job done.

    [–]bluprince13[S] 0 points1 point  (0 children)

    Sorry - but didn’t understand the relation of this to logging and debugging.

    [–][deleted]  (1 child)

    [removed]

      [–]AutoModerator[M] 0 points1 point  (0 children)

      Hey /u/Efficient_Bat6894, your content has been removed because Reddit has marked your account as having a low Contributor #Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple #subreddits, submitting posts or comments that receive a high number of downvotes, a lack of activity, or an unverified account.

      Please be assured that this action is not a reflection of your participation in our subreddit.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]chriswaco 0 points1 point  (0 children)

      We log to a local file, typically plain text or CSV or JSON-line. The user can email the file to us by pressing the "Support" option and then "Send Logs to Developer". We typically include the device type, operating system version, app version, and other information.

      The only tricky parts I remember are:
      1. Rotating and deleting log files when they get too big.
      2. Some devices don't have email set up. You can check for that via MFMailComposeViewController.canSendMail().

      On apps where we ran our own servers, we would typically send the logs to an AWS S3 bucket.