user4691305
user4691305

Reputation:

Auxiliary executable possible on iOS?

On OS X, it's trivial to add an additional executable inside your application bundle. Is this possible on iOS, and if so, is it permitted by Apple (private framework calls via objc_msgSend are possible, but not permitted)?

The iOS version of the NSBundle class includes the relevant APIs, but there are no templates in Xcode for a "command line tool", or even an empty target.

Upvotes: 0

Views: 146

Answers (1)

dogsgod
dogsgod

Reputation: 6387

It is possible but very restricted. It's only allowed for defined extension types. The iOS bundle structure has a very strict definition and loadable bundles are not allowed.

Upvotes: 1

Related Questions