olilarkin / wdl-ol

Enhanced version of Cockos' iPlug - A simple-to-use C++ framework for developing cross platform audio plugins and targeting multiple plugin APIs with the same code. VST / VST3 / Audiounit / RTAS / AAX (Native) formats supported. NOTE: THIS IS OBSOLETE, PLEASE SEE IPLUG2:
https://github.com/iplug2
936 stars 187 forks source link

App (standalone) doesn't build in Xcode 9.4.x on macOS High Sierra #123

Closed kyr0 closed 5 years ago

kyr0 commented 6 years ago

If you try to build the App target (standalone) on macOS High Sierra using Xcode 9.4.x, the following will happen: builder (CpResources) will fail to build it, when an APP_FOLDER is set in common.xconfig. It will somehow concatenate the folder twice, resulting in an odd error:

bildschirmfoto 2018-08-24 um 00 01 01

To improve the situation (I'm unable to fix it completely)

1) Set the APP_FOLDER in common.xconfig to: APP_FOLDER = /

bildschirmfoto 2018-08-24 um 00 25 59

2) Set "Installation Directory" to "/Applications"

bildschirmfoto 2018-08-24 um 00 00 03

3) Then, the project will fail with yet another issue:

bildschirmfoto 2018-08-24 um 00 03 42

4) Because the "Build settings" say, the App could be built now, but we wouldn't be able to access it.

bildschirmfoto 2018-08-24 um 00 17 50

So, we need to grant access for ourselves. Change those values to, with your username for sure:

bildschirmfoto 2018-08-24 um 00 19 18

If you don't know your username, open a Terminal and type whoami.

5) You need to let Xcode transform the project structure now. Click here:

bildschirmfoto 2018-08-24 um 00 13 30

and select the first file in the list (your project file!). A dialog will appear:

bildschirmfoto 2018-08-24 um 00 14 40

6) Perform all changes.

When you build now, and the warnings are overwhelming, do also transform the Xcode project of "lice" (it is linked in the warnings).

7) FINALLY, after all this journey...

Still from time to time, the build fails. I need to change the installation folders then.. just randomly switching until it builds again...

@olilarkin I don't know but after playing like 2h with the issue I can't find a stable solution to fix it

olilarkin commented 6 years ago

never seen that before. thanks for the detailed issues, but just a heads up, this code is quite outdated , so don't spend too much energy, since a new thing to test will be public soon

kyr0 commented 6 years ago

Cool stuff dude :) You don't need to fight alone tho :) In case you would like to get some early feedback, ideas or support with docs, compatibility tests on OS X, code contribution etc., feel free to invite me to your IPlug2 repo.

kyr0 commented 6 years ago

Hi Oli,

one another thing... I have a novel idea for IPlug2.. it could possibly save you all the work for the GUI... do you have smth. like a slack where we could talk?

Thanks & best, Aron

olilarkin commented 6 years ago

https://join.slack.com/t/iplug-users/shared_invite/enQtNDIyNjk0NDY2ODAwLTk3ZTI0MzNjNDU2ODcwNDk0MzUyMTRmMWU3MTIwMTZhODE0ODdhMGQ4ZDk5MDBmZTlmZTVmNTRiYzQzMDhiNTY

orbitbot commented 5 years ago

@olilarkin Hi, just found this project based on this blog http://www.martin-finke.de/blog/articles/audio-plugins-001-introduction/ which was written a few years back. Is this new thing going to replace this project functionality or somehow more tangentially related? I'm mainly interested in kicking the tires for learning and am looking for resources...

olilarkin commented 5 years ago

new version coming soon, hopefully with an updated version of that tutorial. Closing this issue, currently workin on new app wrapper code for iplug2