-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build for MacOS in recent XCode versions (14.x) broken? #182
Comments
I got it working in MacOS, by creating my own Makefile (for the MacOS example only, statically linking all the iosMath library inside the executable). I provide the Makefile here just in case anybody else needs to build the MacOS example in a simple way in recent MacOS versions. Just be sure to adjust the SDK_LOCATION variable to make it point to where your SDK resides:
Also, I edited the MacOSMathExample/Info.plist so that it's installed easily in the appbundle without the need of Xcode. My minimal version of it is:
With this, you should be able to get iosMath working in recent versions of MacOS, without having to install CocoaPods, and without having to fix the Xcode project, which doesn't seem to work in recent Xcode versions (at least for me). |
I always build my Mac apps from the command-line with Makefiles, so I'm no expert with XCode at all. I assumed it was a matter of downloading, double clicking on the project for the MacOS build, and that it would work, but that's not the case at all: First it expects to find something called "pods" (after a search I suppose it's CocoaPods, and I'd prefer not to install that, so I deleted everything related to pods). Also, I had to increase the MacOS deploy version to 10.9, because my XCode version (14.x) doesn't support 10.8 anymore. Then, it didn't find some iosMath headers, which belong to the project. So I added all the project directories to the include paths. Then, I realized that the Project Navigator didn't show all the sources, but just a couple of them. So, I inserted all the files again in the project. Finally, I managed to get a successful build. The MacOS demo window appeared, but nothing is displayed if I type LaTeX formulas in the input box.
Does anybody have a fork of the MacOS build, that works fine in XCode 14.x and without having to install CocoaPods? (or even better: with plain Makefiles).
The text was updated successfully, but these errors were encountered: