Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 14    Views: 70

AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
12/26/13 09:57 PM (11 years ago)

Errors when compling Add to Favorites plugin

I just bought the "Add to Favorites" plugging, but yet when i try to compile the app now, i get a bunch of errors. The errors are listed below. I even added the code to the plugin that adds the favorite button too the plugin, yet still errors. Am i missing something obvious or is there something wrong with this plugin? By the way this is a 3.0 iOS app. Errors: Use of undeclared identifier 'BT_appdelegate' Use of undeclared identifier 'appDelegate' Missing '[' at start of message send expression Parse Issue: Expected expression And thats a just a few… any ideas or solutions? Thanks, Jack
 
chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
like
12/26/13 10:27 PM (11 years ago)
Hit me up on skype at chad.hammer.work I'll see if I can get you shorted out, I had the same problem but I fixed it.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 12:20 AM (11 years ago)
change all instances of "BT_appdelegate" to "yourappname_appDelegate" and you should be good to go... :-) (yourappname being the project name you have) David
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
12/27/13 09:32 AM (11 years ago)
I think just replied to a PM. The reason I am guessing is that the project was downloaded in it's 2.0 flavour not the 3.0 version. I see no errors downloading the 3.0. It has been requested that the 3.0 be made more obvious.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 01:05 PM (11 years ago)
I just downloaded in 3.0 to confirm there are many errors :( David
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 01:08 PM (11 years ago)
Fixed it, BT_appdelegate needs to not only change the app name with BT but also appdelegate should be appDelegate. David
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
12/27/13 01:23 PM (11 years ago)
Really I haven't changed anything
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 01:39 PM (11 years ago)
I don't know. Tried it in a bt 3.0 project, had the same errors as him, but fixed them. Self hosted. Latest xcode. David
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
12/27/13 01:51 PM (11 years ago)
@ Mr.VanBeveren can you be a little bit more specific in the changes you made to the plugin so that it works properly with out any errors?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 01:53 PM (11 years ago)
App Master send me a team viewer ID right now and I will fix it for you :-) David
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
12/27/13 02:01 PM (11 years ago)
I can send it later tonight if you will still be up?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 02:07 PM (11 years ago)
Yes hopefully will be up, pm me it when you are ready :)
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
12/27/13 02:08 PM (11 years ago)
I've just fixed it it should work fine now from the download. I honestly don't know what had happened why would it change
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
12/27/13 02:13 PM (11 years ago)
Ahh cool. No idea... could have been a freak bug that the server changed it after upload. Fun stuff :)
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
12/27/13 08:01 PM (11 years ago)
It is working fine for me now:) one last question, if i have want to have the favorite button on a plugin screen but then i don't want to have it on another screen of the same plugin, how can i do this? thanks, Jack
 

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.