Can't export plugin on macOS
-
Hello!
I managed to build Hise on Windows and export my basic pluign, but macOS is a different story :)
I built the latest version of Hise + tried old build available on Hise website, but I always getting the same error.
I also tried to open projucer project with Projucer and then run it in Xcode. The build is successful, but I'm getting a set of some files.
/Users/Dan/Documents/HISE/Binaries/batchCompileOSX ; exit; dan@Dans-MacBook-Pro ~ % /Users/dan/Documents/HISE/Binaries/batchCompileOSX ; exit; Could not find file: /AutogeneratedProject.jucer Compiling Instrument plugin M1 ... /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:80:in `pwd': Operation not permitted - getcwd (Errno::EPERM) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:80:in `lockfile_contents' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:68:in `lockfile_version' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:22:in `bundler_version_with_reason' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:7:in `bundler_version' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:39:in `compatible?' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1042:in `block in find_by_path' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `find_by_path' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:212:in `try_activate' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:123:in `rescue in require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb:14:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:4:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexers/apache.rb:1:in `<top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load_lexer' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:57:in `block in <top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `each' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/syntax.rb:2:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty.rb:3:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:10:in `<top (required)>' from /usr/local/bin/xcpretty:23:in `load' from /usr/local/bin/xcpretty:23:in `<main>' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- 2.6/psych.so (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb:14:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:4:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexers/apache.rb:1:in `<top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load_lexer' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:57:in `block in <top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `each' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/syntax.rb:2:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty.rb:3:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:10:in `<top (required)>' from /usr/local/bin/xcpretty:23:in `load' from /usr/local/bin/xcpretty:23:in `<main>' 2022-09-11 11:04:05.743 xcodebuild[18627:371247] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-09-11 11:04:05.743 xcodebuild[18627:371247] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore xcodebuild: error: 'Builds/MacOSX/M1.xcodeproj' does not exist. Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
-
Are you using the develop branch? Which version of xcode?
-
@d-healey Yes, it's develop branch. But I had the same issue with the build available on Hise website. Xcode 13.4.1
-
@DanSound downgrade to XCode to 13.1
-
@Lindon ok, will try it now. thanks!
-
Looking at your error message
/Users/Dan/Documents/HISE/Binaries/batchCompileOSX ;
This looks like you're trying to compile HISE, not your project, or is your project called HISE?
-
@d-healey Yes, I called the project folder HISE I'm still learning Hise project structure.
-
-
@d-healey Thanks! I'm going to watch all your videos some day, they're very helpful!
-
So I installed Xcode 13.1 and the issue is still there.
/Users/dan/Documents/HISE/Binaries/batchCompileOSX ; exit; dan@Dans-MacBook-Pro ~ % /Users/dan/Documents/HISE/Binaries/batchCompileOSX ; exit; Could not find file: /AutogeneratedProject.jucer Compiling Instrument plugin M1 ... objc[19586]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x21ae03620) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104d94598). One of the two will be used. Which one is undefined. objc[19586]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x21ae03670) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104d945e8). One of the two will be used. Which one is undefined. objc[19586]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x21ae036c0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104d94638). One of the two will be used. Which one is undefined. objc[19586]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x21ae03710) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104d94688). One of the two will be used. Which one is undefined. objc[19586]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x21ae03760) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104d946d8). One of the two will be used. Which one is undefined. objc[19586]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x21ae037b0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104d94728). One of the two will be used. Which one is undefined. /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:80:in `pwd': Operation not permitted - getcwd (Errno::EPERM) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:80:in `lockfile_contents' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:68:in `lockfile_version' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:22:in `bundler_version_with_reason' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:7:in `bundler_version' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:39:in `compatible?' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1042:in `block in find_by_path' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `find' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `find_by_path' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:212:in `try_activate' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:123:in `rescue in require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb:14:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:4:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexers/apache.rb:1:in `<top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load_lexer' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:57:in `block in <top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `each' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/syntax.rb:2:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty.rb:3:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:10:in `<top (required)>' from /usr/local/bin/xcpretty:23:in `load' from /usr/local/bin/xcpretty:23:in `<main>' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- 2.6/psych.so (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb:14:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:4:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexers/apache.rb:1:in `<top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge/lexer.rb:362:in `load_lexer' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:57:in `block in <top (required)>' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `each' from /Library/Ruby/Gems/2.6.0/gems/rouge-2.0.7/lib/rouge.rb:56:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/syntax.rb:2:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty.rb:3:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:10:in `<top (required)>' from /usr/local/bin/xcpretty:23:in `load' from /usr/local/bin/xcpretty:23:in `<main>' xcodebuild: error: 'Builds/MacOSX/M1.xcodeproj' does not exist. Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
-
Could not find file: /AutogeneratedProject.jucer
This file is not present. Have you set the HISE source path in your project preferences?
Are you sure you're using the develop branch and not the master branch?
-
@d-healey Yes, all set
-
@d-healey I'm using develop branch, followed your recent tutorial for Windows.
And the file AutogeneratedProject.jucer is in Binaries folder
-
@DanSound Open the .jucer file in Projucer and then open the project in xcode and try compiling
-
@d-healey I tied this way and getting the same output as with the latest Xcode version. For some reason it always makes Debug version too, but I always choose Profiling. Anyways, Debug version is 0 kb.
Release version is some shortcut and libM1.a file 209 Mb
-
@DanSound It looks like it worked to me. That little arrow on the M1 .component icon indicates that the file is a link and not the actual file. If you right click on it and select show original it will take you to the actual file which will be in your plugins folder so that it can be detected by your DAW.
-
@d-healey Wow, it works! Thanks a lot! I was clicking on shortcut and expecting it to send me to the file
But VST plugin is still not there. Do you have any ideas how to compile it too? I'm using VST3 SDK that comes with Hise, maybe I need to use some other version?
-
@DanSound everything you need is included with HISE. Did you check the vst3 box in project preferences?
-
@d-healey Well, that was easy. Thanks a lot for your help! This is my first experience with development.
For some reason it only compiled VST, but at least it works :)
-