Problem resolved. I had to add TwitterKitResources.bundle to copy bundle resources
If anyone else faces the same problem in the future, to fix the problem, I did the following:
Open XCode Target
Go to the “Build phases” tab
Click the “Copy bundle resources” section
Click the add button
Add the missing Nib file