ynagatomo / HeyChatGPT

A minimal iOS app that interacts with ChatGPT by your voice.
84 stars 8 forks source link

APIKey.swift missing #2

Open NI92 opened 1 year ago

NI92 commented 1 year ago

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"
}

Then the project builds successfully.

ynagatomo commented 1 year ago

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.