I installed the command line tools in xcode 7.3 and in the command line I used the following command to generate the strings file:
ibtool --generate-strings-file testFile.strings MyController.xib
and also I tried to give the directory path for my xib:
ibtool --generate-strings-file testFile.strings UI/Screens/My\ Card/MyController.xib
I also tried the command with sudo infront of it, suggested from this answer
None of them worked.
I got the error:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.ibtool.errors</key>
<array>
<dict>
<key>description</key>
<string>Interface Builder could not open the document MyController.xib" because it does not exist.</string>
</dict>
</array>
</dict>
</plist>