I have jail broken device and would like to build the app on the jail broken device. I followed the following links to build the application
Bypassing code sign with xcode 4.5 for iOS6
How can I deploy an iPhone application from Xcode to a real iPhone device?
Test iOS app on device without apple developer program or jailbreak
Created the self signed certificate.
Modified the file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/SDKSettings.plist
Modified CODE_SIGNING_REQUIRED to NO, ENTITLEMENTS_REQUIRED to NO in SDKSetting.plist file.
After that tried to build the application for the device I got the following error
Code Sign error: A valid provisioning profile matching the application's Identifier could not be found
What things I need to do to build an app on Xcode4.6 jail broken device?
I am building the app on MAC OS 10.8.2 using XCode 4.6 on iOS 6.1sdk