Skip to content
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-osx.sh -> Update to recommended settings -> build-osx.sh -> Update to recommended settings #114

Closed
esaruoho opened this issue Dec 19, 2018 · 8 comments

Comments

@esaruoho
Copy link
Collaborator

pingpong going on between build-osx.sh and Xcode.

Basically, if I run build-osx.sh, and then boot up Xcode, Xcode will ask me to make some changes (Update to recommended settings) to vst2,vst3,au. if i then clean+build in xcode, and quit xcode, and run build-osx.sh, xcode will, yet again, ask me to Update to recommended settings.

Is there some way of evading this, so that one doesn't need to update to recommended settings every time?

@kzantow
Copy link
Collaborator

kzantow commented Dec 19, 2018

Is this for Xcode 10? It doesn't happen on Xcode 9. I'm not sure if there's a specific preference, but 9 is the last version that will build 32-bit, if there was any desire to distribute 32-bit versions, which might make it a reasonable target...

@esaruoho
Copy link
Collaborator Author

@kzantow i think it makes sense to push out 32bit ones too, just in case ppl are using older macs

@baconpaul
Copy link
Collaborator

Really? How old does your Mac need to be to not support 64 bit audio units or vsts? I’m fine embracing the future a bit and not killing ourself with another 3 packages to build and test if others are!

@esaruoho
Copy link
Collaborator Author

@baconpaul f.ex. there are people still running 32bit Ableton Live and 32bit Renoise.. because they eat less CPU. If it is a non-issue to build 32bit plugins automatically (set-and-forget), then it would be of use for sure.

@baconpaul
Copy link
Collaborator

Huh. Well warnings on pointer size will matter a lot I guess. We should turn to those one day.

@baconpaul
Copy link
Collaborator

Anyway to your original question; no there is no way to avoid this. Every time you run premake it requires you to update in Xcode 10.

The solution is to patch premake core so it emits Xcode 10 files which is a lot of work or run premake less often. The first is not a surge issue. The second is in the hands of the users.

I am resistant to doing something like if -f surge.xcworkspace don’t run premake since premake is always rhebsafe thing to do.

@esaruoho
Copy link
Collaborator Author

@baconpaul hi, thanks for chiming in. i was thinking, surely, if build-osx.sh creates Type A xcodeproj and xcode creates Type B xcodeproj - that's fine. I just wasn't entirely sure if the process has changed from "git clone, submodules, build-osx.sh, xcode (validation, fixes), build in xcode, package on terminal" to "don't do anything with xcode". hence the query about the pingpong :)

@esaruoho
Copy link
Collaborator Author

closing as "expected behaviour" :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants