Discussion Forums  >  Uncategorized

Replies: 15    Views: 433

Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
09/21/11 11:20 PM (14 years ago)

Xcode 4.3 issue with v1.5

Hi All, just started building an app for recipes and i'm using the V1.5 early adopter, when i downloaded the source code after uploading the icon, the icon did not show in the simulator after building and running, also the home screen does not show the menu lists i've added as well afterwards, is this because i have Xcode 4.3, this is the message i get in Xcode below : BT_fileManager: File does not exist in cached directory: appModified.txt 2011-09-22 07:02:21.723 internationalrecipes[878:13703] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2011-09-22 07:02:21.724 internationalrecipes[878:13703] internationalrecipes_appDelegate: appModified.txt does not exist in the cache. Not checking for updates. Thanks in advance for your help
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/21/11 11:35 PM (14 years ago)
Not an issue with Xcode 4.3, it's a matter of figuring out what data is being read. Icon: Open the Xcode project and see if your icons are included in the BT_Images folder. You should see a Icon_57, Icon_72, Icon_114.png. If these are there, and they do not show up on the simulator. Do a Project Clean > Rebuild > Relaunch. Home Menu: Not sure what your referring to here. What happens when you use the Refresh Button on the home screen of the app while it's running in the simulator? It should show the home screen that you have setup in the online contorl panel.
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/21/11 11:42 PM (14 years ago)
Thanks David, tried the above, found the 3 icons you were talking about but still having the same issue, and i now have this errors, 'setStatusBarHidden:animated:' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:271) when i also refreshed the home screen, nothing happened, should i just start over with the app?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/21/11 11:49 PM (14 years ago)
Something's crazy. I guess you could re-download the package and re-open the new one in Xcode. Havn't heard this before. Especially the set-status-bar-hidden deprecated message. Never seen that?
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/21/11 11:58 PM (14 years ago)
it sounds weird, i'm going to try and rebuild the app, do you think i should build the whole app before downloading the source code or should i just upload only the icon first like i did earlier and download the source code then continue building, i'm thinking the first option might work, it's worth a try i think
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/22/11 12:02 AM (14 years ago)
I've seen the deprecated notice before when compiling for later versions (like iOS 3). I would download the whole project again, do the clean and compile like David suggested, and have another go. Sometimes things just get woky. Mark
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/22/11 12:18 AM (14 years ago)
Hi David & Mark, I deleted the app and started from scratch but still having the same problem: see below This device cannot send SMS bootstrap_look_up failed (44e) 2011-09-22 08:00:00.696 internationalrecipes[3131:13703] BT_device: This device cannot reports it's location 2011-09-22 08:00:00.705 internationalrecipes[3131:13703] BT_device: This device cannot take pictures or videos 2011-09-22 08:00:00.706 internationalrecipes[3131:13703] BT_user: INIT 2011-09-22 08:00:00.706 internationalrecipes[3131:13703] BT_networkState: INIT 2011-09-22 08:00:00.711 internationalrecipes[3131:13703] BT_networkState: Monitoring Connection: WiFi Not Available 2011-09-22 08:00:00.712 internationalrecipes[3131:13703] BT_networkState: Monitoring Connection: WiFi Available 2011-09-22 08:00:00.719 internationalrecipes[3131:13703] BT_networkState: Monitoring Connection: WiFi Available 2011-09-22 08:00:00.721 internationalrecipes[3131:1900b] internationalrecipes_appDelegate: initAudioPlayer in background thread 2011-09-22 08:00:00.721 internationalrecipes[3131:1900b] BT_audioPlayer: INIT (preparing it for possible background audio) 2011-09-22 08:00:00.728 internationalrecipes[3131:1900f] internationalrecipes_appDelegate: loadSoundEffects [Switching to process 3131 thread 0x1900f] 2011-09-22 08:00:00.728 internationalrecipes[3131:13703] internationalrecipes_appDelegate: refreshAppData 2011-09-22 08:00:00.732 internationalrecipes[3131:1900f] BT_fileManager: File does exist in Xcode bundle: basso.mp3 2011-09-22 08:00:00.733 internationalrecipes[3131:13703] BT_fileManager: File does not exist in cached directory: cachedAppConfig.txt 2011-09-22 08:00:00.741 internationalrecipes[3131:13703] BT_fileManager: File does exist in Xcode bundle: BT_config.txt 2011-09-22 08:00:00.741 internationalrecipes[3131:13703] BT_fileManager: readTextFileFromBundleWithEncoding: BT_config.txt encoding: -1 2011-09-22 08:00:00.741 internationalrecipes[3131:13703] internationalrecipes_appDelegate: Parsing configuration data included in the project bundle. 2011-09-22 08:00:00.742 internationalrecipes[3131:13703] BT_application: validateApplicationData 2011-09-22 08:00:00.744 internationalrecipes[3131:13703] BT_application: The application data appears to be valid. 2011-09-22 08:00:00.744 internationalrecipes[3131:13703] internationalrecipes_appDelegate: configureEnvironmentUsingAppData 2011-09-22 08:00:00.760 internationalrecipes[3131:13703] BT_audioPlayer: stopAudio 2011-09-22 08:00:00.761 internationalrecipes[3131:13703] BT_application: parseJSONData: parsing application data 2011-09-22 08:00:00.761 internationalrecipes[3131:13703] BT_application: parsing themes, count: 1 2011-09-22 08:00:00.762 internationalrecipes[3131:13703] BT_application: parsing tabs, count: 0 2011-09-22 08:00:00.762 internationalrecipes[3131:13703] BT_application: parsing screens, count: 1 2011-09-22 08:00:00.762 internationalrecipes[3131:13703] BT_application: buildInterface app interface 2011-09-22 08:00:00.762 internationalrecipes[3131:13703] BT_application: building a single navigation controller app 2011-09-22 08:00:00.763 internationalrecipes[3131:13703] BT_viewControllerManager: initViewControllerForScreen nickname: My Home Screen Menu itemId: 92EA059A5F025B4D9539F0F type: BT_screen_menuList 2011-09-22 08:00:00.763 internationalrecipes[3131:13703] BT_screen_menuList: INIT 2011-09-22 08:00:00.768 internationalrecipes[3131:13703] BT_screen_menuList: viewDidLoad 2011-09-22 08:00:00.768 internationalrecipes[3131:13703] BT_viewUtilities: getTableViewForScreen with nickname: My Home Screen Menu and itemId: 92EA059A5F025B4D9539F0F and type: BT_screen_menuList 2011-09-22 08:00:00.772 internationalrecipes[3131:13703] BT_rotatingNavController: pushViewController for screen: 92EA059A5F025B4D9539F0F 2011-09-22 08:00:00.775 internationalrecipes[3131:13703] BT_application: This app does not use a splash screen 2011-09-22 08:00:00.775 internationalrecipes[3131:13703] BT_application: This device cannot report it's location. App has Start Location Updates set to No. App is NOT starting the location monitor. 2011-09-22 08:00:00.775 internationalrecipes[3131:13703] BT_background_view: INIT 2011-09-22 08:00:00.776 internationalrecipes[3131:13703] BT_fileManager: File does exist in Xcode bundle: blank.png 2011-09-22 08:00:00.776 internationalrecipes[3131:13703] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2011-09-22 08:00:00.776 internationalrecipes[3131:13703] BT_background_view: setImage 2011-09-22 08:00:00.777 internationalrecipes[3131:13703] internationalrecipes_appDelegate: hideProgress 2011-09-22 08:00:00.782 internationalrecipes[3131:13703] internationalrecipes_appDelegate: applicationDidBecomeActive 2011-09-22 08:00:00.782 internationalrecipes[3131:13703] internationalrecipes_appDelegate: reportToCloud 2011-09-22 08:00:00.783 internationalrecipes[3131:13703] BT_strings: mergeBTVariablesInString (after merge): http://www.buzztouch.com/appdata/v1.5.php? Quick Question: the screen is not refreshing with the refresh button , should i just build the whole app before downloading and is the icon supposed to be only .png extension Thanks
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/22/11 12:26 AM (14 years ago)
Two things where...first the icons. Yes, the icons should have a .png extention. That's how iOS requires them. Next, Refresh. The screen is not refreshing with the refesh button. Does this mean nothing happens? The log output you posted does not show anything about refreshing. This is the output that ran when the app first launched. Do this... a) Launch the app. OPen the console like you have. Good work here, glad you figured out the console. b) Use the CLEAR console so it's blank. At this point the app is still running but the console is empty. c) Tap Refresh. The console will show all the details about what happens when Refresh is tapped. This should give you some clues as to where it's getting it's data, reading, etc.
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/22/11 12:32 AM (14 years ago)
i tried to use the file with the .png extension but i'm getting this : Chose a .JPG image to upload. After uploading the image, you'll be asked to crop the image to a pre-determined size, 72 x 72. If the icon you upload is smaller than 72 x 72, this won't work. If the icon you upload is exactly 72 x 72 (because you created it in an image editor first), click it to select it then submit it. Only .JPG images are allowed. This message means you tried to upload an image that was not an acceptable format.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/22/11 12:41 AM (14 years ago)
I misunderstood. I thought you meant in the Xcode project. Yes, the control panel expects a jpeg image. The file you upload will end with .jpeg or .jpg. When you download the project the icons included will have a .png extenstion. So...you upload a jpg, you get back a .png (three of them) in your download. Part of the behind the scenes auto-magically-app-package-builder thingy ;-)
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/22/11 01:16 AM (14 years ago)
Thanks David, i have renamed to a .jpg extension and uploaded to the panel and downloaded the source code but the icon is still showing black icon , i might be missing something here,
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/22/11 01:21 AM (14 years ago)
i added the below menu list : App Control Panel | Core | Config Data | Layout | Theme | Screens and Menus Nickname Screen / Menu Type Modified (pst) Recipes Menu - List 09/22 01:16 AM recent delete African Menu - List 09/22 01:16 AM recent delete My Home Screen Menu Menu - List 09/22 01:08 AM recent delete and nothing happened when refreshed in Xcode: i got this: File does exist in cached directory: screenData_D86698FDB8951D00545326C.txt 2011-09-22 09:06:43.577 worldrecipes[5595:13703] BT_screen_menuList: parsing downloaded screen data. 2011-09-22 09:06:43.577 worldrecipes[5595:13703] BT_fileManager: readTextFileFromCacheWithEncoding: screenData_D86698FDB8951D00545326C.txt encoding: -1 2011-09-22 09:06:43.577 worldrecipes[5595:13703] BT_screen_menuList: parseScreenData 2011-09-22 09:06:43.577 worldrecipes[5595:13703] BT_screen_menuList: layoutScreen 2011-09-22 09:06:43.578 worldrecipes[5595:13703] BT_screen_menuList: This menu has no list items? 2011-09-22 09:06:43.771 worldrecipes[5595:13703] worldrecipes_appDelegate: lastModified (value on server): Thu, 22 Sep 2011 08:16:57 -0700 2011-09-22 09:06:43.771 worldrecipes[5595:13703] BT_fileManager: File does not exist in cached directory: appModified.txt 2011-09-22 09:06:43.772 worldrecipes[5595:13703] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2011-09-22 09:06:43.772 worldrecipes[5595:13703] worldrecipes_appDelegate: appModified.txt does not exist in the cache. Not checking for updates.
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/22/11 04:06 AM (14 years ago)
Hi David, one step forward now :-) , The App is now refreshing when i add to it, it's just the icon need now to show as opposed to being just a black box :-) Thanks for your help
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
09/22/11 07:25 AM (14 years ago)
@Nasdaq12 - Did you save your icon as a png from a program or just change the extension to png? If you changed the extension, that's your problem because .png and .jpg are different file formats, and changing an extension will just confuse programs.
 
Nasdaq12
I hate code!
Profile
Posts: 22
Reg: Sep 21, 2011
London
220
like
09/22/11 07:33 AM (14 years ago)
Hi , I downloaded as png and renamed it, i'll try to download a jpg and try again thanks :-)
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
09/22/11 02:58 PM (14 years ago)
@Nasdaq12 - The same deal with downloading images. Just renaming it during the download won't actually change the file type. Files will need to be saved/exported as the file type you want. If you download a .jpg file and want it to be a .png, you'll need to open it in an image editor and save/export it as that different format type. Also, please double check that you are opening the most recent download of your project. If you're opening an older version in xcode the newer icon file won't display, even after a refresh.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.