I checked out a copy of the sources as directed on <a href="http://isqueak.org">isqueak.org</a> and tried to build, but ran into a couple of problems.<div><br></div><div>I wanted to start with as much stability as possible so I figured I&#39;d check out the standard VM before Cog.</div>
<div><br></div><div>First, my base SDK was missing. I googled that. Found this:</div><div><br></div><div><a href="http://developer.apple.com/library/ios/#qa/qa2010/qa1701.html">http://developer.apple.com/library/ios/#qa/qa2010/qa1701.html</a></div>
<div><br></div><div>Followed the instructions there. It didn&#39;t seem to change anything, but it&#39;s worth noting that I did change my settings per this article. I&#39;m guessing what I found below overrides those settings? Anyway, it&#39;s worth noting that when I was finally able to build, I did so after following those instructions, so I&#39;m not sure at this time whether or not they were necessary.</div>
<div><br></div><div>I don&#39;t have a 3.2 or 4.1 SDK. I searched for a bit and didn&#39;t find a place to get either one. Xcode complaints were of the form &#39;iphoneos4.1&#39;, so I grepped. <br clear="all"><br></div><div>
<div><div>stratosphere:vm casey$ grep -rl iphoneos4.1 . | grep -v svn</div><div>./SqueakPureObjcCogVM.xcodeproj/project.pbxproj</div></div></div><div><div>stratosphere:vm casey$ grep iphoneos4.1 ./SqueakPureObjcCogVM.xcodeproj/project.pbxproj</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>SDKROOT = iphoneos4.1;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>SDKROOT = iphoneos4.1;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>SDKROOT = iphoneos4.1;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>SDKROOT = iphoneos4.1;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>SDKROOT = iphoneos4.1;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>SDKROOT = iphoneos4.1;</div>
</div><div><br></div><div>Did a search/replace-all and changed these to iphoneos4.2.</div><div><br></div><div>I struggled with dialog boxes complaining that Xcode detected tomfoolery on disk and wanted to overwrite my changes after modifying this file. If I did this again, I&#39;d probably quit Xcode, make the modification with a text editor, and then reopen Xcode to build.</div>
<div><br></div><div>Once this was done, it was just a matter of resolving the dependencies on the Pharo and Squeak .sources files, and voila: I was looking at John&#39;s Obj-C bridge in the iPhone simulator with a big grin on my face.</div>
<div><br></div><div>All in all, it was a fun half hour! Now to make some tea and get to bed. Sorry if this is old news, figured I&#39;d write it down in case it&#39;d help anyone else:)</div><div><div><br></div><div>-- </div>
Casey Ransberger<br>
</div>