Skip to content

Commit 05fed86

Browse files
committed
Merge pull request NativeScript#25 from kronenthaler/master
Removed the customFramework check on the correctPath,
2 parents d08b53c + 70b3e29 commit 05fed86

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/pbxFile.js

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ function correctPath(file, filepath) {
5454
return 'System/Library/Frameworks/' + filepath;
5555
} else if (file.lastType == DYLIB) {
5656
return 'usr/lib/' + filepath;
57-
} else if (file.customFramework == true) {
58-
return file.basename;
5957
} else {
6058
return filepath;
6159
}

test/addFramework.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ exports.addFramework = {
182182
test.equal(newFile.basename, 'Custom.framework');
183183
test.equal(newFile.dirname, '/path/to');
184184
// XXX framework has to be copied over to PROJECT root. That is what XCode does when you drag&drop
185-
test.equal(newFile.path, 'Custom.framework');
185+
test.equal(newFile.path, '/path/to/Custom.framework');
186186

187187

188188
// should add path to framework search path

0 commit comments

Comments
 (0)