Export reports failure - but .component is created
-
Hi there,
I tried to export a simple plugin using HISE 1.1.1 on Mac OS 10.12.6 using Xcode 9.1 (9B55). I downloaded the source code of HISE 1.1.1, VST SDK and configured the essential project settings.
I created a simple sampler by just dragging a few audio files into the map editor and added an empty user interface, as I wanted to test the build before investing time in a proper sampler instrument.
Unfortunately, the export functionality does not seem to work for me. The compiler starts up alright, but I get a lot of warnings and then the build batch says there has been a build failure, even though I did not see any specific compiler or linker errors.
The build output looks like this:
Last login: Thu Nov 23 15:23:56 on ttys000 MicTicBook:~ m-wagner$ /Users/m-wagner/Documents/hise-projects/Testminimal/Binaries/batchCompileOSX ; exit; Re-saving file: /Users/m-wagner/Documents/hise-projects/TestMinimal/Binaries/AutogeneratedProject.jucer Finished saving: Visual Studio 2013 Finished saving: Xcode (MacOSX) Finished saving: Xcode (iOS) Compiling Instrument plugin TestMinimal ... /Users/m-wagner/Documents/hise-projects/TestMinimal/Binaries/batchCompileOSX: line 5: xcpretty: command not found 2017-11-24 09:40:34.488 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_components/hi_components.h" is a member of multiple groups ("hi_components" and "hi_components"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.495 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_core/hi_core.h" is a member of multiple groups ("hi_core" and "hi_core"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.498 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_dsp/hi_dsp.h" is a member of multiple groups ("hi_dsp" and "hi_dsp"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.499 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_dsp_library/hi_dsp_library.h" is a member of multiple groups ("hi_dsp_library" and "hi_dsp_library"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.500 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_frontend/hi_frontend.h" is a member of multiple groups ("hi_frontend" and "hi_frontend"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.501 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_lac/hi_lac.h" is a member of multiple groups ("hi_lac" and "hi_lac"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.515 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_modules/hi_modules.h" is a member of multiple groups ("hi_modules" and "hi_modules"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.518 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_sampler/hi_sampler.h" is a member of multiple groups ("hi_sampler" and "hi_sampler"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.522 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/hi_scripting/hi_scripting.h" is a member of multiple groups ("hi_scripting" and "hi_scripting"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.527 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_audio_basics/juce_audio_basics.h" is a member of multiple groups ("juce_audio_basics" and "juce_audio_basics"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.530 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_audio_devices/juce_audio_devices.h" is a member of multiple groups ("juce_audio_devices" and "juce_audio_devices"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.541 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_audio_formats/juce_audio_formats.h" is a member of multiple groups ("juce_audio_formats" and "juce_audio_formats"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.546 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client.h" is a member of multiple groups ("juce_audio_plugin_client" and "juce_audio_plugin_client"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.549 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_audio_processors/juce_audio_processors.h" is a member of multiple groups ("juce_audio_processors" and "juce_audio_processors"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.551 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_audio_utils/juce_audio_utils.h" is a member of multiple groups ("juce_audio_utils" and "juce_audio_utils"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.564 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_core/juce_core.h" is a member of multiple groups ("juce_core" and "juce_core"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.565 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_cryptography/juce_cryptography.h" is a member of multiple groups ("juce_cryptography" and "juce_cryptography"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.566 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_data_structures/juce_data_structures.h" is a member of multiple groups ("juce_data_structures" and "juce_data_structures"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.568 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_events/juce_events.h" is a member of multiple groups ("juce_events" and "juce_events"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.579 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_graphics/juce_graphics.h" is a member of multiple groups ("juce_graphics" and "juce_graphics"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.595 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_gui_basics/juce_gui_basics.h" is a member of multiple groups ("juce_gui_basics" and "juce_gui_basics"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.598 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_gui_extra/juce_gui_extra.h" is a member of multiple groups ("juce_gui_extra" and "juce_gui_extra"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.600 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_opengl/juce_opengl.h" is a member of multiple groups ("juce_opengl" and "juce_opengl"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. 2017-11-24 09:40:34.601 xcodebuild[1919:70877] warning: The file reference for "../../../../../hise-src/HISE-1.1.1/JUCE/modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h" is a member of multiple groups ("juce_tracktion_marketplace" and "juce_tracktion_marketplace"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path. ** BUILD FAILED ** The following build commands failed: CompileC build/TestMinimal.build/Release/TestMinimal\ (AU).build/Objects-normal/x86_64/juce_audio_plugin_client_AU_2.o /Users/m-wagner/Documents/hise-projects/TestMinimal/Binaries/JuceLibraryCode/juce_audio_plugin_client_AU_2.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Compiling finished. Cleaning up... logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
There is still a
.component
folder placed under~/Library/Audio/Plug-Ins/Components/
, but when runningauval -a
, the plugin is not listed, though another plugin project I started from scratch and exported (and had the same issue with) is listed, but it reports an error:auvaltool[2287:89117] Cannot find executable for CFBundle 0x7f80c9c065f0 </Users/m-wagner/Library/Audio/Plug-Ins/Components/Test HISE Project v1.component> (not loaded) Cannot open component: -50
The
./Binaries/Compiled
folder mentioned in the tutorial does not exist, though.I'd appreciate any pointers as to what I may be doing wrong here!
-
Xcode 9+ is a complete mess and will be considered the Windows Vista of the Mac World in a few years. Please try to get your hands on a older version (XCode 8).
-
Hi Christoph,
Thanks for your response. I just downgraded to Xcode 8.3.3 and the same issue still exists. Any idea what's going on there?