Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problems calling PMKManifold from Objective-C++ #712
I have a Objective-C++ module (along with Objective-C and Swift) in my project which uses PromiseKit. If PMKManifold is called in this module, it results in a linker error:
That was easily fixed by importing PromiseKit in the .pch file this way:
Unfortunately, after upgrading to Xcode 9 the compiler fails miserably with very strange errors when generating Objective C headers from PromiseKit's Swift modules.
Now I have only the option to patch AnyPromise.h in order to fix the build:
Would it be possible to include this change or would that break some compatibility with existing code?
changed the title from
Problems calling PMKManifold from Objective C++
Problems calling PMKManifold from Objective-C++
Sep 14, 2017
Please forgive me, pushing to CocoaPods takes an hour, during which time my computer is out of action due to the 100% CPU usage required. Every time I do the push it fails. I have wasted tens of hours on this.
For now use the above work around is completely identical to the eventual push.