Sunday, 11 December 2022

Error Noscape in those while converting Xcode project to theos

I am trying to convert Xcode project to theos. When I try to compile with make package I am getting some noescape error please help. Here Error List of Mterminial iPhone:/theos/templates/ProESP root# make package > Making all for tweak aqre… ==> Warning: GO_EASY_ON_ME quiets all errors, which is bad practice. Please migrate to Clang directives (e.g., -Wno-<blah> or #pragma clang diagnostic). ==> Compiling Utils/YYThreadSafeArray.m (arm64)… Utils/YYThreadSafeArray.m:142:70: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSArray *)sortedArrayUsingFunction:(NSInteger (*)(id, id, void *))comparator context:(void *)context { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:48:120: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSArray<ObjectType> *)sortedArrayUsingFunction:(NSInteger (NS_NOESCAPE *)(ObjectType, ObjectType, void * _Nullable))comparator context:(nullable void *)context; ^ Utils/YYThreadSafeArray.m:146:70: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSArray *)sortedArrayUsingFunction:(NSInteger (*)(id, id, void *))comparator context:(void *)context hint:(NSData *)hint { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:49:120: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSArray<ObjectType> *)sortedArrayUsingFunction:(NSInteger (NS_NOESCAPE *)(ObjectType, ObjectType, void * _Nullable))comparator context:(nullable void *)context hint:(nullable NSData *)hint; ^ Utils/YYThreadSafeArray.m:174:82: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:63:102: note: parameter of overridden method is annotated with __attribute__((noescape)) - (void)enumerateObjectsUsingBlock:(void (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))block API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:178:121: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:64:141: note: parameter of overridden method is annotated with __attribute__((noescape)) - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))block API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:182:143: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (void)enumerateObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:65:163: note: parameter of overridden method is annotated with __attribute__((noescape)) - (void)enumerateObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts usingBlock:(void (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))block API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:186:86: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:67:106: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSUInteger)indexOfObjectPassingTest:(BOOL (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))predicate API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:190:125: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:68:145: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))predicate API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:194:147: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSUInteger)indexOfObjectAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:69:166: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSUInteger)indexOfObjectAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (NS_NOESCAPE^)(ObjectType obj, NSUInteger idx, BOOL *stop))predicate API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:198:91: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSIndexSet *)indexesOfObjectsPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:71:111: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSIndexSet *)indexesOfObjectsPassingTest:(BOOL (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))predicate API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:202:130: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSIndexSet *)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:72:150: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSIndexSet *)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))predicate API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:206:152: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSIndexSet *)indexesOfObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:73:172: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSIndexSet *)indexesOfObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (NS_NOESCAPE ^)(ObjectType obj, NSUInteger idx, BOOL *stop))predicate API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:210:55: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSArray *)sortedArrayUsingComparator:(NSComparator)cmptr { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:75:79: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSArray<ObjectType> *)sortedArrayUsingComparator:(NSComparator NS_NOESCAPE)cmptr API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:214:87: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSArray *)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:76:111: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSArray<ObjectType> *)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator NS_NOESCAPE)cmptr API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:218:131: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (NSUInteger)indexOfObject:(id)obj inSortedRange:(NSRange)r options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator)cmp { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:84:151: note: parameter of overridden method is annotated with __attribute__((noescape)) - (NSUInteger)indexOfObject:(ObjectType)obj inSortedRange:(NSRange)r options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator NS_NOESCAPE)cmp API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); // binary search ^ Utils/YYThreadSafeArray.m:292:58: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (void)sortUsingFunction:(NSInteger (*)(id, id, void *))compare context:(void *)context { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:169:97: note: parameter of overridden method is annotated with __attribute__((noescape)) - (void)sortUsingFunction:(NSInteger (NS_NOESCAPE *)(ObjectType, ObjectType, void * _Nullable))compare context:(nullable void *)context; ^ Utils/YYThreadSafeArray.m:316:43: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (void)sortUsingComparator:(NSComparator)cmptr { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:178:55: note: parameter of overridden method is annotated with __attribute__((noescape)) - (void)sortUsingComparator:(NSComparator NS_NOESCAPE)cmptr API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ Utils/YYThreadSafeArray.m:320:75: error: parameter of overriding method should be annotated with __attribute__((noescape)) [-Werror,-Wmissing-noescape] - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr { ^ /theos/sdks/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:179:87: note: parameter of overridden method is annotated with __attribute__((noescape)) - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator NS_NOESCAPE)cmptr API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); ^ 17 errors generated. make[3]: *** [/theos/makefiles/instance/rules.mk:197: /theos/templates/ProESP/.theos/obj/arm64/Utils/YYThreadSafeArray.m.c6c7b4fc.o] Error 1 make[2]: *** [/theos/makefiles/instance/library.mk:52: /theos/templates/ProESP/.theos/obj/arm64/aqre.dylib] Error 2 make[1]: *** [/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2 make: *** [/theos/makefiles/master/rules.mk:119: aqre.all.tweak.variables] Error 2 iPhone:/theos/templates/ProESP root#

from iOSGods RSS Feed https://ift.tt/qrwzAPF

No comments:

Post a Comment