fabianterhorst
09/24/2021, 9:03 AM#import <Foundation/NSBundle.h>
im getting the following error
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString
i couldn't find anything that would explain this error. The error is also happening when i include
#import <Foundation/Foundation.h>
or
#import <UIKit/UIView.h>
since that all includes all foundation headers internally.sergey.bogolepov
09/24/2021, 9:04 AMfabianterhorst
09/24/2021, 9:05 AMfabianterhorst
09/24/2021, 9:11 AMcompilerOpts("-DNS_FORMAT_ARGUMENT(A)=")
worked great.