Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, Swift can be configured in Xcode build settings using the -ObjC flag. The -ObjC flag is used to include all Objective-C classes and categories from static libraries that are referenced in your project, even if they are not explicitly used in your code. This can be used in Swift projects that use Objective-C libraries or frameworks. To add the -ObjC flag in Xcode build settings, go to Build Settings and under Other Linker Flags, add "-ObjC" without quotes.