Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 19    Views: 348

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
12/05/13 03:59 PM (11 years ago)

Missing Plugin: The view Controller....

Missing Plugin: The view Controller for this plugin was not compiled in the Xcode Project... Get this when running a project I download from BT control panel... I've copied the plugin into Xcode..... why is it not compiled?? Thanks.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
12/05/13 06:19 PM (11 years ago)
When you imported the plugin, did you select the correct checkboxes? Jake
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
12/05/13 07:34 PM (11 years ago)
have the same problem after upgrading last night to 3
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/05/13 08:13 PM (11 years ago)
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/06/13 03:06 AM (11 years ago)
I'm having this problem on BT control panel apps, not self hosted. Self hosted works fine.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
12/06/13 08:28 AM (11 years ago)
This was happening a lot to me in one of the recent releases of Xcode a few weeks back. I would add files to the project but they were not being added to the Compile Sources for some reason. I had to manually add them. It drove me batty for a few days and then some Xcode update magically seems to have fixed it. Check your projects BUILD PHASES and then look under COMPILE SOURCES. Make sure you see the .m of the plugin file you're trying to use. (don;t worry about the .h file, those don't get compiled) It's odd but sometimes even if it's in your project you may still need to add it to the Compile Sources. I wrote it off as a XCode bug. I'm running 5.0.2 (5A3005) now FWIW.
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
12/06/13 03:51 PM (11 years ago)
NOT WORKING ٩(͡๏̯͡๏)۶
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/06/13 04:33 PM (11 years ago)
Sheri -- Now how did you make that little character show up?
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
02/15/14 03:47 PM (11 years ago)
Hi all, Did anybody find a solution for this? I've checked and double checked my plugins (I've only got 1 screen in the build so it's very simple). I've tried Xcode 5.02. I copy the bt_plugins and images folders into project. No luck at all.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/15/14 05:04 PM (11 years ago)
Thomas -- did you try ATRAIN's solution? His instructions are to check Xcode's specification on what should be compiled (.m files) and what should not be compiled (.js files) -- Niraj
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
02/15/14 05:26 PM (11 years ago)
Hi Niraj, I tried recompiling it in Xcode 5.02 on a different computer (a friend's Mac) and got the same error. Looked at .m files and they were all present in compile sources. Not sure what to do about .js files, didn't see them discussed... Thanks!
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
02/15/14 05:33 PM (11 years ago)
Hi Niraj, I tried recompiling it in Xcode 5.02 on a different computer (a friend's Mac) and got the same error. Looked at .m files and they were all present in compile sources. Not sure what to do about .js files, didn't see them discussed... Thanks!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/15/14 05:37 PM (11 years ago)
Send me the project, if you don't mind. I think you have my email address already in previous PMs. -- Niraj
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/15/14 05:40 PM (11 years ago)
With PSMDanny's plugins, he has JavaScript in there. Those .js files somehow get included into the Compile Sources set of files. I remove those .js references from that section. It's safe for you to ignore, I got annoyed by those darned warnings.
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
02/15/14 05:48 PM (11 years ago)
Sent files, appreciate the help...
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/15/14 06:13 PM (11 years ago)
You do not have the BT_Plugins nor the BT_Images groups within your Xcode Project. To fix it, go into your testapp-iOS-BTv3 folder by using the Finder. See the BT_Images and the BT_Plugins folders? Drag those two folders onto the blue project icon for testapp within the Xcode sidebar. Xcode will then ask you a set of questions: 1. Enable checkbox to copy items 2. Enable creation of groups for any added folders 3. Enable adding to target for testapp (ignore testapp Tests) 4. Then click on "Finish" Now you should be able to run the testapp without having any further problems. :-) -- Niraj
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/15/14 06:36 PM (11 years ago)
Also, by looking at your BT_config.txt file, I can see that your Home Screen is the Send Email one. By digging into this, I've noticed that is not allowed to be a Home Screen, because Send Email is not actually a true screen, it is just a capability. It may seem like a nuance, a specific usage of words, let me try to explain. Sending an email is simply a transfer of information (To, Subject, Body) over to the Email app that is already on that iOS device. Thus, Buzztouch does not present a screen to the User, rather, the iOS Mail app presents it's screen to the User. Well, that information gets sent over to the iOS Mail app only when the User takes an action such as tapping on a menu row or tapping on a menu button. In the case of showing the Home screen, the BT_config file is telling Buzztouch to show the email information. Well, the User did not initiate any action (yet) to send information to the Mail app. Thus, there is nothing to show because there is not any Plugin to do email actions. Anyhow, the fix is to set the Home Screen to be the Menu screen named "Sub Menu 1". -- Niraj
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
02/15/14 08:24 PM (11 years ago)
Ah... thank you Niraj! I had already copied the bt_plugins and bt_images folder into the project. I just sent you the wrong .zip file so you didn't see them. But more important, your second suggestion, the home screen, was the problem :) In my rush to compile a 3.0 project as fast as possible, and pack it with as many plugins as possible, I forgot to add a home screen. Duh. Getting so lazy and hasty in my old age. So, as a note to any future readers...if you don't set up a proper home screen or Tabbed layout in your app, you will get a "missing plugin" screen.
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
02/15/14 08:51 PM (11 years ago)
dupe
 
RodsPods
Aspiring developer
Profile
Posts: 4
Reg: Jan 21, 2015
Wynnewood, PA
2,890
like
02/27/15 03:14 PM (10 years ago)
I have the same problem. I get "Missing Plugin: The View Controller for this plugin was not compiled in the Xcode project." I'm using Xcode 6.1.1. All the BT_Plugins appear to be there. What is going on? Here is the screenshot: https://drive.google.com/file/d/0B7A8ie3pASohTkJUVHBsVDJZazA/view?usp=sharing I'm a newbie at this, so please be kind. :) -Rod
 

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.