How to create xcode project for iPhone Light version app? -


what recommended way create light version of iphone app?

i have x-code project of iphone app want charge money it. in addition app, deploy additional "light" version of app free of charge of course have limitations.

best way can think of adding new 'light' configuration in existing xcode project , define constant light_version in configuration tested in code.

will solution work? or have create new 'light' project pointing sources , resources of original project?

yes can define preprocessor macro light_version. use with

#ifdef light_version #endif 

an disable/enable features. more information please at: stackoverflow - xcodebuild - how define preprocessor macro?


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -