tag:blogger.com,1999:blog-12287079027853269252024-02-19T10:49:19.383-05:00Junxian's Tech BlogWelcome here
I'm dumping random tech articles into this blogUnknownnoreply@blogger.comBlogger64125tag:blogger.com,1999:blog-1228707902785326925.post-61047819300996567372014-03-06T03:52:00.000-05:002014-03-06T03:52:50.496-05:00<div class="p1">
<br /></div>
<div class="p1">
<b>I'm using AFNetworking to access a HTTPS website.</b></div>
<div class="p1">
<b><br /></b></div>
<div class="p1">
AFHTTPRequestOperationManager<span class="s1"> *manager = [</span>AFHTTPRequestOperationManager<span class="s1"> </span><span class="s2">manager</span><span class="s1">];</span></div>
<div class="p2">
<span class="s1"> </span>// We modify AFSecurityPolicy to allow invalid certificate only for beecloud.cn</div>
<div class="p1">
<span class="s1"> manager.</span>securityPolicy<span class="s1">.</span>allowInvalidCertificates<span class="s1"> = </span><span class="s3">YES</span><span class="s1">;</span></div>
<div class="p3">
<span class="s1"> [manager </span><span class="s2">GET</span><span class="s1">:</span>@"https://url"<span class="s1"> </span><span class="s2">parameters</span><span class="s1">:</span><span class="s3">nil</span><span class="s1"> </span><span class="s2">success</span><span class="s1">:^(</span><span class="s4">AFHTTPRequestOperation</span><span class="s1"> *operation, </span><span class="s3">id</span><span class="s1"> responseObject) {</span></div>
<div class="p4">
<span class="s5">NSLog</span>(<span class="s6">@"JSON: %@"</span>, responseObject);</div>
<div class="p4">
} <span class="s2">failure</span>:^(<span class="s4">AFHTTPRequestOperation</span> *operation, <span class="s7">NSError</span> *error) {</div>
<div class="p4">
<span class="s5">NSLog</span>(<span class="s6">@"Error: %@"</span>, error);</div>
<div class="p4">
}];</div>
<div class="p4">
<br /></div>
<div class="p4">
<br /></div>
<div class="p4">
But I got the following errors:</div>
<div class="p4">
<br /></div>
<div class="p1">
<b>2014-03-06 00:46:13.311 xctest[61972:1b27] CFNetwork SSLHandshake failed (-9806)</b></div>
<div class="p1">
<b>2014-03-06 00:46:13.371 xctest[61972:1b27] CFNetwork SSLHandshake failed (-9806)</b></div>
<div class="p1">
<b>2014-03-06 00:46:13.456 xctest[61972:1b27] CFNetwork SSLHandshake failed (-9806)</b></div>
<div class="p1">
<b>2014-03-06 00:46:13.458 xctest[61972:1b27] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806)</b></div>
<br />
<div class="p1">
<b>2014-03-06 00:46:13.461 xctest[61972:303] Error: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x102a2aa50 {NSUnderlyingError=0x10c0dd710 "An SSL error has occurred and a secure connection to the server cannot be made.", NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made.}</b><br />
<b><br /></b>
<b>It turns out that at our server side, we are generating a self-signed certificate using the keys generated using the default DSA algorithm. Somehow iOS has trouble dealing with DSA keys for SSL. After changing it to RSA using the following command, the problem is gone: </b><br />
<b><br /></b>
<b>keytool -genkey -keyalg RSA -alias server -keystore real_serverKeys </b><br />
<b><br /></b>
<b>Problem is gone!</b></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1228707902785326925.post-7913156931516704312014-03-01T22:19:00.002-05:002014-05-14T20:05:20.894-04:00写代码的建议几个写代码的建议,尽量避免重新发明车轮,一般比较好的做法是写一些底层的比较灵活的API,然后对这些底层API做各种crazy的unit test,然后其他的高层的API都调用这些底层的API,这样能够减少bug,代码design也更好。<br />
<br />
我在Google受到的training有很多是关于代码格式,我刚来Google的时候,写的第一段代码写了改改了写差不多10多个来回,被人拍的体无完肤。以后要把这个习惯延续。<br />
1 所有的函数都需要写注释,写清楚这个函数干嘛的,@param 参数是什么, @return 返回值是什么。<br />
2 Unit Test极其重要,写的每一个函数最好都能有unit test来测试各种分支情况,尤其是对于逻辑复杂的函数,必须有Unit Test,各种不合法的输入等等。(UI可能不好unit test,但是对于写的一些具有复杂的logic代码也要有unit test)。<br />
3 代码里面要多些注释,尤其是一些不那么常见的设计,或者是自己图方便图简单的设计,不那么显而易见的逻辑都需要写注释。<br />
<br />
这些看是浪费时间,实则磨刀不误砍柴工,我深有体会,以前读PHD时候也是懒得这么做,后来上班了读别人的代码才知道这样做的重要性。<br />
<br />
做后端,就是要能静下心,做技术的就是要有对技术追求精益求精的强迫症。所以你们在做设计,写代码的时候,一定要做到有“洁癖”,有“强迫症”,一定要找到最elegant的方案。<br />
<br />
另外Google永远是好伙伴,找不到解决方案一定要上Google搜索,中文或者英文的关键词都试试,很多问题都迎刃而解。<br />
<div>
<br /></div>
<div>
共勉+自勉</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-23569472634031061372012-01-30T17:12:00.001-05:002012-01-30T17:13:59.240-05:00Can I make MATLAB code run silently?Can I make MATLAB code run silently, without producing any intermediate results or showing any values of matrix or variables?<div><br /></div><div>Yes, the answer is amazingly simple.</div><div><br /></div><div>Add a semicolon ";" to the end of every line of code</div><div><br /></div><div>That's it:)</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1228707902785326925.post-7780973815175552732011-03-10T01:32:00.003-05:002011-03-10T01:52:03.609-05:00How to efficiently write academic paper on Mac OS?I wanna write something on this because some of my friends using Mac complain about the inconvenience to use Latex-related software to write paper.<div><br /></div><div>I have to admit that WinEdt is pretty awesome (I used it years ago in my undergrad). But</div><div><br /></div><div><b>Can we do all WinEdt can do under Mac?</b></div><div><br /></div><div>I think the answer should be positive.</div><div><br /></div><div>My current solution is</div><div><br /></div><div><b>VIM + TexShop</b></div><div><br /></div><div>The special feature I love about TexShop is the "sync" which leads you to the correct tex file and correct line and even correct word which corresponds to the PDF selection (WinEdt can do this of course). Another good thing about TexShop is that compiling LaTex is really fast (compared with my weak Makefile), and also the preview windows loads the file where you were rather than from the beginning. I will talk later how annoying Adobe Reader and Preview are which always loads your new PDF file from the beginning.</div><div><br /></div><div>VIM's magic lies in ~/.vimrc and I plan to write more about it.</div><div>Today I found a good post writing about <a href="http://tips.webdesign10.com/vim/how-use-vims-spellchecker">How to Use Vim's Spellchecker</a> and <a href="http://blog.ezyang.com/2010/03/vim-textwidth/">How to use Vim’s textwidth like a pro</a>. Some of these features are not included in <a href="http://junxian-huang.blogspot.com/2010/11/config-file-for-vim-cheating-file.html">my previous post of a good .vimrc cheat sheet</a>.</div><div><br /></div><div>For now, I'm still trying to make VIM + TexShop to be as good as WinEdt (currently still lagging behind). For example, I want to make double clicking a word redirect me to the editing location rather than right-click and then click "Sync". Another example is the search function of PDF preview in TexShop does not work, you have to search in the drawer's window, which sucks! </div><div><br /></div><div>Adobe Reader's search is way better, but after compilation, it's hard to go to the old editing location in Adobe Reader because it considers the file to be different before and after compilation (so even if you enable "Restore last view settings when reopening documents", after "make clean" and "make all" of your paper, opening the paper will start from the beginning and you have to scroll pages before you find where you were ..., Preview app in Mac has similar problems). </div><div><br /></div><div>I feel I need to future change some shortcuts to make VIM+TexShop more efficient and eventually, it should be comparable to WinEdt if not more.</div><div><br /></div><div>Mac should not be in any case worse than Windows except for hosting viruses!</div><div><br /></div><div><br /></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1228707902785326925.post-58757899035076601212011-02-27T02:30:00.000-05:002011-02-27T02:31:01.866-05:00iPhone compilation problem<a href="http://stackoverflow.com/questions/3098626/appstore-app-works-perfectly-on-iphone-3gs-but-crashes-on-ipod-touch-and-iphone-3">this post</a> saved my life!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-48737177185315540482011-01-18T03:12:00.001-05:002011-01-18T03:13:15.903-05:00Display info.plist in program<meta equiv="Content-Type" content="text/html; charset=UTF-8"> <meta equiv="Content-Style-Type" content="text/css"> <title></title> <meta name="Generator" content="Cocoa HTML Writer"> <meta name="CocoaVersion" content="1038.35"> <style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #430083} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px} span.s1 {color: #7925ac} span.s2 {color: #430083} span.s3 {color: #e50000} span.s4 {color: #000000} span.Apple-tab-span {white-space:pre} </style> <p class="p1"><span class="s1">Display info.plist in program</span></p><p class="p1"><span class="s1">
<br /></span></p><p class="p1"><span class="s1">
<br /></span></p><p class="p1"><span class="s1">NSDictionary</span>* infoDictionary = [[<span class="s1">NSBundle</span> <span class="s2">mainBundle</span>] <span class="s2">infoDictionary</span>];</p> <p class="p1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s2">NSLog</span>(<span class="s3">@"%i Keys: %@ "</span>, [infoDictionary <span class="s2">count</span>],</p> <p class="p2"><span class="s4"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span> [[infoDictionary </span>allKeys<span class="s4">] </span>componentsJoinedByString<span class="s4">: </span><span class="s3">@" ,"</span><span class="s4">]);</span></p> <p class="p3"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></p><p class="p3"><span class="Apple-tab-span">
<br /></span></p><p class="p3"><span class="Apple-tab-span">
<br /></span></p> <p class="p1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>UIDeviceFamily ,CFBundleInfoPlistURL ,DTPlatformName ,LSRequiresIPhoneOS ,CFBundleVersion ,</p> <p class="p1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>CFBundleIdentifier ,CFBundleSignature ,CFBundleExecutable ,CFBundleExecutablePath ,CFBundleDisplayName ,CFBundleName ,CFBundleIconFiles ,</p> <p class="p1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>CFBundleSupportedPlatforms ,CFBundlePackageType ,NSBundleResolvedPath ,DTCompiler ,CFBundleInfoDictionaryVersion ,prefix ,CFBundleIconFile ,</p> <p class="p1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>CFBundleResourceSpecification ,DTXcodeBuild ,DTPlatformBuild ,DTXcode ,</p> <p class="p1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>MinimumOSVersion ,NSBundleInitialPath ,DTPlatformVersion ,UIStatusBarHidden ,UIPrerenderedIcon ,DTSDKName ,CFBundleDevelopmentRegion </p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-6399966488600171852011-01-18T02:55:00.004-05:002011-01-18T03:05:53.273-05:00iPhone Xcode codesign problemI met with a really weird problem when programming with iPhone app using xcode<br /><br />Every other time, my build will fail with<br />"Command /usr/bin/codesign failed with exit code 1" as the error.<br /><br />However, the second time it will succeed.<br /><br />This is the details of the error<br /><br />CodeSign "build/Release-iphoneos/x.app"<br />cd /Users/x/Documents/x/three20/x<br />setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br />setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate<br />/usr/bin/codesign -f -s "iPhone Developer: x" "--resource-rules=/Users/x/Documents/x/three20/x/build/Release-iphoneos/x.app/ResourceRules.plist" --entitlements "/Users/x/Documents/x/three20/xx/build/template.build/Release-iphoneos/x.build/x.xcent" "/Users/x/Documents/x/three20/x/build/Release-iphoneos/x.app"<br /><br />/Users/x/Documents/x/three20/x/build/Release-iphoneos/x.app: object file format invalid or unsuitable<br />Command /usr/bin/codesign failed with exit code 1<br /><br /><br />While the second time when it succeeds, it has the following warning:<br /><br />"<br />Check dependencies<br /><br />[WARN]Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.<br />"<br /><br />"Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.<br /><br />"<br /><br /><br /><br />After hours' search, there are NO other good posts talking about this. Many people asked this question, but no good answer found.<br /><br />I tried myself many different ways and finally, I know why!!<br /><br /><br />This is because Info.plist includes self as target.<br /><br /><span class="Apple-style-span" ><i><b>Then how to fix????</b></i></span><div><span class="Apple-style-span" ><i><b><br /></b></i></span></div><div><span class="Apple-style-span" ><i><b>Info.plist -> Get Info -> Targets -> If your app is checked, click that check mark to make it unchecked.</b></i></span></div><div><span class="Apple-style-span" ><i><b><br /></b></i></span></div><div><span class="Apple-style-span" ><i><b>This simple uncheck fixes everything!</b></i></span></div><div><br /><br /><br /><br /></div>Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-1228707902785326925.post-74677635264300045452010-11-12T01:35:00.002-05:002010-11-12T01:39:03.823-05:00Config file for VIM Cheating file (Version 11.11.2010)In case you want a working Config for VIM, download it <a href="http://app2search.com/.vimrc">here</a>.<br /><br />Or you can copy and past the following into ~/.vimrc<br /><br />It supports syntax, unlimited yank buffer size (default is 50 lines which is annoying), press space to page down just like a web browser. I will keep updating this file<br /><br /><br />" .vimrc by Junxian<br />" Version 11.11.2010<br />"<br />" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just<br />" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime<br />" you can find below. If you wish to change any of those settings, you should<br />" do it in this file (/etc/vim/vimrc), since debian.vim will be overwritten<br />" everytime an upgrade of the vim packages is performed. It is recommended to<br />" make changes after sourcing debian.vim since it alters the value of the<br />" 'compatible' option.<br /><br />" This line should not be removed as it ensures that various options are<br />" properly set to work with the Vim-related packages available in Debian.<br />runtime! debian.vim<br /><br />" Uncomment the next line to make Vim more Vi-compatible<br />" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous<br />" options, so any other options should be set AFTER setting 'compatible'.<br />"set compatible<br /><br />" Vim5 and later versions support syntax highlighting. Uncommenting the next<br />" line enables syntax highlighting by default.<br />syntax on<br /><br />" If using a dark background within the editing area and syntax highlighting<br />" turn on this option as well<br />"set background=dark<br /><br />" Uncomment the following to have Vim jump to the last position when<br />" reopening a file<br />if has("autocmd")<br /> au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")<br /> \| exe "normal! g'\"" | endif<br />endif<br /><br />" Uncomment the following to have Vim load indentation rules according to the<br />" detected filetype. Per default Debian Vim only load filetype specific<br />" plugins.<br />if has("autocmd")<br /> filetype indent on<br /> set autoindent<br />endif<br /><br />" The following are commented out as they cause vim to behave a lot<br />" differently from regular Vi. They are highly recommended though.<br />set showcmd " Show (partial) command in status line.<br />set showmatch " Show matching brackets.<br />set ignorecase " Do case insensitive matching<br />set smartcase " Do smart case matching<br />set incsearch " Incremental search<br />set autowrite " Automatically save before commands like :next and :make<br />set hidden " Hide buffers when they are abandoned<br />"set mouse=a " Enable mouse usage (all modes) in terminals<br /><br />" Source a global configuration file if available<br />" XXX Deprecated, please move your changes here in /etc/vim/vimrc<br />if filereadable("/etc/vim/vimrc.local")<br /> source /etc/vim/vimrc.local<br />endif<br /><br />" Turn on line numbering. Turn it off with "set nonu" <br />set number<br /><br />"all PHP files in current file's directory and recursively will be scanned<br />"use mapping to re-build tags files after editing<br />nmap <silent> <F4><br /> \ :!ctags -f %:p:h/tags<br /> \ --langmap="php:+.inc"<br /> \ -h ".php.inc" -R --totals=yes<br /> \ --tag-relative=yes --PHP-kinds=+cf-v %:p:h<CR><br />set tags=./tags,tags<br /><br /><br />"Tell me where I am<br />set ruler<br /><br /><br />" Higlhight search<br />set hls<br />" Map Ctrl+N to remove highlight<br />nmap <silent> <C-N> :silent noh<CR><br /><br />" make that backspace key work the way it should<br />set backspace=indent,eol,start<br /><br />" make space = page down<br />nmap <Space> <PageDown><br /><br />" remove the buffer limit when dong yank to copy and past in VIM<br />set viminfo='100,hUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-42793065546639119052010-09-16T22:00:00.000-04:002010-09-16T22:01:58.912-04:00How to add multiple Icons for iPhone/iPad/iPhone 4 with different resolutions?<a href="http://useyourloaf.com/blog/2010/8/4/application-icon-troubles.html">This post</a> pretty much solves the problem completely.<br /><br />I haven't tried myself, but it looks promising.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-14570269940967525022010-05-10T23:13:00.002-04:002010-05-11T00:59:40.707-04:00Mac OS 10.6 Snow Leopard problem after installing MacPortsps2pdf14 paper.ps paper.pdf<br />dyld: Library not loaded: /opt/local/lib/libX11.6.dylib<br /> Referenced from: /opt/local/bin/gs<br /> Reason: no suitable image found. Did find:<br /> /opt/local/lib/libX11.6.dylib: mach-o, but wrong architecture<br />make: *** [paper.pdf] Trace/BPT trap<br /><br /><br />So you need to copy all libs from /usr/X11R6/lib/ to /opt/local/lib/Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-34452846996195843112010-03-28T22:35:00.002-04:002010-03-28T22:40:24.599-04:00How to jailbreak iPod Touch 3.1.3 with MAC OS XFirst, degrade you iPod to 3.1.2 because 3.1.3 is not well-supported by iPhone's hackers' community.<br />For iPod 2G, you need "iPod2,1_3.1.2_7D11_Restore.ipsw"<br />It can be downloaded by searching the file name.<br /><br />Then follow the steps here<br />http://tysiphonehelp.com/?p=482<br /><br />Very simple and I just tried, it worksUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-19495176780789162722010-02-22T23:16:00.003-05:002010-02-22T23:25:12.480-05:00How to read crash log file for iPhone OSSearch in your "spotlight" for : symbolicatecrash<br />Or you can download it <a href="http://www.eecs.umich.edu/~hjx/symbolicatecrash">here</a><br /><br />Run:<br /><br />./symbolicatecrash log.crash test.app.dSYM<br /><br />The output will transform the memory address to line number and file name.<br /><br />This will help you a lot in debugging iPhone's Apps, especially when the crash log is from Apple App Review Team (who sucks!!).<br /><br />Before symbolication, the crash log is like:<br /><br />"<br />Version: ??? (???)<br />Code Type: ARM (Native)<br />Parent Process: launchd [1]<br /><br />Date/Time: 2010-02-22 22:07:41.175 -0500<br />OS Version: iPhone OS 3.1.3 (7E18)<br />Report Version: 104<br /><br />Exception Type: EXC_CRASH (SIGABRT)<br />Exception Codes: 0x00000000, 0x00000000<br />Crashed Thread: 0<br /><br />Thread 0 Crashed:<br />0 libSystem.B.dylib 0x33994b2c 0x33904000 + 592684<br />1 libSystem.B.dylib 0x33994b1a 0x33904000 + 592666<br />2 libSystem.B.dylib 0x33994b0e 0x33904000 + 592654<br />3 libSystem.B.dylib 0x339abe34 0x33904000 + 687668<br />4 libstdc++.6.dylib 0x30800390 0x3079a000 + 418704<br />5 libobjc.A.dylib 0x3336e898 0x33366000 + 34968<br />6 libstdc++.6.dylib 0x307fda84 0x3079a000 + 408196<br />7 libstdc++.6.dylib 0x307fdafc 0x3079a000 + 408316<br />8 libstdc++.6.dylib 0x307fdc24 0x3079a000 + 408612<br />9 libobjc.A.dylib 0x3336ce54 0x33366000 + 28244<br />10 CoreFoundation 0x3387db2c 0x33857000 + 158508<br />11 CoreFoundation 0x3387dacc 0x33857000 + 158412<br />12 Foundation 0x32e9970a 0x32e78000 + 136970<br />13 Foundation 0x32ebf520 0x32e78000 + 292128<br />14 Show Off 0x00002caa -[AppDelegate applicationDidFinishLaunching:] (AppDelegate.m:164)<br />15 UIKit 0x32003e88 0x31fff000 + 20104<br />16 UIKit 0x32003a60 0x31fff000 + 19040<br />17 UIKit 0x32054df8 0x31fff000 + 351736<br />18 UIKit 0x32054634 0x31fff000 + 349748<br />19 UIKit 0x3205408c 0x31fff000 + 348300<br />20 GraphicsServices 0x3434f7dc 0x3434a000 + 22492<br />21 CoreFoundation 0x338ae524 0x33857000 + 357668<br />22 CoreFoundation 0x338adc18 0x33857000 + 355352<br />23 UIKit 0x32002c00 0x31fff000 + 15360<br />24 UIKit 0x32001228 0x31fff000 + 8744<br />25 Show Off 0x000027a0 main (main.m:7)<br />26 Show Off 0x0000273c start + 44<br /><br />"<br /><br />After transformation, it looks like:<br />"<br />Version: ??? (???)<br />Code Type: ARM (Native)<br />Parent Process: launchd [1]<br /><br />Date/Time: 2010-02-22 14:27:43.947 -0800<br />OS Version: iPhone OS 3.1.3 (7E18)<br />Report Version: 104<br /><br />Exception Type: EXC_CRASH (SIGABRT)<br />Exception Codes: 0x00000000, 0x00000000<br />Crashed Thread: 0<br /><br />Thread 0 Crashed:<br />0 libSystem.B.dylib 0x33994b2c 0x33904000 + 592684<br />1 libSystem.B.dylib 0x33994b1a 0x33904000 + 592666<br />2 libSystem.B.dylib 0x33994b0e 0x33904000 + 592654<br />3 libSystem.B.dylib 0x339abe34 0x33904000 + 687668<br />4 libstdc++.6.dylib 0x30800390 0x3079a000 + 418704<br />5 libobjc.A.dylib 0x3336e898 0x33366000 + 34968<br />6 libstdc++.6.dylib 0x307fda84 0x3079a000 + 408196<br />7 libstdc++.6.dylib 0x307fdafc 0x3079a000 + 408316<br />8 libstdc++.6.dylib 0x307fdc24 0x3079a000 + 408612<br />9 libobjc.A.dylib 0x3336ce54 0x33366000 + 28244<br />10 CoreFoundation 0x338ecbf6 0x33857000 + 613366<br />11 CoreFoundation 0x33871b12 0x33857000 + 109330<br />12 CoreFoundation 0x33868838 0x33857000 + 71736<br />13 test 0x0001a4ce -[TTViewController shouldAutorotateToInterfaceOrientation:] (TTViewController.m:197)<br />14 UIKit 0x32085988 0x31fff000 + 551304<br />15 UIKit 0x320efe38 0x31fff000 + 986680<br />16 UIKit 0x320b439c 0x31fff000 + 742300<br />17 test 0x000155be -[TTTableViewController initWithStyle:] (TTTableViewController.m:128)<br />18 test 0x0001458e -[TTTableViewController init] (TTTableViewController.m:135)<br />19 test 0x0000343e -[CatalogController init] (CatalogController.m:11)<br />20 test 0x0003f1fc -[TTURLNavigatorPattern createObjectFromURL:query:] (TTURLPattern.m:747)<br />21 test 0x0003dc9e -[TTURLMap objectForURL:query:pattern:] (TTURLMap.m:304)<br />22 test 0x000426c4 -[TTNavigator viewControllerForURL:query:pattern:] (TTNavigator.m:478)<br />23 test 0x0004291c -[TTNavigator openURL:parent:query:state:animated:transition:withDelay:] (TTNavigator.m:238)<br />24 test 0x00041d12 -[TTNavigator openURL:animated:] (TTNavigator.m:390)<br />25 test 0x00002d66 -[AppDelegate applicationDidFinishLaunching:] (AppDelegate.m:133)<br />26 UIKit 0x32003e88 0x31fff000 + 20104<br />27 UIKit 0x32003a60 0x31fff000 + 19040<br />28 UIKit 0x32054df8 0x31fff000 + 351736<br />29 UIKit 0x32054634 0x31fff000 + 349748<br />30 UIKit 0x3205408c 0x31fff000 + 348300<br />31 GraphicsServices 0x3434f7dc 0x3434a000 + 22492<br />32 CoreFoundation 0x338ae524 0x33857000 + 357668<br />33 CoreFoundation 0x338adc18 0x33857000 + 355352<br />34 UIKit 0x32002c00 0x31fff000 + 15360<br />35 UIKit 0x32001228 0x31fff000 + 8744<br />36 test 0x00002968 main (main.m:7)<br />37 test 0x00002924 start + 44<br /><br />"Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-33251260650558193142010-02-13T04:14:00.002-05:002010-02-13T04:15:31.247-05:00How to extract MP3 audio file out of an FLV file in MAC OS X<a href="http://translate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http://www.fraction.jp/log/archives/2008/01/18/FLVMP3Extractor&sl=ja&tl=en&history_state0=">http://translate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http://www.fraction.jp/log/archives/2008/01/18/FLVMP3Extractor&sl=ja&tl=en&history_state0=</a><br /><br />Just try this iExtractor.<br /><br />Extremely nice and FREEUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-42616564125500460962009-12-31T19:00:00.004-05:002009-12-31T19:06:09.665-05:00iPhone 3.0 Push notification sample code & tutorialI found the following two links quite helpful for me when developing iPhone Application using push notifications.
<br />
<br /><a href="http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html">http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html</a>
<br />
<br />and
<br />
<br /><a href="http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial">http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial</a>
<br />
<br />I also met with the following ERRORS:
<br />
<br />Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x2910d0 "未找到应用程序的“aps-environment”的权利字符串"
<br />
<br />Interestingly, I solved the problem with this post "I got the solution, when you have configured your AppID for Push notification, then recreate a new provisioning file with this AppID and install it on the Xcode Organiser, this has worked for me ." from the following link:<div>
<br /></div><div><a href="http://blog.werdn.us/2009/07/iphone-os-and-entitlements/">http://blog.werdn.us/2009/07/iphone-os-and-entitlements/</a></div><meta charset="utf-8">Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-1228707902785326925.post-62670141461908718922009-12-27T01:21:00.003-05:002009-12-27T01:23:13.798-05:00Some thoughts for building my dreamI should imagine more than what I can do now. And much more.<div><br /></div><div>The ultimate goal should be big enough that you will try to fulfill it with my whole life</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-38923726826234452872009-11-24T05:38:00.003-05:002009-11-28T20:23:48.353-05:00Slow DNS lookup for T-Mobile and AT&TBased on our study, iPhone/AT&T and G2/T-Mobile is really slow for DNS lookup.<div>But Samsung/Verizon and Palm/Sprint are better.</div><div><br /></div><div><span class="Apple-style-span" style="font-family: Times; font-size: medium; color: rgb(255, 255, 255); ">BbUAYORaXy892uDS11xu</span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-51674164849522587502009-11-11T22:51:00.003-05:002009-11-11T22:54:14.043-05:00Comparison between Admob and Adsense: which is more profitable?Admob is a very good publisher's tool for iPhone's applications.<div><br /></div><div>Based on my experience, for the same page views, such as 1000 page views,</div><div>admob can earn more than adsense.</div><div><br /></div><div>Why?</div><div>I guess this is because the screen size of iPhone/iPod is smaller than an computer.</div><div>Also mouse allows users to click more accurately than touchpads.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-78427882490019434002009-11-11T22:45:00.003-05:002009-11-11T22:49:33.432-05:00iPhone APP using three20 library is rejected<div>I used three20 to develop an iPhone image gallary application</div><div>And here comes the nightmare:</div><div>"</div><div><span class="Apple-style-span" style=" border-collapse: collapse; font-family:arial, sans-serif;font-size:13px;">Please include the line below in follow-up emails for this request.<br /><br />Follow-up: xxxxx<br /><br />Dear XXXXXXX,<br /><br />Thank you for submitting XXXXX to the App Store. Unfortunately it cannot be added to the App Store because it is using a private API. Use of non-public APIs, which as outlined in the iPhone Developer Program License Agreement section 3.3.1 is prohibited:.<br /><br />"3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs."<br /><br />The non-public APIs that are included in your application are the following undocumented, private UITouch instance variables:<br /><br />UITouch._locationInWindow<br />UITouch._phase<br />UITouch._<wbr>previousLocationInWindow<br />UITouch._tapCount<br />UITouch._timestamp<br />UITouch._touchFlags<br />UITouch._view<br />UITouch._window<br /><br />Regards,<br /><span style="color:#888888;"><br />iPhone Developer Program<br />****************************</span></span></div><div>"</div><div><br /></div><div>Check the apple store safe three20 here.</div><div>Only slight modifications.</div><div>But I don't know whether it will be approved by apple or not.</div><div>I already resubmitted two days ago.</div><div>Let's see</div><div><br /></div><a href="http://github.com/uprise78/three20-P31/commits/master/">http://github.com/uprise78/three20-P31/commits/master/</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1228707902785326925.post-18715320305307177292009-11-05T01:38:00.007-05:002009-11-05T01:53:23.459-05:00How long does it take Apple App Store to approve an application for iPhone?<div>Is your application submitted to Apple still "in review" or "waiting for review"?</div><div>Personally, I don't know the difference between these two terms, however,</div><div>one of my application submitted to Apple App Store for iPhone is "in review", while the other is "waiting for review". Maybe I can assume the one "in review" is being reviewed? Unfortunately, it has been reviewed for at least a week. It really doesn't make any difference to me between "in review" and "waiting for review".</div><div><br /></div>My first application <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=327015685&mt=8&s=143441">3GTest</a> took Apple 2 weeks to find a small bug and reject it.<div>I fixed the bug in five minutes and waited another 1 week before Apple found another bug inside.</div><div><br /></div><div>Finally, 5 weeks after I submitted the application and fixed two lines of code, I received a call from Apple telling me that the application is approved as if I have won a big prize.</div><div><br /></div><div>The most recent statistics shows that 75% of submitted applications are approved within 2 weeks.</div><div>This percentage is about 82% two weeks ago, and about 95% 1 month ago.</div><div><br /></div><div>So what the hell is wrong with Apple?</div><div>We knew that iPhone / iPod touch is really popular and there are many many applications submitted everyday. But given that these applications also help u earn so many bucks and help u sell so many phones and ipods, why can't u just hire more people to review the applications?</div><div><br /></div><div>After weeks' waiting, I even can't remember what my application looks like.</div><div>But one good thing is that, it's quite possible, one day, walking with the help of a stick, I will receive a call from Apple telling me that "congratulations, sir, your application is approved!". I will suddenly realize that "Holyshit, I have ever created an iPhone application in objective-c, I'm so proud of myself when I was young decades ago"</div>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-1228707902785326925.post-13526029045950535632009-10-10T15:29:00.003-04:002009-10-10T15:32:13.948-04:00US Dollar VS. CHINA Yuan RMB changes over time<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://ichart.finance.yahoo.com/5y?usdcny=x"><br /><img style="text-align: left;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 512px; height: 288px; " src="http://ichart.finance.yahoo.com/5y?usdcny=x" border="0" alt="" /></a><br /><div>Current currency, </div><div><span class="Apple-style-span" style=" border-collapse: collapse; font-family:Arial, Helvetica, sans-serif;font-size:12px;"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" class="XEtbl_sub" style="border-collapse: collapse; background-color: rgb(255, 255, 255); font-size:12px;"><tbody><tr><td height="40" colspan="3" align="center" class="XEenlarge" style=" ;font-family:Arial, Helvetica, sans-serif;"><span class="XEsmall" style=" color: rgb(102, 102, 102); font-size:11px;">Live rates at 2009.10.10 19:29:18 UTC</span></td></tr><tr><td width="45%" align="right" class="XEenlarge" style="font-family: Arial, Helvetica, sans-serif; "><h2 class="XE" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 19px; font-weight: bold; font-family: arial, sans-serif; ">100.00 USD</h2></td><td valign="top" align="center" class="XEenlarge" style="font-family: Arial, Helvetica, sans-serif; "><h2 class="XE" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 19px; font-weight: bold; font-family: arial, sans-serif; ">=</h2></td><td width="45%" align="left" class="XEenlarge" style="font-family: Arial, Helvetica, sans-serif; "><h2 class="XE" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 19px; font-weight: bold; font-family: arial, sans-serif; ">682.655 CNY</h2></td></tr><tr><td align="right" class="XEenlarge" style=" ;font-family:Arial, Helvetica, sans-serif;">United States Dollars</td><td valign="top" align="center" class="XEenlarge" style="font-family: Arial, Helvetica, sans-serif; "> </td><td align="left" class="XEenlarge" style=" ;font-family:Arial, Helvetica, sans-serif;">China Yuan Renminbi</td></tr><tr><td align="right" class="XEenlarge" face="Arial, Helvetica, sans-serif" style=" "><span class="XEsmall" style=" color: rgb(102, 102, 102); font-size:11px;">1 USD = 6.82655 CNY</span></td><td valign="top" align="center" class="XEenlarge" style="font-family: Arial, Helvetica, sans-serif; "> </td><td align="left" class="XEenlarge" face="Arial, Helvetica, sans-serif" style=" "><span class="XEsmall" style=" color: rgb(102, 102, 102); font-size:11px;">1 CNY = 0.146487 USD</span></td></tr></tbody></table></span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-21129745438549276712009-09-25T19:13:00.001-04:002009-09-25T19:13:19.485-04:00Smartphone 3G Test (3GTest)<a href=http://shar.es/1tk1d>Smartphone 3G Test (3GTest)</a><br /><br />Posted using <a href="http://sharethis.com">ShareThis</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-66472780993888076912009-09-22T01:35:00.003-04:002009-09-22T01:56:55.961-04:00iPhone 3G Test (3GTest) Free Application Released<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.eecs.umich.edu/3gtest/iphone/1.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 480px;" src="http://www.eecs.umich.edu/3gtest/iphone/1.png" border="0" alt="" /></a><br /><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Visit the following link in you iPhone or iPod Touch</span></span></div><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=327015685&mt=8&s=143441"><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Install Now</span></span></a><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';"><br /></span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Support website</span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';"><a href="http://www.eecs.umich.edu/3gtest">http://www.eecs.umich.edu/3gtest</a></span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';"><br /></span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Install URL</span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';"><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=327015685&mt=8">http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=327015685&mt=8</a></span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style="font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style="font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Introduction:</span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Want to score the 3G network of your iPhone and compare the scores with your friends? 3G Test is definitely your best choice! 3G Test is a professional and useful utility in your 3G networks (but it also works for WiFi and EDGE networks). We support iPhone / iPod (any versions), and other mobile platforms. With 3G Test, you can compare 3G network conditions even with your friends who are not using iPhone, but any other smartphone device! Using this tool, you will have a good knowledge of your smartphone's 3G network properties, such as local / global / gateway IP addresses, upload / download bandwidth (kbps), signal strength, DNS lookup latency (ms), PING latencies (ms), TCP connection establishment latencies (ms), HTTP benchmark downloading latencies (ms), and much more. You can also easily diagnose any network problems. All the results are refreshed each time you run our tool, so we encourage you to run it at different time and different locations, in this way, you can compare the scores of your 3G network at different times of day and at different locations. </span></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">------------------------------------ </span></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">The only information that we use is your device's location information, the unique device ID and area code of your phone number. We will only use these information for aggregate analysis. No personal information will be collected or used. All the other information we collect is obtained from network measurement. </span></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">------------------------------------ </span></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Who are we? We are a group of computer science researchers from the University of Michigan, Ann Arbor. </span></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">Questions? Suggestions? Feedbacks? </span></span></span></div><div><span class="Apple-style-span" style=" white-space: pre-wrap; "><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'lucida grande';">E-Mail: 3gtest@umich.edu</span></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:'lucida grande', serif;"><span class="Apple-style-span" style=" white-space: pre-wrap;font-size:medium;"><br /></span></span></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1228707902785326925.post-87665627990585137312009-08-29T19:57:00.002-04:002009-08-29T19:59:52.492-04:00How to upgrade Java from 1.5 to 1.6 on Mac OS X 10.4+This is really simple.<div>Run the following command </div><div><br /></div><div>Step 1: rm /usr/bin/java (if you are concerned, make a copy to backup)</div><div><br /></div><div>Step 2:</div><div><span class="Apple-style-span" style="font-family: Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif; font-size: 13px; color: rgb(51, 51, 51); line-height: 18px; ">"sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java /usr/bin/java"</span></div><div><span class="Apple-style-span" style="font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;font-size:100%;color:#333333;"><span class="Apple-style-span" style="font-size: 13px; line-height: 18px;"><br /></span></span></div><div><span class="Apple-style-span" style="font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;font-size:100%;color:#333333;"><span class="Apple-style-span" style="font-size: 13px; line-height: 18px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia, serif; font-size: 16px; line-height: normal; ">Before upgrade:</span></span></span></div><div><span class="Apple-style-span" style="font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;font-size:100%;color:#333333;"><span class="Apple-style-span" style="font-size: 13px; line-height: 18px;"><div>"java -version"</div><div>java version "1.5.0_19"</div><div>Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)</div><div>Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)</div><div><br /></div><div><br /></div><div><div><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia, serif; font-size: 16px; line-height: normal; ">After upgrade:</span></div><div><span class="Apple-style-span" style="font-family:Georgia, serif;font-size:130%;color:#000000;"><span class="Apple-style-span" style="font-size: 16px; line-height: normal;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif; font-size: 13px; color: rgb(51, 51, 51); line-height: 18px; ">"java -version"</span></span></span></div><div>java version "1.6.0_13"</div><div>Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)</div><div>Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)</div><div><br /></div></div></span></span></div>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-1228707902785326925.post-29337492405327711282009-07-29T23:34:00.002-04:002009-07-29T23:37:47.499-04:00Helling Apple Application designEver met this problem when you tried to run your application on your iPhone or iPod Touch device?<div><br /></div><div>"</div><div>Can’t run “3GTest” on the iPod “Someone's iPod Touch”</div><div><br /></div><div>The iPod “Someone's iPod Touch” doesn’t have the provisioning profile with which the application was signed.</div><div><br /></div><div>Please add the provisioning profile via the Organizer, or check the “Code Signing Identity” build setting.</div><div>"</div><div><br /></div><div>I added the provisioning profile via the Organizer. However it doesn't work.</div><div><br /></div><div>FIX:</div><div><br /></div><div>1. Make a totally new provisioning profile and downloaded into your MAC</div><div><br /></div><div>2. Double click to install it into your XCode.</div><div><br /></div><div>3. Install it into your ipod or iphone via Organizer</div><div><br /></div><div>4. Restart XCode</div><div><br /></div><div>Everything will just work fine.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1228707902785326925.post-6759644768739308212009-07-05T02:54:00.001-04:002009-07-05T02:54:21.376-04:00Amazed by twitterWant to do sth with it's apiUnknownnoreply@blogger.com0