For some reason the APIKey.swift file is missing from the project.
To fix this, I had to delete the red reference & create that class again then write the following code inside:
import Foundation
struct OpenAIAPIKey {
static let key = "OpenAI token goes here"
}
Thanks for sharing the information. That's exactly what I'd expect and what the README describes. The README describes an enum definition, but as you suggested, a struct definition would work as well. Thank you.
For some reason the
APIKey.swift
file is missing from the project. To fix this, I had to delete the red reference & create that class again then write the following code inside:Then the project builds successfully.