Error compiling iPhone settings

I am trying to compile the iPhone setup I just created and I am getting some errors that seem to be unable to find a solution and the help would be appreciated.

Undefined symbols for architecture armv6: "_OBJC_CLASS_$_UIAlertView", referenced from: objc-class-ref in Tweak.xm.o ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status make[2]: *** [obj/tweakTest.dylib] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [tweakTest.all.tweak.variables] Error 2 
+4
source share
1 answer

You need to include the UIKit structure in your project and add #import <UIKit/UIKit.h> to your .xm file.

0
source

Source: https://habr.com/ru/post/1435808/


All Articles