Disable modules and force category references
Modules do not work well without frameworks.
This commit is contained in:
parent
1ff08de875
commit
b87b2e8037
9 changed files with 21 additions and 21 deletions
11
iOS/main.m
11
iOS/main.m
|
@ -20,8 +20,9 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <ObjFW/ObjFW.h>
|
||||
@import UIKit;
|
||||
#import <ObjFW_Bridge/ObjFW_Bridge.h>
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
|
@ -30,6 +31,14 @@
|
|||
|
||||
OF_APPLICATION_DELEGATE(OFAppDelegate)
|
||||
|
||||
void
|
||||
_references_to_categories_of_ObjFW_Bridge(void)
|
||||
{
|
||||
_NSString_OFObject_reference = 1;
|
||||
_OFArray_NSObject_reference = 1;
|
||||
_OFString_NSObject_reference = 1;
|
||||
}
|
||||
|
||||
@implementation OFAppDelegate
|
||||
- (void)applicationDidFinishLaunching
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue