sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
12/07/15 02:32 PM (8 years ago)

Missing Plugin - View Controller not compiled

After a way too big a gap I've come back to BuzzTouch for a small project which should be easy peasy. So, typically, I'm stuck at the first hurdle. It's in the ios version, I've upgraded xcode etc. I have 4 menu screens and 2 custom html screens - I did want a splash screen but wondered if that was the problem so removed it. So - it's a dead simple app at this point. What could be causing the Missing Plugin error?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/15 02:47 PM (8 years ago)
Hi, Sarah, and welcome back! So, the first question I'd have to ask is, assuming this is iOS, did you remember to drag the BT_Plugins folder into your Xcode project? Because it doesn't import automatically. If you did do that, can you let us know which plugin is throwing the error? And maybe provide some debug output from the debug console? We can help you with that if needed. Thanks! Mark
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
12/07/15 02:51 PM (8 years ago)
Yes, IOS, dragged the BT_Plugins folder over (went and re-viewed the youtube videos too) 2015-12-08 10:13:09.032 nzpif[2855:854225] BT_application: getViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: CCC65E6A1965130B4625C7D 2015-12-08 10:13:09.033 nzpif[2855:854225] BT_plugin_missing: INIT and that item is in the config file as "BT_screens":[{"itemId":"CCC65E6A1965130B4625C7D", "itemType":"BT_screen_menuListSimple", "itemNickname":"Home Screen Menu", "itemId": "CCC65E6A1965130B4625C7D", "itemType": "BT_screen_menuListSimple", "itemNickname": "Home Screen Menu", "navBarTitleText": "Home", "navBarStyle": "transparent", "navBarRightButtonType": "home", "navBarRightButtonTapLoadScreenItemId": "goHome" further down I see 2015-12-08 10:13:09.587 nzpif[2855:854225] BT_background_view: updateProperties (color and image) for screen with itemId: error view controller has no itemId: 2015-12-08 10:13:09.588 nzpif[2855:854225] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2015-12-08 10:13:09.588 nzpif[2855:854225] BT_background_view: "blank.png" exists in Xcode bundle - not downloading.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/15 02:54 PM (8 years ago)
Good on dragging the plugins folder over! Have you confirmed that the BT_screen_menuListSimple plugin exists in that folder? I'd check from the Xcode side...just expand that folder and ensure it's there. Sometimes people add plugins in the control panel after they've downloaded the source, and forget they need to download it again to pick up the new code. Sorry for the questions, but gotta tackle the basics first. Mark
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
12/07/15 03:02 PM (8 years ago)
Yes, it's there. 4 files BT_cell_menuList (.h & .m), BT_screen_menuListSimple (.h & .m) Always good to cover the basics. It's normally where things go wrong. Especially when you "think" you remember.
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
12/07/15 04:16 PM (8 years ago)
Hi Sarah. Maybe this? With the last xCode update, when you drag folders into the project, the "options for adding files" pop-up screen has changed the default setting to "create folder references." This needs to be changed to "create groups."
 
sarahk
Code is Art
Profile
Posts: 159
Reg: Jul 16, 2014
Auckland
10,290
like
12/07/15 09:04 PM (8 years ago)
@Red Dog - you were right on the money!!! Thank you :)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/15 10:06 PM (8 years ago)
Red Dog rocks! I'm gonna have to file that away in my debug stuff...I keep forgetting that. Mark
 

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.