App Store RejectionGuideline 1.6 — Data Security

Apple Found Unencrypted Data in Your App. Here's How to Fix It.

Transmitting user data over plain HTTP, storing passwords in NSUserDefaults, or logging sensitive info to the console can all get flagged under Guideline 1.6, which asks apps to protect user information. These are fixable, and fixing them protects your users too.

What the rejection notice says (paraphrased)

The notice cites Guideline 1.6 (Data Security) and says the app doesn't appear to protect user information appropriately, for example by sending it over an unencrypted connection or storing it insecurely. It asks you to put appropriate security measures in place, such as secure HTTPS connections, and resubmit.

What this actually means

Guideline 1.6 says apps should implement appropriate security measures so user information isn't exposed to unauthorized use, disclosure, or access. In practice, sensitive information (passwords, tokens, health or financial data, personal details) should travel over HTTPS and be stored securely on-device. App Transport Security blocks plain-HTTP connections by default, and exceptions that loosen it need a justification when you submit. If your app uses HTTP, stores tokens in plaintext, or logs sensitive data, fix it before resubmitting.

What Apple needs to see

  • All network requests using HTTPS with valid TLS certificates — no HTTP endpoints for any user data
  • Passwords and tokens stored in the iOS Keychain, not UserDefaults or flat files
  • No sensitive data written to logs, analytics events, or crash reporters
  • No broad App Transport Security exceptions (such as NSAllowsArbitraryLoads) unless you can justify them to App Review
  1. 1Audit your networking layer and replace every HTTP URL with HTTPS; App Transport Security enforces this by default, so remove any exceptions you don't truly need
  2. 2Migrate any credentials or tokens stored in UserDefaults to the iOS Keychain immediately
  3. 3Search your codebase for print() and NSLog() calls that might be outputting user data and remove them
  4. 4Route the app through a debugging proxy and verify no sensitive data travels in plaintext, including traffic from third-party SDKs
  5. 5Make sure your privacy policy (e.g. yourapp.baseterms.com/privacy) accurately lists the data you collect; BaseTerms doesn't write a security or encryption section, so add your own if you want to describe one

While you're at it — make sure your required app pages are covered.

Fix this rejection, then make sure you're covered on the compliance side too. Every app needs a privacy policy link and a support URL, subscription apps need Terms of Use, and apps with sign-up need account deletion. A missing link means another rejection — just for a different reason.

Privacy Policy
Terms of Service
Support Page
Data Deletion Page

Common questions

My app uses a third-party SDK — could that be causing the HTTP issue?
Absolutely. Third-party SDKs, especially older ad networks or analytics tools, sometimes make HTTP calls. Use a network proxy like Charles or Proxyman to inspect all traffic from your app, including traffic from embedded SDKs.
Is storing data in Core Data considered encrypted?
Partly. On a device with a passcode, iOS Data Protection encrypts app files automatically, and by default they stay readable from the first unlock until the device restarts. You can request stricter complete protection for the store file, but for secrets like passwords and tokens, use the Keychain.
How do I tell Apple I've fixed the encryption issues?
Reply in the App Review section of your app's page in App Store Connect and say specifically what you changed: that all endpoints now use HTTPS, which ATS exceptions you removed (or why any remain), and that tokens are stored in the Keychain. Specific answers make it easier for the reviewer to confirm the fix.