Apple store and application bundle
I'm not sure whether it's possible or even making sense so I'm asking here. If I have a third-party C++ source. Can I compile it into an iPhone binary? The binary would then be packed in my application bundle which then submitted to AppleStore. The application bundle contain my app, just that it also contains a copy of the third-party binary.
T开发者_Python百科he point is that I'm imagining if this is possible, I could use the third-party binary via command and hence avoid static linking.
Does that make sense?
iOS applications that aren't run on jailbroken devices don't have any privileges to execute other programs. You'd be better off static linking.
Apps are allowed to run code from other languages as long as all the code they run is included with the application. For example, you couldn't write an app that allows the user to write Java programs, but you could include a little Java compiler as long as it was compiling code written and uploaded with the app. Does that make sense?
精彩评论