turbolinks/turbolinks-ios

Unable to build using Xcode 9 and Carthage

Closed this issue · 2 comments

It seems like there is an issue building the framework with Xcode 9 via Carthage. I believe the error is related to a test file still referencing Swift 2.3, but it might be due to the Xcode 9 compiler. It would be really nice to get a Swift 4, (or at least Swift 3.2), version so that Xcode 9 use is possible.

Huh, that's really strange. We have been building Turbolinks using Swift 3.2 and Carthage with Xcode 9, but after updating Carthage, I'm seeing the same thing you are. I just pushed a fix (5a9ae2c). Apparently Turbolinks was trying to copy itself into itself during archive, which was causing the failure. This seems to have been there since the beginning, but I'm honestly not sure why it didn't cause an issue until now.

Either way, can you try again from master?

I was able to build Turbolinks from master with no issues! The archiving copying issue was consistent with what I was experiencing. Eventually the buffer for archive path was overflowing and causing the build to fail. Thank you for fixing!