Skip to main content
Known Participant
November 7, 2018
Answered

Acrobat SDK Xcode Warning: Possible misuse of comma operator here etc

  • November 7, 2018
  • 2 replies
  • 2123 views

Hi

I am trying to compile the c++ samples from the Acrobat SDK in Xcode on a Mac and I get several warnings from Xcode like: "Possible misuse of comma operator here" and also "Non-portable path to file '".."'; specified path differs in case from file name on disk". Looks like the SDK has not been updated to deal with changes in Xcode for a long time. Anybody else who have experienced this?

This topic has been closed for replies.
Correct answer lrosenth

You need to use the version of XCode that was used to create Acrobat (and the SDK) – newer versions are not supported.

2 replies

BarlaeDC
Adobe Expert
November 8, 2018

Hi,

The latest version of Acrobat DC requires 10.11 or later, Yosemite is 10.10 I believe.

Regards

Malcolm

Known Participant
November 8, 2018

I got the project to compile after a while. The plugin works when I copy it to Library/Application Support/Adobe/Acrobat/DC/Plug-ins folder. Also, I got debugging to work after I setup Acrobat as an executable in the scheme.

But I have not figured out how to copy the binary to the Plug-ins folder from Xcode ? I am clearly doing something wrong here as I do not quite understand how xcconfig things are working.

Brainiac
November 8, 2018

To be honest I gave up on getting xcode to do that. I use a shell script to do an xcode build then the script installs as needed.

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
November 7, 2018

You need to use the version of XCode that was used to create Acrobat (and the SDK) – newer versions are not supported.

Known Participant
November 7, 2018

Well, I can see that I should have explained a little better what my problem is.

I agree that I should have used an older version, but that is not possible. Or at least it is difficult to get it to work. The samples of todays version of the SDK was created with Xcode 5.1.1. which came out in 2014.  This version is not supported by the version of OS X that I have on my Mac. It will simply not run on it. I can of course run an older version of the OS on a VM. But my second problem then is that I was planning to use a third party library that is of course not supported by this older version of Xcode...

Known Participant
November 8, 2018

Further more I tried to create a VM of Yosemite to get Xcode 5.1.1 running. Everything fine until I tried to install latest version of Acrobat Pro DC which will not install on Yosemite for some reason...