Information:Building target 'demo1' from 'demo1' with configuration 'Debug' for architecture 'armv7' using 'iOS 9.1' sdk
Error:Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) were found.
Error:Build failed with 1 error and 1 warning in 2s 340ms
Warning:Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'demo1/Info.plist'.
Debug certificate issues. You need to check the certificate on your xcode.
For an introduction to Apple certificates, you can refer to this article on my blog: http://www.hcios.com/archives/1264