Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 78

Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
04/11/14 12:59 AM (10 years ago)

Feedback plugin bug

When including the Feedback Plugin you will get the following error in Xcode when running your app: "Lexical or processor issue 'CTFeedbackViewController.h' file not found. The downloaded project in Xcode is incorrect as it shows the following: #import "CTFeedbackViewController.h" To correct this you must change in Xcode to following: #import "Ml_CTFeedbackViewController.h" This is the filename in the downloaded Xcode project.
 
Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
like
04/11/14 01:12 AM (10 years ago)
Ok so now it compiles in Xcode but when i run it on my phone or on the simulator it says: "Missing Plugin: The View Controller for this plugin was not composed in the Xcode project"
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/11/14 01:50 AM (10 years ago)
Assuming you've already dragged the plugin and/or bt_plugins into your project in xcode, you probably just need to clean the project and hit the refresh button in your app. Sometimes if I don't refresh the data in my simulator or device, the new settings don't take affect right away. The error says it's one of 2 possible things... 1). The files don't exist or are not referenced in the left side of xcode in the project navigator Or 2). The json data from your control panel is not telling your app the correct information on what plugin to load. If you have a look in your xcode debug area, it will pretty much tell you which one
 
Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
like
04/11/14 02:10 AM (10 years ago)
I cleaned project but still the same error. Debug area shows following text: 2014-04-11 11:03:03.140 mtbtrailssafinal10[6175:60b] BT_navController: popViewControllerAnimated for screen with itemId: error view controller has no itemId 2014-04-11 11:03:03.144 mtbtrailssafinal10[6175:60b] WB_screen_menuImage: viewWillAppear (super) 2014-04-11 11:03:03.145 mtbtrailssafinal10[6175:60b] WB_screen_menuImage: configureNavBar (super) for screen with itemId: 81D3976B4E339CBF5BA20E9 2014-04-11 11:03:03.146 mtbtrailssafinal10[6175:60b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "More" color: #01C8FF 2014-04-11 11:03:03.147 mtbtrailssafinal10[6175:60b] WB_screen_menuImage: configureBackground (super) for screen with itemId 81D3976B4E339CBF5BA20E9: 2014-04-11 11:03:03.147 mtbtrailssafinal10[6175:60b] BT_background_view: updateProperties (color and image) for screen with itemId: 81D3976B4E339CBF5BA20E9: 2014-04-11 11:03:03.149 mtbtrailssafinal10[6175:60b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2014-04-11 11:03:03.149 mtbtrailssafinal10[6175:60b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2014-04-11 11:03:03.150 mtbtrailssafinal10[6175:60b] BT_background_view: setImage 2014-04-11 11:03:03.151 mtbtrailssafinal10[6175:60b] WB_screen_menuImage: viewWillAppear 2014-04-11 11:03:06.057 mtbtrailssafinal10[6175:60b] WB_screen_menuImage: didSelectRowAtIndexPath: Selected Row: 5 2014-04-11 11:03:06.058 mtbtrailssafinal10[6175:60b] BT_application: getScreenDataByItemId 9AF4765F86F9CD78C849FA9 2014-04-11 11:03:06.059 mtbtrailssafinal10[6175:60b] BT_application: screenType is ML_feedback for screen with nickname: "Feedback" and itemId: 9AF4765F86F9CD78C849FA9 2014-04-11 11:03:06.059 mtbtrailssafinal10[6175:60b] WB_screen_menuImage: handleTapToLoadScreen (super) loading nickname: "Feedback" itemId: 9AF4765F86F9CD78C849FA9 itemType: ML_feedback 2014-04-11 11:03:06.060 mtbtrailssafinal10[6175:60b] BT_application: getViewControllerForScreen nickname: "Feedback" itemId: 9AF4765F86F9CD78C849FA9 type: ML_feedback 2014-04-11 11:03:06.061 mtbtrailssafinal10[6175:60b] BT_application: getViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 9AF4765F86F9CD78C849FA9 2014-04-11 11:03:06.061 mtbtrailssafinal10[6175:60b] BT_plugin_missing: INIT 2014-04-11 11:03:06.062 mtbtrailssafinal10[6175:60b] BT_navController: pushViewController 2014-04-11 11:03:06.066 mtbtrailssafinal10[6175:60b] BT_plugin_missing: viewDidLoad (super) 2014-04-11 11:03:06.066 mtbtrailssafinal10[6175:60b] BT_plugin_missing: viewDidLoad 2014-04-11 11:03:06.067 mtbtrailssafinal10[6175:60b] BT_plugin_missing: viewWillAppear (super) 2014-04-11 11:03:06.068 mtbtrailssafinal10[6175:60b] BT_plugin_missing: configureNavBar (super) for screen with itemId: error view controller has no itemId 2014-04-11 11:03:06.070 mtbtrailssafinal10[6175:60b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "(null)" color: #01C8FF 2014-04-11 11:03:06.073 mtbtrailssafinal10[6175:60b] BT_plugin_missing: configureBackground (super) for screen with itemId error view controller has no itemId: 2014-04-11 11:03:06.076 mtbtrailssafinal10[6175:60b] BT_background_view: updateProperties (color and image) for screen with itemId: error view controller has no itemId: 2014-04-11 11:03:06.078 mtbtrailssafinal10[6175:60b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2014-04-11 11:03:06.079 mtbtrailssafinal10[6175:60b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2014-04-11 11:03:06.080 mtbtrailssafinal10[6175:60b] BT_background_view: setImage
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
04/11/14 02:31 AM (10 years ago)
Hi Tyroner. I working on it. (fusionsch) have the same problem. It is the ItemId that is the problem. your app can not find the ItemId for the plugin. If you manually change the itemID in config.txt file you see it will work. You need to delete Dataurl string and Report to cloud string so the app can only work with the local config.txt file. But I will fix this soon.
 
Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
like
04/11/14 07:24 AM (10 years ago)
Thanks Mackimack!
 
David73
Aspiring developer
Profile
Posts: 66
Reg: Jan 12, 2013
Texas
660
like
05/23/14 09:37 PM (9 years ago)
Just bought this plugin and it is still not working. Need to get this fixed. I shouldn't have to do a bunch of manual coding to get a plugin to work. I can get it to compile by making the changes listed at the top, but I still get a "Plugin not found?" error.
 
iainbishop
buzztouch Evangelist
Profile
Posts: 9
Reg: Aug 25, 2013
Brisbane
5,390
like
08/09/14 06:41 PM (9 years ago)
Over 2 months on and this plugin still has the same problem. It should be removed from the Plugins page.
 

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.