-
Notifications
You must be signed in to change notification settings - Fork 15
can i be a test user, #1
Comments
i am getting this error when running the app 2012-12-06 20:39:44.974 WeatherLux[1908:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFArray insertObject:atIndex:]: attempt to insert nil' |
i fixed the problem but still there is a small issue, the code
in WeatherAppDelegate.m is the cause of it |
Right on... Yes, the second problems is because you need to download the icon set from WWO. The 64x64 px icons are free, but my app also uses the 128x128 px icons which I purchased from WWO. If you're just learning, 64px is fine (will be a bit pixelated), just make a small modification so that 128px are not loaded. Below is a link to a text file that lists icon names and condition codes. That text file is actually identical to the PLIST file included with the project. http://www.worldweatheronline.com/feed/wwoConditionCodes.txt Regarding the first problem, can you do a pull request of the changes you made (or send me a screenshot of Xcode callstack in the left pane if it still crashes)? Thanks. |
can u help me i managed to run the app but still the icons are not visible |
did what u asked and still there is no weather condition icons |
My guess is that you don't have the icons added properly. There should be a blue folder under Resources group called "wsymbols01_png_64". In order to create it, when adding the wsymbols01_png_64 folder to project in Xcode, check "Copy items into destination group's folder (if needed)" under the file open dialog. |
i did that still it crashes |
Can you send me more details about the crash to [email protected]? Thanks. |
oki |
oh yea now it works i hade a small spelling mistake |
now im getting a new error cannot find config.h file |
Just add an empty "Config.h" file to the project and then the following two lines: You will need to get Google Places API key and World Weather Online API key. They are both free to developers. I moved the keys to an ignored config.h for privacy reasons. |
thanks |
now there is a new error /Users/Aftab/Downloads/Weather-master/Config.h:1:19: Redefinition of 'cGoogleMapsKey' |
I had that error too in one instance, but I moved `include "Config.h"' lines to header files and cleaned project before building, and it went away. Try doing the same... |
i deleted the config.h file and added the keys manually and it works |
Good work. |
thanks to you bro really i learnt a lot from your example, can i use the example in my app ? |
can i add this project in my app? |
dear escherba , can i be a test user for ur app please i am a developer too
The text was updated successfully, but these errors were encountered: