chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin Cornwell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-823) Apps that use the ObjectiveCMIS static library crash when attempting to use the browser binding
Date Fri, 18 Jul 2014 10:26:05 GMT

    [ https://issues.apache.org/jira/browse/CMIS-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066236#comment-14066236
] 

Gavin Cornwell commented on CMIS-823:
-------------------------------------

This is usually resolved by specifying the -ObjC to ensure categories are loaded. 

For files where only a category is defined (like here with CMISNSDictionary+Utils.h) a bug
used to prevent these from being loaded so the use of the -all_load was recommended. This
was apparently fixed in XCode 4.2.

Despite using XCode 5.x I'm still seeing the issue, as others have previously: http://iphonedevelopmentexperiences.blogspot.co.uk/2010/03/categories-in-static-library.html


> Apps that use the ObjectiveCMIS static library crash when attempting to use the browser
binding
> -----------------------------------------------------------------------------------------------
>
>                 Key: CMIS-823
>                 URL: https://issues.apache.org/jira/browse/CMIS-823
>             Project: Chemistry
>          Issue Type: Bug
>          Components: objectivecmis
>    Affects Versions: ObjectiveCMIS 0.3
>            Reporter: Gavin Cornwell
>            Assignee: Gavin Cornwell
>            Priority: Blocker
>             Fix For: ObjectiveCMIS 0.4
>
>
> When using the browser binding from the static library "unrecognised selector sent to
instance" exceptions are thrown when attempting to use the category methods defined for NSDictionary
(in CMISNSDictionary+Utils.h).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message