[Openmcl-devel] Linking StoreKit.framework from CCL and in-app purchases

Paul Krueger plkrueger at comcast.net
Wed Apr 10 16:46:46 PDT 2013


On Apr 10, 2013, at 1:06 PM, Michael Minerva <minerva at agentsheets.com> wrote:

> We are toying around with the idea of putting our app in the App Store and so far we have created a free version of the app and successfully sandboxed it. Now we would like to see if it will be feasible to do an in app purchase to activate the full version of our app.  I have read through the StoreKitGuide and they suggest that you will need to link the StoreKit.framework using Xcode.  I was wondering if anyone knew if there was a way that we could link this framework with CCL?
> 
> Also, has anyone tried doing an in app purchase with CCL?  Does anyone have any experiences to share?  
> 
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

I haven't had to link a new framework yet, but as I was perusing the CCL documentation the other day looking for something else I noticed section "14.7. Loading Frameworks" which references section "13.5.2. Creating new interface directories". I'm not sure if those are sufficient, but they should provide a good start for you I think.

I'm on the last leg of a complete rewrite of my cocoa contrib from about 3 years ago. It had gotten badly out-of-date. I've completely eliminated the need to use nib files or InterfaceBuilder, even for fairly complex interfaces. I've added what I think is a pretty neat interface to Apple's constraint functionality, added a bunch of initialize-instance :after methods for common view classes that permit access to pretty much every #/set… method for those classes (doing automatic data conversion for you as needed). That lets you do more normal sorts of lisp initialization of views. I have LOTS of lisp/obj-c data conversion that is all consolidated into a single coerce-obj method, so it's easy to remember. And there is lots more. I've also completely rewritten my various tutorials for building lisp cocoa apps with a bunch of examples. I expect it could take several weeks yet to get it all tested and then I'll check it in.

I doubt that there is anyone out there who is making much use of what I did previously, but if there is and you want to keep using it going forward, you may want to grab a copy before I wipe it all out and replace it with the new stuff. All my new code will require CCL 1.9 and OSX 10.7 (Lion) or better.

I'm behind you on actually getting something ready for the app store, so I'll turn your question around on you. Do you have anything written down that could help others get as far as you already are? I saw an exchange you had a while back with Matthew about codesign'ing apps and that helped me a bit. What else do you have to share? What did you need to do to sandbox your app?




More information about the Openmcl-devel mailing list