nui
nui copied to clipboard
Doesnt work with XCode 9
I installed to an iOS 11 project using CocoaPods, but there seems to be a problem with the NUIPGrammar and it's associated category definitions in XCode 9.
I dont think it likes having new property variables introduced in a Category.
Not sure of all the details, but for now this does not work with the latest iOS.
2017-11-21 19:55:07.437316-0500 NetworkToolbox[72654:18346861] -[NUIPGrammar setRules:]: unrecognized selector sent to instance 0x60800001baf0
2017-11-21 19:55:07.451580-0500 NetworkToolbox[72654:18346861] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NUIPGrammar setRules:]: unrecognized selector sent to instance 0x60800001baf0'
*** First throw call stack:
(
0 CoreFoundation 0x0000000111b0e1ab __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001111a3f41 objc_exception_throw + 48
2 CoreFoundation 0x0000000111b8ea34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x0000000111a910a8 ___forwarding___ + 1432
4 CoreFoundation 0x0000000111a90a88 _CF_forwarding_prep_0 + 120
5 NetworkToolbox 0x000000010cee0400 -[NUIPGrammar initWithStart:rules:] + 128
6 NetworkToolbox 0x000000010cee035f +[NUIPGrammar grammarWithStart:rules:] + 63
7 NetworkToolbox 0x000000010cee1e0a -[NUIPGrammar initWithStart:backusNaurForm:error:] + 6250
8 NetworkToolbox 0x000000010cee04e7 +[NUIPGrammar grammarWithStart:backusNaurForm:error:] + 71
9 NetworkToolbox 0x000000010ced896b -[NUIStyleParser parse:] + 1531
10 NetworkToolbox 0x000000010ced72ad -[NUIStyleParser getStylesFromFile:] + 557
11 NetworkToolbox 0x000000010ced3aa6 +[NUISettings initWithStylesheet:] + 358
12 NetworkToolbox 0x000000010ce75c43 -[NetworkToolboxAppDelegate application:didFinishLaunchingWithOptions:] + 163