今天终于通过 BT 的方式下完了 iPhone SDK beta3。安装过程中发现几点仍在使用 PowerPC Mac 的开发人员需要注意的地方:
已有多个网站报道虽然 Apple 官方申明 iPhone SDK 只能用于使用 Intel 处理器的 Mac 上,而且 SDK 安装包在 PowerPC Mac 上默认会跳过 iPhone SDK 的安装,但是你可以使用 Pacifist 安装之。然而这些报道都忽略了一点:iPhone SDK 可被安装至任何路径之下,只要安装完成后的文件夹内部结构不被改动即可,所以用 Pacifist 安装的话,安装路径为 ./ ,即启动磁盘的根目录,这样就全乱套了。本人在此感谢 iPhoneAtlas相应文章中留下评论的 gigeamircearaul 提供的解决方案:
用 Disk Utility 将 iPhone SDK.dmg 转换为可读写格式。
打开转换好的 R/W dmg。
你可能需要删除一些文件,因为镜像几乎完全填满了。我选择了删除镜像根目录中的 PDF 文件
修改 /Volumes/iPhone SDK/iPhone SDK.mpkg/Contents/iPhoneSDK.dist :
- Line 71 (in function agreedToSLA() ) - modify “return false;” to “return true;”
- Line 81 ( in function SDKPresent() ) - modify “return false;” to “return true;”
When inserting links in your posts, especially links to resources on your own blog, you can actually use absolute paths like “/wp-content/uploads/****.anyExtension”. This way if you ever decided to move your blog, say, another hosting, you save yourself tons of time wasted on editing these links.
The only limitations here are:
It may require your blog to be self-hosted, meaning, it is not using any blog service provided by companies like WordPress.com, yo2.cn (this one is for us, Chinese), cause you probably don’t know how they store your uploaded files.
On the new serve, you have to upload the files as originally structured on the old one. This requirement is not that hard to meet, I guess, since usually when you move your blog, you would want to make sure it is in almost the same structure for better search engine friendliness.
最新的 iPhone 软件更新 1.1.3 中加入了将网页作为 WebClip 添加至 Home Screen 的功能。不知细心的你在观看 Macworld 2008 上 Steve Jobs 的演讲视频时是否发现 Google 搜索被添加至 Home Screen 时图标并不是像 纽约时报 那样的网页截图,而是一个精心设计的图标。