This is the starter project of WenderCast from Push Notifications Tutorial: Getting Started, Because the starter project is built error, I correct it. Finally can run. The correct solution is below.
- change the
SWXMLHash.swift
file from drmohundro/SWXMLHash, for the problem
.Element Ambiguous use of Element SWXMLHash swift
- correct the code in file
PodcastFeedLoader.swift
in line 48 to
let feedItems = items.all.flatMap { (indexer: XMLIndexer) -> PodcastItem? in
,
the origin code is
let feedItems = items.flatMap { (indexer: XMLIndexer) -> PodcastItem? in