Interface Builder could not open the document ... because it does not exist

Running ibtool --compile from the command line, ibtool is saying my input file does not exist,

yet it clearly does.


Seems to be erratic. Anyone see this before?


ls -l GridVC.xib


-rwxr-xr-x 1 bk staff 2082 Jan 21 14:29 GridVC.xib ###### file exists!



bk:~ bk$ ibtool --compile GridVC.nib GridVC.xib


results from ibtool:



<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-/

<plist version="1.0">

<dict>

<key>com.apple.ibtool.errors</key>

<array>

<dict>

<key>description</key>

<string>Interface Builder could not open the document GridVC.xib" because it does not exist.</string>

</dict>

</array>

</dict>

</plist>

oh if anyone runs into this, i found a stackoverflow post that suggests to kill the ibtool daemon called ibtoold


ps -aef | grep ibtoold


then get the process number (2nd column of above output) and use kill -9 on it (not ordinary kill, that doesnt seem to work)


it seems to work


it seems like you have to do this every time after a regular xcode build in xcode 6.2

or ibtool from command line can't find files in the current working directory

Interface Builder could not open the document ... because it does not exist
 
 
Q