fix resource adding for Xcode