Flight-School / AnyCodable

Type-erased wrappers for Encodable, Decodable, and Codable values

Home Page:https://flight.school/books/codable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension of internal protocol cannot be declared public error

catchakos opened this issue · comments

I get this error while compiling with Xcode 12.0:

/Pods/AnyCodable-FlightSchool/Sources/AnyCodable/AnyDecodable.swift:66:1: error: extension of internal protocol cannot be declared public
public extension _AnyDecodable {
^~~~~~~

and suggested Xcode fix:
"Remove public"

The error seems to go away if I deintegrate the pods and install them again, but somehow resurfaces again after switching to a different build configuration

Any ideas?

Closing this, it was related to some new rule from a SwiftFormat pod update.

commented

@catchakos Thanks for following up on this. Glad to hear that you were able to resolve your problem.