Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 22    Views: 166

Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
03/04/13 09:18 AM (12 years ago)

BT 2.0, unbelievable source code error??

Here is what I mean by "Unbelievable"... http://i1193.photobucket.com/albums/aa345/alucard0011/87A25E555FEB71672013-03-054E0A5348121319.png There are a lot of code compiling errors and syntax errors. There is no such thing before and I can happily compile code. So are there any other persons coming across this problem? And can you please tell me how to solve this? Thank you in advance for any help. I am using Xcode 4.6, Mac OSX 10.7.5
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/04/13 09:37 AM (12 years ago)
Have you downloaded your source code recently (like since last night)? David made a TON of changes to address iOS 6, so it might be worth grabbing a new package. Mark
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
03/04/13 12:01 PM (12 years ago)
Exactly the same problems here! I already wrote in David's latest thread about the plugin updates. This is a serious problem, as I can't work anymore
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
03/04/13 04:29 PM (12 years ago)
After several hours I got the solution for this and at the same time some work for buzztouchmods ;-) Check per FTP if all plugins were updated and you will see that some of them did not update and therefore are not ready for the newest Xcode. For me it was menu with images and blogpro that needed a manual overwrite. The main problem that causes all your errors is the plugin: BTM RSS feed (bt_screen_rssReader). This was not updated as it is a buzztouchmods plugin. DELETE this and you will compile again ;-) As I use the above plugins in almost every app, I would love to see these updated (trying myself right now, but not sure if I can do it). All about: - BTM RSS feed (@David: what is the new classs for BT-rotatingNavController"?) - BTM: Menu Simple Advanced - Header Image (PLUGIN) 1.0
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/04/13 11:03 PM (12 years ago)
Yup, looks like some plugins on your self hosted server are referencing some files that no longer exist. There are three core ideas to making this work: 1) The Core Project files we write. These files contains lots and lots of methods that plugin developers reference in each screen type. 2) The plugin files. Each plugin does something unique but almost always relies on some part of the Core Project. This means a plugin developer must understand what can and cannot be done in the Core Project. If a developer calls a particular method in the Core then naturally it must exist. 3) Compile: When you click Compile (Build and Run) your Xcode compiler looks at all the files in your project and compiles them into a binary. When it does this it checks to make sure everything is valid. If a plugin is calling a method that doesn't exist or referencing a file that doesn't exist you'll get errors and warnings. That's what you're seeing. Lots and lots of plugins exist in lots of places. We updated all of the ones we offer in our market but many others exist that have no awareness of iOS 6 and some recent changes we made to the Core Project. This means you have two choices when working with Plugins that show warnings, errors. a) Not use them, remove them from your control panel b) Update them and fix the syntax errors that produce the compiler warnings and errors. We realized this type of thing would happen with so many plugins in the wild. But, one things for sure, iOS and Xcode and mobile change so rapidly that updates are a necessary part of the process.
 
Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
like
03/05/13 01:19 AM (12 years ago)
So, to conclude, we have to test ourselves which BT plugins works and not works, until you test all plugins in BT 2.0, is that correct?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/05/13 01:34 AM (12 years ago)
@Ellery: The plugins in the Plugin Market have all been testing. All work. None have errors. We can't / don't test plugins obtained elsewhere or created by others. It's odd that you're seeing all those errors (first post). Could it be that you downloaded your source code for a project while we were updating some files yesterday evening? Not sure. Could it be that you're running a self hosted control panel that has plugins that need to be updated? Not sure.
 
Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
like
03/05/13 01:50 AM (12 years ago)
@David. Maybe you are right, maybe I am downloading the source code while you are uploading. I will download the source code and see if it happen again. Thank you.
 
Sven
Lost but trying
Profile
Posts: 14
Reg: Aug 07, 2012
Hamburg, German...
1,790
like
03/05/13 03:15 PM (12 years ago)
After the great webinar today and the help from David, we managed to get the three plugins mentioned by Leon back up an running. I don't know if this is allowed, as these are plugins from buzztouchmods.com, but if anyone is interested in the files we will of course share them.
 
Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
like
03/06/13 07:01 AM (12 years ago)
After downloading the code today I still cannot get it compiled. Same syntax errors.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/06/13 08:24 AM (12 years ago)
@sven @ leong - can you share the source code for the fixes that David made or helped with?
 
Sven
Lost but trying
Profile
Posts: 14
Reg: Aug 07, 2012
Hamburg, German...
1,790
like
03/06/13 12:54 PM (12 years ago)
I'll post a link soon... stay tuned...
 
arun_s
Aspiring developer
Profile
Posts: 7
Reg: Jan 19, 2013
Dallas
1,720
like
03/06/13 09:29 PM (12 years ago)
Very interested in the files... please make available as soon as you can. Thank you!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/06/13 11:46 PM (12 years ago)
Yes -- Please share
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
03/07/13 04:23 AM (12 years ago)
+1 Really need that RSS feed plugin updated ... appreciate anyone who has the skills :)
 
Sven
Lost but trying
Profile
Posts: 14
Reg: Aug 07, 2012
Hamburg, German...
1,790
like
03/08/13 01:35 AM (12 years ago)
Here they are... !!! BACKUP YOUR FILES FIRST !!! Overwrite the files on your self hosted server... https://www.dropbox.com/s/sxf53vgnm4n2mzu/modified_btm_plugins.zip have fun!
 
Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
like
03/08/13 02:10 AM (12 years ago)
@Sven Thanks!
 
mickeywong
Aspiring developer
Profile
Posts: 35
Reg: Jan 10, 2013
Kuala Lumpur
8,800
like
03/09/13 12:21 AM (12 years ago)
Thanks Sven. You'll still need to change the import *yourappname*_appDelegate.m files and rename them in the rss plugin. BUt thanks...!
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
03/09/13 03:00 AM (12 years ago)
Thanks, I'll try it out and report back! Appreciate your efforts @sven :) @mickeywong Thanks for the find and replace advice!
 
Sven
Lost but trying
Profile
Posts: 14
Reg: Aug 07, 2012
Hamburg, German...
1,790
like
03/09/13 03:14 AM (12 years ago)
@mickeywong seems like i missed that one out... i'll have a look at it
 
mickeywong
Aspiring developer
Profile
Posts: 35
Reg: Jan 10, 2013
Kuala Lumpur
8,800
like
03/09/13 05:12 AM (12 years ago)
you're welcome!!! seems it happened only the first time i compiled &* build in xcode(replacing the files in xcode)...but for another app in construction , i actually replaced it before compiling /build in xcode...it seemed fine then.
 
Sven
Lost but trying
Profile
Posts: 14
Reg: Aug 07, 2012
Hamburg, German...
1,790
like
03/11/13 03:01 AM (12 years ago)
yeah... changing the files in xcode won't work... you have to download the sc again after changing the files on the server. the BT_appdelegate will then be substituted
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/13/13 11:27 AM (12 years ago)
Check this out: I have repackaged Sven's updated source code into plugin packages and updated the version information: Download: http://jworldhosting.com/Uploads/modified_btm_plugins.zip Forum Post: http://www.buzztouch.com/forum/thread.php?fid=6240D8F95FE506063F9657F&tid=6240D8F95FE506063F9657F Jake
 

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.