Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work with XCode 9 #375

Open
wyllys66 opened this issue Nov 22, 2017 · 1 comment
Open

Doesnt work with XCode 9 #375

wyllys66 opened this issue Nov 22, 2017 · 1 comment

Comments

@wyllys66
Copy link

No description provided.

@wyllys66
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant