关于用theos签名的问题

最近需要在ios7下面获得手机的IMEI,在参考了http://stackoverflow.com/questions/16667988/how-to-get-imei-on-iphone-5这篇帖子后,我在Makefile中加入
export TARGET_CODESIGN_FLAGS="-Sentitlements.plist"
来配置com.apple.coretelephony.Identity.get属性,make 的时候报如下错误:
minimal/mapping.h(54): _assert(false); errno=2
libc++abi.dylib: terminating with uncaught exception of type char*
/bin/sh: line 1: 21807 Abort trap: 6 CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate" ldid “-Sentitlements.plist” “obj/VideoMonitor.app/VideoMonitor.9a0dcc65.unsigned”


有没有大神遇到过,该怎么解决呢???不胜感激

原来是entitlements.plist文件的位置放得不对,没跟Makefile放到相同路径下。。。。汗死