master-nevi / UPnAtom

An open source Universal Plug and Play library with a focus on media streaming coordination using the UPnP A/V profile; written in Swift but for both Objective-C and Swift apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 1.2: Release/Archive versions of UPnAtom crash the Swift compiler ಠ_ಠ

master-nevi opened this issue · comments

Without fixing this issue, I can't publish a new version as "pod trunk push" will perform a lint which involves compiling the code in release mode which will fail.

Developer Forum Discussions:

Exhaustive search by commenting out and in code traced back to these source files:

  • SSDPExplorer.swift and SSDPExplorerDiscoveryAdapter.swift (very consistent)
    • The compiler appears to vomit when using Set, the workaround is to use an array instead which makes me very sad.
  • UPnPRegistry.swift (50/50 chance)