Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 48

OptiPenguin
Aspiring developer
Profile
Posts: 28
Reg: Nov 27, 2013
London
2,030
01/03/14 06:51 AM (11 years ago)

Dumb Question Number 2

Hi... me again! A tedious but puzzling question for someone who has never done this before. When you add a plugin to your self hosted app... do you also have to add the plugin folder to your Xcode project? I have got as far as installing the plugin onto my CPanel, and uploaded it correctly on my FTP server... but no file on my Xcode project... Am I over thinking this?? :-/ Getting there.... slooowwwwlly
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
01/03/14 06:54 AM (11 years ago)
You are right, yes. Anytime you use a new plugin in your app you will have to drag it across to plugins folder in Xcode buddy! Continue on!
 
OptiPenguin
Aspiring developer
Profile
Posts: 28
Reg: Nov 27, 2013
London
2,030
like
01/03/14 06:56 AM (11 years ago)
Thank you MacApple! You're a hero. I get a little way, and then the next little stumble happens. All part of the fun! :-) And just to clarify...drag the whole folder, or just the ".h" and ".m" files?
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
01/03/14 06:57 AM (11 years ago)
Whole folder, correct. It is indeed fun, creating anything and watching it grow..... Keep us posted.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/03/14 06:57 AM (11 years ago)
you need to download the source code again for teh plugin to be in your package. you can copy the plugin from teh download package but will need to change all the instances of BT_appDelegate to yourApp_appDelegate
 
OptiPenguin
Aspiring developer
Profile
Posts: 28
Reg: Nov 27, 2013
London
2,030
like
01/03/14 06:58 AM (11 years ago)
Thanks MacApple. I will do! :-) It's fun teaching yourself as you go along...
 
OptiPenguin
Aspiring developer
Profile
Posts: 28
Reg: Nov 27, 2013
London
2,030
like
01/03/14 07:01 AM (11 years ago)
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
01/03/14 07:04 AM (11 years ago)
As mentioned above, make sure you repackage the app, download and drag in the plugin from the fresh download. Pulling it over from desktop isn't going to work without editing the code. The download process - in laymans terms - matches the plugins and dependencies to your specific app.
 
OptiPenguin
Aspiring developer
Profile
Posts: 28
Reg: Nov 27, 2013
London
2,030
like
01/03/14 07:09 AM (11 years ago)
Ahhh. That was the missing bit of the puzzle. It makes sense though. All sorted. Thanks again! :-)
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
01/03/14 07:21 AM (11 years ago)
Most welcome! Happy Friday. Keith
 

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.