Comments (16)
Did you follow https://github.com/JakeLin/SwiftWeather#how-to-build which step stops you? Did you open "SwiftWeather.xcworkspace"
from swiftlanguageweather.
Yes, I used the project instead of workspace (I focused on trying to build pod.framework). Now I can build and run the project now.
However I got the following error messages. Are these normal?
015-12-09 21:31:36.169 SwiftWeather[1120:63670] Failed to set (iconText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1e60770> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key iconText.
2015-12-09 21:31:36.170 SwiftWeather[1120:63670] Failed to set (temperatureText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1e60770> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (timeText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1e60770> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key timeText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (iconText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1d1ae20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key iconText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (temperatureText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1d1ae20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (timeText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1d1ae20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key timeText.
2015-12-09 21:31:36.254 SwiftWeather[1120:63670] Failed to set (iconText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1d85610> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key iconText.
2015-12-09 21:31:36.254 SwiftWeather[1120:63670] Failed to set (temperatureText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1d85610> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.255 SwiftWeather[1120:63670] Failed to set (timeText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1d85610> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key timeText.
2015-12-09 21:31:36.255 SwiftWeather[1120:63670] Failed to set (iconText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1e62ee0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key iconText.
2015-12-09 21:31:36.255 SwiftWeather[1120:63670] Failed to set (temperatureText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1e62ee0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.349 SwiftWeather[1120:63670] Failed to set (timeText) user defined inspected property on (SwiftWeather.ForecastView): [<SwiftWeather.ForecastView 0x7fa5e1e62ee0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key timeText.
Error finding location: The operation couldn’t be completed. (kCLErrorDomain error 0.)
from swiftlanguageweather.
I don't think it is normal, I haven't seen this before. It looks like some
constraint issues.
Thanks
Jake
On 10 December 2015 at 16:43, Ka Tam [email protected] wrote:
Yes, I used the project instead of workspace (I focused on trying to build
pod.framework). Now I can build and run the project now.However I got the following error messages. Are these normal?
015-12-09 21:31:36.169 SwiftWeather[1120:63670] Failed to set (iconText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key iconText.
2015-12-09 21:31:36.170 SwiftWeather[1120:63670] Failed to set
(temperatureText) user defined inspected property on
(SwiftWeather.ForecastView): [ setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (timeText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key timeText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (iconText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key iconText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set
(temperatureText) user defined inspected property on
(SwiftWeather.ForecastView): [ setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.171 SwiftWeather[1120:63670] Failed to set (timeText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key timeText.
2015-12-09 21:31:36.254 SwiftWeather[1120:63670] Failed to set (iconText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key iconText.
2015-12-09 21:31:36.254 SwiftWeather[1120:63670] Failed to set
(temperatureText) user defined inspected property on
(SwiftWeather.ForecastView): [ setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.255 SwiftWeather[1120:63670] Failed to set (timeText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key timeText.
2015-12-09 21:31:36.255 SwiftWeather[1120:63670] Failed to set (iconText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key iconText.
2015-12-09 21:31:36.255 SwiftWeather[1120:63670] Failed to set
(temperatureText) user defined inspected property on
(SwiftWeather.ForecastView): [ setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key temperatureText.
2015-12-09 21:31:36.349 SwiftWeather[1120:63670] Failed to set (timeText)
user defined inspected property on (SwiftWeather.ForecastView): [
setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key timeText.
Error finding location: The operation couldn’t be completed.
(kCLErrorDomain error 0.)—
Reply to this email directly or view it on GitHub
#36 (comment)
.
from swiftlanguageweather.
I tested this on XCode 7.0 building iOS9, as well as new XCode beta with new Swift 2 and got exactly the same result. The symptom is that most of the UI display, except the location in the middle of the page, and the main value. I am testing on iPhone 6 Simulator.
from swiftlanguageweather.
Thanks, when I was working on that from Xcode 7 beta to RTM, Apple kept changing the UIStackView
layout in Interface Builder, I got some issues and fixed them from time to time, it may come up again.
from swiftlanguageweather.
I added my APIKEY and did all the steps that it says to do but when I try to run it it comes up with the following error under "OpenWeatherMapService.swift"
No such module 'SwiftyJSON'
from swiftlanguageweather.
@jacobsgo thanks for reporting that issue. Did you run $ open "SwiftWeather.xcworkspace"
?
from swiftlanguageweather.
I did. I just restarted the installation process and it worked fine.
How do I change it to ˚F instead of ˚C?
Thanks!
from swiftlanguageweather.
NVM it automatically does it. Thanks this app is amazing!
from swiftlanguageweather.
@jacobsgo If you set the location to US it will display ˚F
, otherwise, it will display ˚C
, you can check the logic of the code how to determine that.
from swiftlanguageweather.
Ummm ok. How do you set it to 12 Hour Time instead of 24 hour
from swiftlanguageweather.
@jacobsgo not supported yet, the logic is in ForecastDateTime
, can check the system locale to display whether 12 or 24 hour format. a PR will be more than welcome, thanks.
from swiftlanguageweather.
I have an error when I build the project: Cannot convert value of type 'Sting' to expected argument type 'StaticString'
. This error appears in the code of XCTFail("\(message.stringValue)\n", file: location.file, line: location.line)
which belongs to the NimbleXCTestHandler.swift
file. Can you helpe me fix this error?
from swiftlanguageweather.
@GuoZhiQiang which Xcode version are you using? 7.3? There is an issue with some version of Nimble, can you have a look at Quick/Nimble#242?
I am using Xcode 7.3 and I can install the pods, here are the version numbers
Installing Nimble 4.0.1 (was 3.0.0)
Installing Quick 0.9.2 (was 0.8.0)
Installing SwiftyJSON 2.3.0 (was 2.3.0)
from swiftlanguageweather.
@JakeLin Thanks for your correct guide.
from swiftlanguageweather.
Close this issue now, 😉
from swiftlanguageweather.
Related Issues (20)
- can not build in xcode7-beta4 swift2 HOT 2
- No such file or directory HOT 2
- Can do nothing in my iPhone 5s HOT 6
- Error finding location HOT 4
- Error on build HOT 2
- iPhone < 5s temperature overlap HOT 1
- build fail HOT 1
- City images are not correct HOT 6
- Fuzzy about the function in Observable.swift HOT 5
- 课程的图片在哪里 HOT 1
- How viewModel's didSet works since WeatherViewModel is a class HOT 1
- Need the help of the author? HOT 1
- Why this? HOT 1
- any plan to convert to swift 3? HOT 3
- Update README with Swift3 version HOT 1
- Open source project using a registered trademark HOT 11
- doesn't compile in xcode 9
- requestWhenInUseAuthorization issue HOT 2
- code signing fails with shell script error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftlanguageweather.