Can you please expand the README to explain how the Secrets.swift file is supposed to be added/configured within Xcode before attempting to build? --- bracklanna Xcode 11.3.1 / Mojave 10.14.6
Activity
dwightmulcahy commentedon Aug 21, 2020
Secrets.swift basically defines
Secrets.apiKeywhich is the API key that you need from airnowapi.org.You can get that value from creating an account at https://www.airnowapi.org
and doing this: https://docs.airnowapi.org/forecastsbyzip/query
generate a query and it will look something like this
take the
<really-long-random-string>part and replace the\(Secrets.apiKey)with it in this line:Air/Air/AirQuality.swift
Line 50 in d437bf8
Also delete the
Secrets.swiftfile reference in xcode and you will be able to build and run it now.If I get around to it I might put in a PR that will make the API Key a part of the config menu...
dWiGhT
Xcode 11.6 / Catalina 10.15.6