The Best practice to protect your iPhone application from pirates

iPhone app developers are facing their hard worked app appears on the pirate app web site the day after it appears on iTunes. So you must want to protect your app as I do, right? But how? What’s the best way to protect your apps?

Here is the best practice by far I know. And it’s really simple and easy to do with. As far as Doskoi know, every hacked iPhone app need to add a key to the info.plist file. They need to add this:

SignerIdentity
Apple iPhone OS Application Signing

So it would be easy for us to detect whether your app was pirated or not. Simply using the following code to protect your apps.

 NSBundle *bundle = [NSBundle mainBundle];
 NSDictionary *info = [bundle infoDictionary];
 if ([info objectForKey: @"SignerIdentity"] != nil)
 {
 // Add your anti-pirate code here.
 }

Hope it will help you.

Doskoi’s Lounge » iPhone软件的破解保护.

OPhone? What the F**k?

本来是打算写英文的,后来发现其实国外的人不会来关注OPhone,更不会来开发OPhone上软件,大概只有中国人会去做这些应用,所以还是写中文吧。

今天看了中移动的MMarket,以及开发者网站dev.mmarket.com,看了一下,感觉好乱。主推机型有10种,个人开发者岂不是要买上n种机器才能测试?而且开发平台有JavaME,有Symbian,有Windows Mobile,每种的开发API都不一样,每台机器都不一样,个人开发者如何胜任?好在国内的劳动力便宜啊,招个开发人员也就是2k+的工资。而且移动现有的n多SP们不正在着急的寻找新的出路么?所以他们肯定会跟进,他们既不需要国外市场,也不需要高深的开发经验,更不需要版权,所有的声音,视频,文字都是自由使用。好恐怖啊。

综合来看,对于个人手机用户,应该还是会有很多人跟进的,游戏啊,图片啊什么的。所以还是一个可以选择的市场。只是你需要吃透中国的国情罢了。和iPhone那自然是无法相比了。iPhone的用户忠诚度和已经现有产品的开发成熟度都是MMarket无法企及的。所以我的意见是,个人开发者还是可以选择做iPhone,并且可以先以iPhone为主,有了自己的产品和内容之后可以考虑在适当的时候试水一下MMarket, 这个东西比SP要强,但是也是泥沙俱下。

看吧,到时候mmarket里面的的东西还是以色情擦边球,赌博擦边球为主。不过要是3G真的起来了,腾讯啊,联众啊以及边锋啊这样的在线游戏估计会非常畅销!所以如果资金充足,可以考虑从在线棋牌类游戏开始。

唉。。中国这个市场真是无奈啊。。。

看到中移动的开发者网站的时候,看了到了一个OPhone,当时就打了个嘀咕,What the F**k?一看OPhone的文档,居然还是英文的。我K,中移动广东研究所的人不会这么牛B了吧。都可以直接写英文了??不可能的,所以必有猫腻。再看简介,基于Linux系统。咦?那不是要用C/C++做开发?不会吧?他们什么时候这么牛X了?随便点开一个Sample一看,OMG,这不是Android么?娘的,我说呢,应该还没有人有这个水平开发出来这样一个平台级别的产品的(就算有水平也未必会去开发!)。难怪都是英文,可是居然除了代码里面有Java的Android的包名之外,什么地方都看不到Android。娘的,你直接说你用的是Android,然后让大家去看Android的文档不就行了?搞什么玄虚呢?丢!你用了Android,你说就是了嘛,又不是什么丢人的事情,搞的好象自己开发的东西一样,不要以为开发了一套界面就是OPhone了,没有Android做底层,中移动广东研究所P也研究不出来一个!还拿来忽悠国人。

反正国内就是这样的怪胎多,更怪的是这样的怪胎都能赚钱。这整个生态圈更怪。MLGB!

Damn it, change the project name cost me a whole day!

Yes, I knew, I am SO stupid, I should Google it before I started to change the XCode project name. It cost me a whole day! What a joke.

All right, if you are looking for the correct way to change your application’s name show on the iPhone main screen. You need follow my steps.

  1. Scroll the left “Groups & Files” panel to the top(Where you put it, I putted it in the left.), and double-click your project name. This will lead us to step 2.
  2. In the Build tab, find the configuration dropdown list, select “All configurations”(Usually, on the top), and then type “Product Name”(It’s not case sensitive, remember the space) in the search box next to the dropdown list.
  3. Type whatever name you like in the right side field, and then close it and go to step 4.
  4. Choose Build->Clean all targets, then rebuild your project, It’s done!

Remember! Do NOT change your target or add your own target! That’s the wrong way, and will cause code sign failure, and it’s hard to repair!

God, Damn you Apple, you should post a tutorial for the developer. Now I did it for you, and you should pay me!

New Rumor: iPhone will be available for China in Q4 this year, incorporating with China-Unicom

It’s still a rumor, but I think it’s closing to the truth now.

Here is the report: From China News.

The Original News from Router.