Switch to: V12V11V10V9V8V7V6V5

Deployment of V4CC MAC UB Application

Standalone Application Package

Working with XCODE ObjC Cocoa you will produce a UB Application, which is a package, that you can open via a contextual menu of Finder using the “Show Package Contents” item.

Now you should make one more simple step to prepare this application for deployment on a user's computer. You should install /usr/local/lib/vcomponents inside of your application package.

This is very easy to do with the help of:

  • v4cc_v4 SCRIPT for V4CC 4.0 or newer
    • updated for v4.8 - to copy wx.dylib optionally
    • updated for v4.5 - to copy VSDK.framework v1 optionally

Script Usage

  • Add to your app target in the XCODE a new Build Phase “Run Script”
  • Copy-paste text of this script into it.

Now, builds of your app, both debug and release, will have copy of vcomponents and V4CC.framework.

NOTE: If you do this on OS X 10.3.9 you should add a backslash to the MyApplication.app path in the terminal after drag.

NOTE2: to be able to run this script you should have a DEVELOPER folder from your Mac OS X DVD installed.

vcomponents at System Level

If you develop and deploy a family of applications that can/should be installed on the same user computer, then it is a good idea to put vcomponents only once. It is possible if this folder is at path “/usr/local/lib/vcomponents”, where any application can find it.

NOTE: This is the same as you have it now during the development.

For this scenario you should not do anything special, just make sure that your installer installs vcomponents there and V4CC.framework into /Library/Frameworks.

NOTE: actually you can tune your app and vcomponents folder to use ANOTHER path, e.g. /usr/local/lib/myapp_components. We leave for you this advanced method. Use the script above to get an idea on how to…