A few of my apps use the same base code set. I tried turning this shared code into a framework (like I would when creating a Cocoa framework). I ran into this issue: "Target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphonesimulator' platform" when building.
I saw a similar problem online and someone mentioned:
"3.3.2 An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built-in interpreter(s). " However, this was dated June 10th.
1) Does the iPhone allow custom frameworks?
2) If it allows custom frameworks, any ideas on the error above?
3) If it does not allow custom frameworks, how would you recommend managing the shared code? If XCode supports two SVN repositories for the project, maybe I could checkout the app-specific code and the shared code and changes to the shared code could be reflected in my other apps?
I saw a similar problem online and someone mentioned:
"3.3.2 An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built-in interpreter(s). " However, this was dated June 10th.
1) Does the iPhone allow custom frameworks?
2) If it allows custom frameworks, any ideas on the error above?
3) If it does not allow custom frameworks, how would you recommend managing the shared code? If XCode supports two SVN repositories for the project, maybe I could checkout the app-specific code and the shared code and changes to the shared code could be reflected in my other apps?