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...
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
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!