fastred / IBAnalyzer

Find common xib and storyboard-related problems without running your app or writing unit tests.
http://holko.pl
MIT License
951 stars 26 forks source link

Distribution through CocoaPods #14

Closed fastred closed 7 years ago

fastred commented 7 years ago

Should be similar to SwiftGen or Sourcery.

fastred commented 7 years ago

I started the work on this on feature/cocoapods branch. Will merge when #23 is ready.

fastred commented 7 years ago

This is now fixed on master.

elneruda commented 7 years ago

On build phase integration (README.md) you should indicate following script: $PODS_ROOT/IBAnalyzer/bin/ibanalyzer ${SRCROOT} instead of $PODS_ROOT/IBAnalyzer/bin/ibanalyzer FolderWithSwiftAndNibFiles/

fastred commented 7 years ago

@elneruda Since this is a relative path what I wrote is the same as:

$PODS_ROOT/IBAnalyzer/bin/ibanalyzer "${SRCROOT}/FolderWithSwiftAndNibFiles/"

My intention was to suggest users to provide path only to their own files, not including external dependencies (like Pods/ folder).

elneruda commented 7 years ago

sure, at this step it will be interesting to support configuration file like swiftlint or taylor :

for example: .ibanalyzer.yml

fastred commented 7 years ago

Yes, that would be nice! We could handle https://github.com/fastred/IBAnalyzer/issues/24 this way too.