[WARN] Attempted to load TiUIWindowProxy: Could not find class definition.

You must Login before you can answer or comment on any questions.

Is there a way to fix this problem?

Created a new project, ran on iPhone simulator okay and when I try to distribute to local device I get this error. I have all certificates and provisioning all set.

Thanks,

Mehmet...

— asked 11 months ago by Mehmet Aygar
2 Comments
  • Hi Mehmet

    Please provide some code so we can work out what and where you problem may be.

    — commented 11 months ago by Malcolm Hollingsworth

  • Using the information you have so graciously given to assist us, I can give an expert opnion:

    Its Broken.

    Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 11 months ago by Stephen Feather

2 Answers

Accepted Answer

Clean your project and manually delete the build folder - that helps for me

The build folder is in your project folder next the the Resources folder

— answered 11 months ago by Esben Maaløe
answer permalink
6 Comments
  • To Malcom and Stephen:

    This is one of the many small ways in which Appcelerator helps us spending more time at our computers (they are so generous in that way!).

    If you think about it: How should it ever be possible to write appcode that triggers this kind of error? The answer is of course that it should never be possible. The appcoder has absolutely nothing to do with Ti's loading of proxyviews, the only thing the he/she can do is order views from the system, he/she cannot specify anything about how or where the view is created.

    — commented 11 months ago by Esben Maaløe

  • Yeah, I tried it few times already. Didn't work.

    — commented 11 months ago by Mehmet Aygar

  • Including manually deleting the build folder? Hmm ... that's what seemed to work for me the last time I had that error.

    — commented 11 months ago by Esben Maaløe

  • Show 3 more comments

Sorry didn't make myself clear.

I created a new iPhone project from wizard (Code is generated by TI and I didn't modify anything) I built this project that TI created and ran on iPhone simulator. When I wanted to distribute to the iPhone itself I get this error.

Here is the code that TI generated incase.

function ApplicationWindow() { //declare module dependencies var MasterView = require('ui/common/MasterView'), DetailView = require('ui/common/DetailView');

//create object instance
var self = Ti.UI.createWindow({
    backgroundColor:'#ffffff'
});

//construct UI
var masterView = new MasterView(),
    detailView = new DetailView();

//create master view container
var masterContainerWindow = Ti.UI.createWindow({
    title:'Products'
});
masterContainerWindow.add(masterView);

//create detail view container
var detailContainerWindow = Ti.UI.createWindow({
    title:'Product Details'
});
detailContainerWindow.add(detailView);

//create iOS specific NavGroup UI
var navGroup = Ti.UI.iPhone.createNavigationGroup({
    window:masterContainerWindow
});
self.add(navGroup);

//add behavior for master view
masterView.addEventListener('itemSelected', function(e) {
    detailView.fireEvent('itemSelected',e);
    navGroup.open(detailContainerWindow);
});

return self;

};

module.exports = ApplicationWindow;

Your Answer

Think you can help? Login to answer this question!