My Xcode version is 10.0 and Swift 4.2.
When I update my pod file, I am seeing the error as shown in the screenshot.
I think 'XLPagerTabStrip' pod file is not getting updated to latest release. To verify this, I created a sample project and installed 'XLPagerTabStrip' pod file only. There also I can see the same error.