diff --git a/lib/pbxFile.js b/lib/pbxFile.js index 9e04504..3235d1b 100644 --- a/lib/pbxFile.js +++ b/lib/pbxFile.js @@ -54,8 +54,6 @@ function correctPath(file, filepath) { return 'System/Library/Frameworks/' + filepath; } else if (file.lastType == DYLIB) { return 'usr/lib/' + filepath; - } else if (file.customFramework == true) { - return file.basename; } else { return filepath; } diff --git a/test/addFramework.js b/test/addFramework.js index 2bfb6f2..626978a 100644 --- a/test/addFramework.js +++ b/test/addFramework.js @@ -182,7 +182,7 @@ exports.addFramework = { test.equal(newFile.basename, 'Custom.framework'); test.equal(newFile.dirname, '/path/to'); // XXX framework has to be copied over to PROJECT root. That is what XCode does when you drag&drop - test.equal(newFile.path, 'Custom.framework'); + test.equal(newFile.path, '/path/to/Custom.framework'); // should add path to framework search path