Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zhouxiaozhen-github/d78343b662d34e9499d9b51d3908f837 to your computer and use it in GitHub Desktop.
Save zhouxiaozhen-github/d78343b662d34e9499d9b51d3908f837 to your computer and use it in GitHub Desktop.
解决这个问题: NSPlaceholderDictionaryinitialize
objc[3032]: +[__NSPlaceholderDictionaryinitialize] may have been in progress in another thread when fork() was called.We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY='YES' >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment