Gray'note

搬家到study1234.com了

[iOS开发问题之联机调试问题]‘com.yourcompany.App_Name’ contains illegal character ‘_’.


Getting Objective Resource Working with SDK 4.2

I cloned Objective Resource from the yfactorial ObjectiveResource github repository, initialized the git submodules, and tried building it under the SDK for 4.2.

I ran into two problems when trying to build. First, it complained about not knowing where the SDK was. To remedy this, I went to Project -> Edit Project Settings -> Build -> Base SDK, and changed it to latest. It was originally looking for the 3.0 SDK, which wasn’t installed on my machine.

Next, it complained with the following errors:

<com.apple.tools.product-pkg-utility>: error: CFBundleIdentifier ‘com.yourcompany.objective_resource’ contains illegal character ‘_’
<com.apple.tools.product-pkg-utility>: invalid bundle identifier ‘com.yourcompany.objective_resource’

I fixed this by following the instructions for‘com.yourcompany.App_Name’ contains illegal character ‘_’. Basically go to Project -> Edit Active Target -> Properties and change identifier from …identifier} to …rfc1034identifier}

Hope this helps someone out!


阅读更多
个人分类: ※iphone开发
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭