Short answer

If App Review rejects your app under guideline 2.1 because it crashed after Facebook login, give the reviewer a working way in: a demo account in App Review Information, with the backend running. Make sure your Facebook app is live, because Meta's documentation says an app in Development mode can only ask permissions from people with a role on it. Test on an IPv6-only network, which guideline 2.5.5 requires, and read the crash logs Apple attaches. Since social login sets up the user's account, guideline 4.8 also asks for an equivalent login option with privacy features, such as Sign in with Apple.

SWIFT TIPS · APP STORE · APP REVIEW

First posted on September 25, 2018, as "App Rejected By Apple Because Login Facebook". Rewritten on November 18, 2026. This post is based on the current App Review Guidelines (last updated October 16, 2026), App Store Connect Help, and Meta's developer documentation, read on November 18, 2026. The script was run on a Mac with macOS 26.0.1 against sample files made for the test. Nothing was submitted to App Review.

In 2018 an app of mine was rejected because Facebook login failed during review. The rejection, shown in the post, was under guideline 2.1, App Completeness: the app crashed on an iPhone with iOS 11.4.1 connected to an IPv6 network, after the steps Launch, use Facebook login, tap Continue. I worked with the backend team on a fix and resubmitted, and got the same comment again. What finally worked, from a Stack Overflow answer and a blog post linked in the original: tell the reviewer they might have to log out of the Facebook account in Safari first, and give them a real account to log in with. A few days later the app was on the App Store. A second rejection in the post, under guideline 2.3.3, asked for new iPad screenshots.

Telling the reviewer how to log in is still the core of the fix. This rewrite turns that into a checklist for the next submission, with what each guideline says today.

What the rejection said, and what it didn't

The 2.1 message named a crash, on IPv6, after Facebook login, with crash logs attached. The 2018 fix was about logging in with a working account. The post doesn't say whether the crash itself was fixed in code or why it happened, so I won't guess. Both halves deserve a check before you resubmit: why the reviewer couldn't log in, and why the app crashed instead of showing an error.

1. Give the reviewer a way in

Guideline 2.1 asks you to test the app on a device before submitting, to include demo account information if the app has a login, and to turn on your backend service. Its submission checklist asks for a demo account or a fully featured demo mode, plus any other resources needed for review. In App Store Connect, that goes in the App Review Information section of the version, together with notes that explain how to reach the main features.

For a Facebook login, the demo account is a Facebook account that can log in to your app. If your app also has its own email login, a demo account for that is simpler for the reviewer.

2. Make sure Facebook lets them log in

Meta's documentation on app modes says an app in Development mode can only request permissions from role users, people who have a role on the app, such as developers and testers. A reviewer who isn't one gets an error instead of a login. Before submitting, switch the Facebook app to Live mode in Meta's dashboard, or give the reviewer an account that has a role on it.

And make the app survive a failed login: an error from the Facebook SDK should become a message on screen, not a crash. The login posts linked below show how to turn errors into messages.

3. Test on an IPv6-only network

Guideline 2.5.5 says apps must be fully functional on IPv6-only networks. Apple's IPv6 support page says most apps need no changes, because URLSession and CFNetwork already support IPv6, but that apps using IPv4-specific APIs or hardcoded IP addresses need to change. The page says to test on an IPv6-only network and links Apple's instructions for setting up a DNS64/NAT64 test network if you don't have one, and to turn off cellular data on the test device so it really uses that Wi-Fi. Follow those instructions rather than guessing, because they change your Mac's network sharing.

This script finds the two things Apple names, hardcoded IPv4 addresses and IPv4-only socket APIs, in your own code:

#!/bin/bash
# ipv4_check.sh: finds hard-coded IPv4 addresses and IPv4-only socket APIs in your own code,
# the two things Apple says need changes for IPv6-only networks.
# Usage: ./ipv4_check.sh path/to/YourProject
dir="${1:-.}"
inc=(--include='*.swift' --include='*.m' --include='*.h' --include='*.plist' --include='*.xcconfig')
exc=(--exclude-dir=Pods --exclude-dir=Carthage --exclude-dir=.build --exclude-dir=DerivedData --exclude-dir=.git)
echo "Hard-coded IPv4 addresses:"
/usr/bin/grep -rnE "${inc[@]}" "${exc[@]}" '([^0-9.]|^)([0-9]{1,3}\.){3}[0-9]{1,3}([^0-9.]|$)' "$dir" | /usr/bin/grep -vE '127\.0\.0\.1' || echo "  none"
echo "IPv4-only APIs:"
/usr/bin/grep -rnwE "${inc[@]}" "${exc[@]}" 'AF_INET|sockaddr_in|inet_addr|inet_aton|gethostbyname|INADDR_ANY' "$dir" || echo "  none"

Run against a sample project with one hardcoded address, one socket written for IPv4, one normal https:// address, and an IPv4 address inside a Pods folder:

Hard-coded IPv4 addresses:
Sample/MyApp/API.swift:1:let baseURL = URL(string: "http://203.0.113.10:8080/api")!
IPv4-only APIs:
Sample/MyApp/Socket.swift:2:var addr = sockaddr_in()
Sample/MyApp/Socket.swift:3:addr.sin_family = sa_family_t(AF_INET)

It found the hardcoded address and the IPv4 socket code, skipped the normal domain name and the version string 1.2.3, and left Pods out. Replace hardcoded addresses with host names, and use URLSession or the Network framework instead of BSD sockets.

4. Read the crash log Apple attached

The 2018 rejection said crash logs were attached. Without symbols they show memory addresses instead of your function names. Apple's documentation on adding identifiable symbol names to a crash report explains how to get your function names into them, using the dSYM files from your archive. The symbolicated log points at the line that crashed, which is the fastest way to know whether it was the login, the network, or your code after login.

5. Offer an equivalent login option

Guideline 4.8, Login Services, says that apps that use a third-party or social login service, and it names Facebook Login, to set up or authenticate the user's primary account must also offer an equivalent login option. That other service must limit data collection to the user's name and email address, let users keep their email address private, and not collect interactions with your app for advertising without consent. Sign in with Apple is one service that does this. The guideline lists exceptions, for example apps that only use your company's own account system, education or enterprise apps that use an existing organization account, and apps that are clients for a specific third-party service.

6. Screenshots that match the device

The second rejection, guideline 2.3.3, said the iPad screenshots didn't show the app in use. The guideline today says screenshots should show the app in use, not only title art, a login page or a splash screen. App Store Connect's screenshot specifications currently require at least one screenshot for an iPhone with Dynamic Island, and, if the app supports iPad, at least one for the 13-inch iPad. Smaller sizes are scaled from those.

A checklist before you resubmit

  1. Demo account and notes in App Review Information, and the backend running during review.
  2. The Facebook app in Live mode, or the reviewer's account given a role.
  3. Login errors shown as messages, never a crash.
  4. The IPv4 check above run on your code, and the app tried on an IPv6-only network.
  5. The attached crash log symbolicated and the crash fixed.
  6. An equivalent login option if social login creates the account, unless an exception in 4.8 applies.
  7. Screenshots for the required display sizes that show the app in use.

What the 2018 version said

The post showed the two rejection messages from App Store Connect:

App Review message for guideline 2.1: the app crashed on iOS 11.4.1 on an IPv6 network after Facebook login and tapping Continue

App Review message for guideline 2.3.3: the iPad screenshots did not show the app in use

The two pages it linked are in the sources.

Sources