Apple Mach -O Linker Error

This problem is mainly caused by DUPLICATIONS:

1> duplications of .m Files
goto TARGETS->Projiect->Build Phases->Compile Sources >
check duplicated .m files, keep one and remove others.

2> duplications of variables’ names
check all your variables defined throughout your project >
change duplicated names.

GOOD LUCK 🙂

英语词典APP精简之路

一直有记不住或完全陌生的英语单词需要查询,每每查时都觉得无奈

挤爆屏的解释,数十种词典选项以及丰富多样”“多层次的分类

面对这么多信息,不知从何看起。信息多,内心满足,但带来的阅读压力山大。分类多,觉得全,但整个单词的解释失了重心,没了一目了然的畅快感。这点和日本网站相似,页面信息全但挤得让人烦躁,别提在几寸屏幕的手持设备上显示了。(无贬义,该民族的特色)

我需要快,我忙,我急,我需要解释简单明了,我没时间在密密麻麻的字里行间寻找,我需要一眼就能看到我想看的,一眼就能得到我想要的。我要舒舒服服开开心心去查阅,以便顺便更好地记住它。

于是,在MOJi辞書上线两年后的今天,MOJi英辞终于得以上线。之所以用终于,是因为词典数据量大,整理耗时,只能边拖延边暗示自己目前的英语词典很多很全很强大,无需重复开发。但,太挤,太乱,我需要个简单的,我懒,不想选择。每天很多事要做,不想查个单词都要做选择。

需求很简单:输入单词 > 确认 > 单词解释

  • 输入单词环节精简:语音录入、键盘输入、复制内容自动搜索
  • 确认环节精简:输入内容然后确认的决策会被服务器搜集分析,目标是让云端精确预测,第一个候选就是我想要的,分析数据大了之后,理想的情况是输入单词后直接按确认键,无需选择候选词。
  • 单词解释精简:单词基本属性 + N { 解释 + N个例句 }”的平铺模式。缩进显示最多一层(写报告时,多层缩进很常见,但阅读报告时一直觉得,层越多,理解越困难)。因为单词会有多个词性的情况,为了满足以上模式,每个单词的每个词性被独立为一个单词,比如good的名词和形容词会作为两个独立单词出现在候选列表里。这样有几个好处:a. 缩进最多一层  b.预测时可以精确到某个单词的某个词性。单词源弃用了常见的词典分类,如来自英汉大词典,来自柯林斯词典等,只来自于MOJi英辞。
  • 显示精简:弃用网页,改用原生控件。不然阅读时会有单薄、不牢靠、反应慢、乱跳的感觉。操作阅读体验相对得以提高。

精简之路漫漫,具体请轻触这里(iPhone用户请用Safari打开):苹果商店

Transfer certificates and the kind to your new computer

When you get a new macbook pro, as the apple developer, we need to prepare the things below in order to keep on coding in this new computer.

1> Download all provisioning files

In your new computer > open Xcode > Preferences > Accounts > login your Apple ID for your projects > once logged in click “View Details” on the bottom right side > once loaded all the info click “Download All” on the bottom left side > 50% done.

Lastly, we need to transfer all corresponding certificates with “Keychain Access”

2> Export keychain items from your old computer (“Keychain Access”)

  1. Select “My Certificates” from the left side panel

  2. Select the items you want to export in the Keychain Access window.

  3. Choose File > Export Items.

    If the Export Items menu is dimmed, then at least one of the selected items can’t be exported.

  4. Select a location to save your keychain items, click the File Format pop-up menu, then choose a file type.

  5. Click Save.

  6. Enter a password.

    The password is required to access the exported keychain items when you import them on another computer. Some exported items, such as public keys, don’t require a password.

3> Import keychain items into your new computer (“Keychain Access”)

  1. Choose File from Menu > Import Items.

  2. Navigate to the keychain items file you want to import and select it.

  3. In the Destination Keychain pop-up menu, choose the keychain you want to import to, then click Open.

And there you go! Remember to reopen your Xcode.