Commits
Norio Nomura committed 051cef0aeff
Fix `LD_RUNPATH_SEARCH_PATHS` of `SwiftLintFramework.framework`
- Remove "$(inherited)"
because that comes from xcconfig as following:
```
@executable_path/../Frameworks
@loader_path/../Frameworks
```
are not unsuitable for framework target.
See also: https://github.com/jspahrsummers/xcconfigs/pull/52
- Add "@loader_path/Frameworks"
Sub framework can be loaded by this.
- Add "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib"
$(DEVELOPER_DIR) is resolved on linking. If Xcode.app has been renamed on packaging environment, that was recorded.
On https://github.com/realm/SwiftLint/releases/download/0.4.0/SwiftLint.pkg:
```
% otool -l pkg/Library/Frameworks/SwiftLintFramework.framework/SwiftLintFramework
…
Load command 32
cmd LC_RPATH
cmdsize 104
path /Applications/Xcode-7.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib (offset 12)
```
This cause #169
See also: https://github.com/jpsim/SourceKitten/pull/110