1

I would like for people to be able to debug my library, should they feel like they want to.

For this I think a good idea would be to embed the source in the library / framework itself. Does Xcode support this option?

For reference of what I’m looking for, in Java you can build a Jar file which comes with the attached source code (and optional javadoc) embedded within the library https://stackoverflow.com/a/5064833/48062

Community
  • 1
  • 1
Maxim Veksler
  • 29,272
  • 38
  • 131
  • 151

1 Answers1

1

Xcode does not support this option, no. Your best bet would be to upload the source to Github (https://github.com) and include the link in your documentation for the framework. That way you can be sure that your users can always get to the freshest, most up to date, code.

headbanger
  • 1,038
  • 1
  • 11
  • 32
  • I would also consider looking into something like CocoaPods. This way people can easily pull your code into their projects. – jervine10 Dec 16 '14 at 13:43