Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 83

Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
11/17/12 04:18 AM (13 years ago)

Xcode plugin management tip

As someone who creates a lot of personal plugins integrating, various 3rd party frameworks, I though I'd share a tip. You will find that when you are buying or creating plugins that a lot of people are integrating different frameworks that aren't in the initial Buzztouch package. For example ATRAINS Tweetsheet utilises the twitter.framework. The Aurasma plugin I've developed is linked to no less than 23 frameworks. But what does this mean. When you compile your source code Buzztouch includes every plugin in your control panel even if you haven't created a screen with it. Thus when you try and compile you will get dozens of linker errors. Now not every app requires aurasma, twitter, store kit, revmobs, gamecenter etc. (to list but a few) To avoid these errors I only ever include the plugins I require. I do this by: 1. follow the instructions and drag the plugins folder into Xcode 2. Highlight and remove each plugin that isn't required, by right clicking, pressing delete, choose remove references. This will remove the offending plugins. The reason we remove references only is so we can add the plugins back in if we decide to add more screens. I do this by right clicking on the BT_plugins folder, press show in finder, drag the plugin back into xcode. Hopefully this has made a little bit of sense. We will find over the coming months with the plugin market, that this will be causing the majority of the errors. *******Remember if you are using a buzztouch developers plugin make sure you follow all of the instructions before ranting on the forum.******
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/17/12 04:25 AM (13 years ago)
Yep I agree.. I was thinking yesterday as well if there was an option in the control panels to only download or choose from only live or used plugins. but of course later i realized if you want to add features or new plugins in a live app it wouldnt work. I guess if you are 100% sure that you will not use a plugin in the future of the app that is live, deleting it is the best option. Its a fine line :) But i agree with the above comment! Read instructions thoroughly befor ranting hehe
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/17/12 04:30 AM (13 years ago)
To be honest you would know whether you needed the aurasma or gamecenter before you started. With the twitter one it's only one framework. Some of the plugins I've designed use a lot of frameworks. To be honest if you were adding aurasma, I think a proper app store update is the way to go to advertise your cool new feature, instead of a back door boogie.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/17/12 05:47 AM (13 years ago)
yeah no back door boogie in a bad way, of course app store updates are very important for the end user and of course as a developer. however it could be a scenario for some folks..
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/17/12 05:49 AM (13 years ago)
well if that's the case prepare to install 50 different frameworks, every time you download the source code, it would be good if there was a faster way.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
11/17/12 09:04 AM (13 years ago)
Good tip, exactly how I handle them as well. Very curious to see how developers deal with support with some of these newer plugins, esp the ones that use 3rd party SDK's and require some very specific project settings. I use a lot of them, but the idea of walking non coders thru some of those steps is not very appealing. I mess up enough of my own projects testing these things. I've been lobbying to have some standard text set for plug-ins that ue them. Something like 'this was tested and works in this enviroment. If you are trying to install in a different enviroment, please note it has not been fully tested and may not be supported' I also always suggest backing up the project and storing a clean zip away before trying to integrate a new SDK in a project. Frameworks are pretty benign, but nice to have an UNDO. One other framework tip - you can set it as OPTIONAL. That helps if you want to keep the framework in your project, but build for devices that might not support it. LOL @ the rant, people never RTFM until they run into problems..... time for football, enjoy the weekend and keep coding kittsy!
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/17/12 09:24 AM (13 years ago)
Hello Everyone, That's a great tip! In Eclipse, when developing a new plugin, can users delete other java screens and xmls that are not related to the plugin? LA
 
LevensGardener
Aspiring developer
Profile
Posts: 220
Reg: Sep 30, 2012
Kendal
10,450
like
11/17/12 10:34 AM (13 years ago)
That is interesting! I was wondering why I had stray files and errors appearing from plugins I had bought, but had not used. Top tip!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
11/17/12 05:33 PM (13 years ago)
Great tip. I agree with LA - someone should make a how-to for removing unnecessary Android plugins :)
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/17/12 05:38 PM (13 years ago)
Yeah I've not really mastered android yet
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/17/12 06:44 PM (13 years ago)
who has..lol
 

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.