Start a new topic

isOlderThaniOSVersion:]: unrecognized selector

isOlderThaniOSVersion:]: unrecognized selector


Hello,

 

I am trying to "import" a WikitudeStudioiOSAppTemplate in my application framework and get the following error:

 

ARchitect: ARchitect Build: dcc01bf

...

: unrecognized selector sent to instance 0x1567ba20

(

0   CoreFoundation                      0x3044be9b <redacted> + 154

1   libobjc.A.dylib                     0x3a7a86c7 objc_exception_throw + 38

2   CoreFoundation                      0x3044f7b7 <redacted> + 202

3   CoreFoundation                      0x3044e0af <redacted> + 706

4   CoreFoundation                      0x3039cdc8 _CF_forwarding_prep_0 + 24

5   mobiwapp                            0x00304c4d - + 124

6   mobiwapp                            0x00306389 - + 76

7   mobiwapp                            0x00307c31 - + 152

 

the original WikitudeStudioiOSAppTemplate runs nicely in the same development environment. 

Is there someting I should have set?

Regards,

 

vak

Hi,
Looks like the -ObjC linker flag is missing. Thats why some class categories are not loaded correctly.
You can change the linker flag settings in your Xcode project, simply search for 'OTHER_LDFLAGS' and add '-ObjC'. You can also have a look at the original template project.

Best regards
Andreas

Hello,

I have got same error while running application in iPad Mini.

Wikitude SDK: ARchitect Build: b2af9d1

2014-05-31 16:28:51.417 SocialParseAR -: unrecognized selector sent to instance 0x16d648a0

2014-05-31 16:28:51.434 SocialParseAR *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-: unrecognized selector sent to instance 0x16d648a0'

 

Please response me, I have did same trick which mention above. But not work with me. 

Please suggest.

Regards,

Jagdish

As I mentionned, the -ObjC linker flag fixed the NSCFString isOlderThaniOSVersion error, so I can't really add suggestion. I was on iPhone.

Regards,

vak 

Yep, missing ObjC linker flag. Category methods are not loaded.

Best regards

Andreas
Login or Signup to post a comment