mtytel / helm

Helm - a free polyphonic synth with lots of modulation
http://tytel.org/helm
GNU General Public License v3.0
2.34k stars 201 forks source link

Xcode standalone build errors -- JUCE build fixes this #200

Open MacroMachines opened 6 years ago

MacroMachines commented 6 years ago

As suggested from the Readme, tried to build using the supplied Xcode project and got a few errors related to code signing and warning for osx 10.7 / i386 depreciated deployment target.

most recent Xcode Version 9.3 (9E145) and download from main branch

When I opened the standalone HELM juicer file in JUCE projucer 5.3 and export to Xcode, everything works fine as far as I can tell, but there are a few runtime warnings that seem worth looking at :

UI API called from background thread Group ` ~/HELM/standalone/builds/osx/../../../JUCE/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm: runtime: UI API called from background thread: -[NSView frame] must be used from main thread only Thread 13

0 0x00000001007f05ab in juce::NSViewComponentPeer::getBounds(bool) const at ~/HELM/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm:271

1 0x00000001007eeaa4 in juce::NSViewComponentPeer::localToGlobal(juce::Point) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm:301

2 0x00000001007756db in juce::ComponentPeer::localToGlobal(juce::Point) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/windows/juce_ComponentPeer.cpp:400

3 0x000000010077574f in juce::ComponentPeer::localToGlobal(juce::Rectangle const&) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/windows/juce_ComponentPeer.cpp:405

4 0x000000010069cf85 in juce::Rectangle juce::Component::ComponentHelpers::convertToParentSpace<juce::Rectangle >(juce::Component const&, juce::Rectangle) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/components/juce_Component.cpp:347

5 0x000000010069869d in juce::Rectangle juce::Component::ComponentHelpers::convertCoordinate<juce::Rectangle >(juce::Component const, juce::Component const, juce::Rectangle) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/components/juce_Component.cpp:385

6 0x0000000100697eb9 in juce::Component::localAreaToGlobal(juce::Rectangle) const at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/components/juce_Component.cpp:1090

7 0x0000000100697e30 in juce::Component::getScreenBounds() const at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_gui_basics/components/juce_Component.cpp:1056

8 0x00000001008a1290 in juce::OpenGLContext::CachedImage::updateViewportSize(bool) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_opengl/opengl/juce_OpenGLContext.cpp:298

9 0x00000001008a0298 in juce::OpenGLContext::CachedImage::renderFrame() at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_opengl/opengl/juce_OpenGLContext.cpp:249

10 0x000000010089d4ed in juce::OpenGLContext::CachedImage::runJob() at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_opengl/opengl/juce_OpenGLContext.cpp:474

11 0x00000001004cd188 in juce::ThreadPool::runNextJob(juce::ThreadPool::ThreadPoolThread&) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_core/threads/juce_ThreadPool.cpp:340

12 0x000000010051e0a2 in juce::ThreadPool::ThreadPoolThread::run() at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_core/threads/juce_ThreadPool.cpp:34

13 0x00000001004caab0 in juce::Thread::threadEntryPoint() at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_core/threads/juce_Thread.cpp:96

14 0x00000001004cae95 in juce::juce_threadEntryPoint(void*) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_core/threads/juce_Thread.cpp:111

15 0x00000001004ec7fe in ::threadEntryProc(void *) at ~/HELM/helm-master/standalone 2/builds/osx/../../../JUCE/modules/juce_core/native/juce_posix_SharedCode.h:947

16 0x0000000102efc665 in _pthread_body ()

17 0x0000000102efc511 in _pthread_start ()

18 0x0000000102efbbfd in thread_start ()

`

mtytel commented 5 years ago

The code signing error is because you need to add your own developer account there or remove it. I should probably not have commited my id though..

I'll take a look at the runtime warnings