wholehealthdoc
Aspiring developer
Profile
Posts: 27
Reg: May 21, 2012
PA
7,170
09/19/12 08:48 PM (13 years ago)

Unable to create app in simulator

Following the video instructions exactly attempting to build the same app, we could not get it to work even after 20+ different attempts, rebuilds, reboots etc. We see a menu screen but the link to the map goes no where. Other plugins that we attempt to link to the menu screen are similarly not seen. We see the screen but the button links to nothing. We have followed the instructions in the building of the plugin links exactly as in the video. We tried to make a slightly different app using the new tweet plugin and that didn't work either but it created a unique error message that now populates all failed builds even after eliminating the tweet plugin from the app and rebooting the computer. Here is the text we could copy: Undefined symbols for architecture i386: "_OBJC_CLASS_$_TWTweetComposeViewController", referenced from: objc-class-ref in At53_tweet_sheet.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) any guidance? we're tripping over home plate on the way to first (not getting very far!) thanks for any help (have read the myskylla guide to buzz touch) Stan Lang PS, I know nothing about programming in terms of answers that might be offered--thanks
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/19/12 09:23 PM (13 years ago)
Hi @wholehealthdoc, So, let's start easy and then get more complicated as things work. Sound good? Sounds like this is for iOS...is that correct? What version of Xcode are you running? What Mac OS X version? Just trying to get a sense of your environment. What sort of app are you trying to make? Are you just trying to emulate the one in the video, or do you have something particular in mind? Let's start from there...cool? I promise you when we're done, you'll have a working app! Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/19/12 11:35 PM (13 years ago)
Could be the famous "didn't drag the plugins folder into Xcode" trick. Welcome Stan, you'll get this in no time, really. Could it be that after downloading your project you are NOT dragging the BT_plugins folder from the unzipped archive over the Xcode project? The symbols error is related to the Tweet Sheet plugin you've added to the project. Oh, wait, this tells me you must be dragging the plugin's in, ignore the last comment. So, plugins added, got it. For the Twitter symbols error, you'll need to "add the Twitter Framework" to you project. This is easy, I think the Tweet Sheet README file explains this? Assuming you get that figured out, why the no screens? "We see a menu screen" but the link to the map goes nowhere" - this is strange. I'll assume the menu is the first screen you see, the "Home screen." OK, maybe open the Console in Xcode, use the "clear" button to erase it's contents, then tap a menu item. What does the console output say? It should show you information about what type of plugin (the map for example) it's trying to load and why it can't load it.
 
wholehealthdoc
Aspiring developer
Profile
Posts: 27
Reg: May 21, 2012
PA
7,170
like
09/20/12 07:30 PM (13 years ago)
Hi Mark and David--- thanks for your replies. We are using: Xcode-Version 4.3.3 (4E3002) Mac OS X- Version 10.7.3 We have actually been working in buzz touch for a while trying to build apps in version 1.5 because of the feedback from somebody who had built a successful app like what we wanted to do. We finally gave up there because we couldn't successfully create a splash page but we were able to get the materials to link together well and build an app--- just never submitted because of not getting the splash page made and as you know there is no support for 1.5 anymore. So we just started trying to use 2.0. We tried to emulate the app in the video just to make sure the steps worked (didn't work) but we ultimately want to build apps that are designed to promote local vacation destinations with a combination of resources for bed and breakfast, a few key restaurants and fun places to eat, videos of the area and video of "how to" enjoy the area and possibly a game on the app. But, clearly, we have to get to first base first! We liked 1.5 because it permitted RSS feeds from a blog which would allow updating the app without resubmitting the app for info that changes (like B&Bs etc). Can't seem to do that with 2.0 but assuming that's coming. David, we are dragging the plugins and have also tried to drag separate files rather than the whole plugin file. Yes, the menu screen is the first screen and when you click the buttons that are supposedly linked to the other plugins (like location on the demo vid) it just shows a blank screen. Seems strange. We have literally gone through the process more than 20 times, carefully watching the video and doing everything exactly--- so it's hard to know where to go to next though I eagerly await your much appreciated advice. Thanks in advance!
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
09/21/12 07:08 PM (13 years ago)
Edit: oops didn't read first post completely.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/21/12 09:09 PM (13 years ago)
Hi @wholehealthdoc, I'll start by saying that creating your app in v2.0 using the control panel is the same as in v1.5. You basically create the screens you want, link them together, and then compile the app. Nothing new there at all. The one new thing is that with v2.0, when you download your source, you have to drag more of it into your Xcode project than you did with v1.5. But, if the file structure in Xcode matches the download file structure, you're good. If you add a new plugin to your project (like the super cool Notepad feature!), then you'll have to download your source again to pick up the plugin, and drag it into Xcode. So, given all that, I still suggest we start simply to see where we stand. Here is my suggestion: * Delete all your previous screens, or start a new test project in buzztouch * Create a Menu List screen * Make the Menu List Screen your Home Screen (in the Layout section) * Create a screen to link to the Menu * Link it * Download the source, double-click the appname.xcodeproj file to launch Xcode * Drag in missing folders * Compile and Run That's a super basic program to see if there are any general issues, and to show you that it's basically the same as v1.5. Let us know how it goes, and we can proceed from there! Mark
 
wholehealthdoc
Aspiring developer
Profile
Posts: 27
Reg: May 21, 2012
PA
7,170
like
09/24/12 09:51 PM (13 years ago)
Hi Mark, Thanks for the instruction. We have done all of these steps a few times and ran into the problems I described. We have tried to drag the entire plugin folder as is shown in the instructional video and also individual folders. We discovered that by eliminating the twitter plugin from the plugin folder that it did build the app and the app had function to move from screen to screen so it seems that even having the twitter plugin folder in the overall plugin folder (even if it's not being used in the app) somehow fowls up the build and function of the app in the simulator. Hope that was clear. Even though it did build and seems to work (very limited number of plugins used) we got these error messages. Do you know what they mean and how they might impact an actual app function in real life and, how to fix them? Thanks for your help! Have a great day. Stan here are the error messages: warning: no rule to process file '$(PROJECT_DIR)/BT_Plugins/bta_screen_blogpro/BTA_BlogPro_Default_audio.min.js' of type sourcecode.javascript for architecture i386 warning: no rule to process file '$(PROJECT_DIR)/BT_Plugins/bta_screen_blogpro/BTA_BlogPro_Default_code.photoswipe-3.0.5.min.js' of type sourcecode.javascript for architecture i386 warning: no rule to process file '$(PROJECT_DIR)/BT_Plugins/bta_screen_blogpro/BTA_BlogPro_Default_jquery.min.js' of type sourcecode.javascript for architecture i386 warning: no rule to process file '$(PROJECT_DIR)/BT_Plugins/bta_screen_blogpro/BTA_BlogPro_Default_klass.min.js' of type sourcecode.javascript for architecture i386
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/24/12 10:14 PM (13 years ago)
Hi Stan, I looked at the Blog Pro Plugin page, and I see this: BTA_screen_blogPro.java is not done (yet). That probably explains why things aren't working for you. If these are just warnings, then you are probably safe to ignore them. I'm guessing you could also remove the Blog Pro plugin files and that would eliminate them all together. Mark
 

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.