Iglistkit: Build error (carthage), xCode 9.3, swift 4.1

Created on 30 Mar 2018  路  2Comments  路  Source: Instagram/IGListKit

New issue checklist

General information

  • IGListKit version: 3.2.0
  • iOS version(s): unrelated
  • Carthage version: 0.29.0
  • Xcode version: 9.3 (9E145)
  • Devices/Simulators affected: unrelated
  • Reproducible in the demo project? (Yes/No): unrelated
  • Related issues:

Build logs

{鈥/Carthage/Checkouts/IGListKit/Source/Common/IGListMoveIndex.m:52:109: error: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<%@ %p; from: %zi; to: %zi;>", NSStringFromClass(self.class), self, self.from, self.to];
                                                      ~~~                                                   ^~~~~~~~~
                                                      %li                                                   (long)
{鈥/Carthage/Checkouts/IGListKit/Source/Common/IGListMoveIndex.m:52:120: error: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Werror,-Wformat]
    return [NSString stringWithFormat:@"<%@ %p; from: %zi; to: %zi;>", NSStringFromClass(self.class), self, self.from, self.to];
                                                               ~~~                                                     ^~~~~~~
                                                               %li                                                     (long)
2 errors generated.

Carthage is unable to build newest version of IGListKit (3.2) using swift 4.1.

Additional info

After I cloned repo I was able to build without any errors but archive action throws errors (as above)

bug

Most helpful comment

+1

All 2 comments

I've just run into this as well.

+1

Was this page helpful?
0 / 5 - 0 ratings