Trying to launch the project on Xcode 13.0. Project launches with no issues on Xcode 11.7. When trying to launch on Xcode 13, the issue appears when building the application.
Property has a previous declaration for every property of a MyClass+CoreDataProperties.h
It seems to be creating exactly the same MyClass+CoreDataProperties.h file and considers original file as the origin and the built file as the duplicate properties file.
I have even removed those files from Build Phases -> Compile Sources. I have the exactly same file structure with another naming and it works fine.
The file looks something like this:
#import "MyClass.h"
NS_ASSUME_NONNULL_BEGIN
@interface MyClass (CoreDataProperties)
+ (NSFetchRequest<MyClass *> *)fetchRequest NS_SWIFT_NAME(fetchRequest());
@property (nullable, nonatomic, copy) NSNumber *choice;
@property (nullable, nonatomic, copy) NSString *content;
@property (nullable, nonatomic, copy) NSString *correctAnswer;
@property (nullable, nonatomic, retain) NSObject *extraData;
@property (nonatomic) BOOL isCorrect;
@property (nullable, nonatomic, copy) NSDate *timeAnswered;
@property (nullable, nonatomic, copy) NSDate *timeAsked;
@end
NS_ASSUME_NONNULL_END