Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CB1411954 for ; Wed, 20 Aug 2014 07:36:35 +0000 (UTC) Received: (qmail 99070 invoked by uid 500); 20 Aug 2014 07:36:29 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 99024 invoked by uid 500); 20 Aug 2014 07:36:29 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 98993 invoked by uid 99); 20 Aug 2014 07:36:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 07:36:29 +0000 Date: Wed, 20 Aug 2014 07:36:29 +0000 (UTC) From: "Gavin Cornwell (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CMIS-831) MacOS target incompatibility issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin Cornwell resolved CMIS-831. --------------------------------- Resolution: Fixed Applied patch in revision 1619041. > MacOS target incompatibility issues > ----------------------------------- > > Key: CMIS-831 > URL: https://issues.apache.org/jira/browse/CMIS-831 > Project: Chemistry > Issue Type: Bug > Components: objectivecmis > Affects Versions: ObjectiveCMIS 0.4 > Environment: OS X 10.9.4 > Reporter: Mike Hatfield > Assignee: Gavin Cornwell > Priority: Critical > Fix For: ObjectiveCMIS 0.5 > > Attachments: cmis-831.diff > > > There are some incompatibilities when trying to use the current version of ObjectiveCMIS against MacOS targets. Specifically: > - UIKit imports. These are likely as a result of boilerplate class templates, are not required for the iOS target and cause compilation errors on non-iOS targets. They can safely be removed. > - A workaround implemented in r1496374 in CMISHttpUploadRequest that causes (nearly) all upload requests to fail on MacOS targets. The following code: > {code} > case NSStreamEventOpenCompleted:{ > if (self.base64InputStream.streamStatus != NSStreamStatusOpen) { > [self.base64InputStream open]; // this seems to work around the 'Stream ... is sending an event before being opened' Apple bug > } > {code} > needs further investigation/testing. It may be that it needs wrapping in a platform-specific preprocessor directive so that it only targets the iOS platform, but as-is causes a 95% failure rate of uploads on MacOS. -- This message was sent by Atlassian JIRA (v6.2#6252)