{"action":"created","issue":{"url":"https://api.github.com/repos/kyleneideck/BackgroundMusic/issues/35","repository_url":"https://api.github.com/repos/kyleneideck/BackgroundMusic","labels_url":"https://api.github.com/repos/kyleneideck/BackgroundMusic/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/kyleneideck/BackgroundMusic/issues/35/comments","events_url":"https://api.github.com/repos/kyleneideck/BackgroundMusic/issues/35/events","html_url":"https://github.com/kyleneideck/BackgroundMusic/issues/35","id":149767727,"number":35,"title":"Fail on install at lines 172 and 62","user":{"login":"ariera","id":154871,"avatar_url":"https://avatars.githubusercontent.com/u/154871?v=3","gravatar_id":"","url":"https://api.github.com/users/ariera","html_url":"https://github.com/ariera","followers_url":"https://api.github.com/users/ariera/followers","following_url":"https://api.github.com/users/ariera/following{/other_user}","gists_url":"https://api.github.com/users/ariera/gists{/gist_id}","starred_url":"https://api.github.com/users/ariera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariera/subscriptions","organizations_url":"https://api.github.com/users/ariera/orgs","repos_url":"https://api.github.com/users/ariera/repos","events_url":"https://api.github.com/users/ariera/events{/privacy}","received_events_url":"https://api.github.com/users/ariera/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T13:28:22Z","updated_at":"2016-04-20T16:17:12Z","closed_at":"2016-04-20T15:55:38Z","body":"Just pulled the most from master and tried to run the `build_and_install.sh` script, and I am getting this error:\r\n\r\n```\r\nInstalling the virtual audio device Background Music Device.driver to /Library/Audio/Plug-Ins/HAL.\r\nPassword:\r\nInstalling BGMXPCHelper.xpc to /Library/Application Support/Background Music.\r\nERROR: Install script failed at line 172. This is probably a bug in the script. Feel free to report it.\r\nERROR: Install script failed at line 62. This is probably a bug in the script. Feel free to report it.\r\nERROR: Build step failed. See build_and_install.log for details.\r\nFailed command:\r\n    sudo xcodebuild -project BGMApp/BGMApp.xcodeproj -target BGMXPCHelper -configuration Release RUN_CLANG_STATIC_ANALYZER=0 DSTROOT=/ INSTALL_PATH=/Library/Application Support/Background Music install\r\n```\r\n\r\nThis is the content of `build_and_install.log`:\r\n\r\n```\r\nInstalling the virtual audio device \u001B[1mBackground Music Device.driver\u001B(B\u001B[m to \u001B[1m/Library/Audio/Plug-Ins/HAL\u001B(B\u001B[m.\r\nBuild settings from command line:\r\n    DSTROOT = /\r\n    RUN_CLANG_STATIC_ANALYZER = 0\r\n\r\n=== BUILD TARGET Background Music Device OF PROJECT BGMDriver WITH CONFIGURATION Release ===\r\n\r\nCheck dependencies\r\n\r\nSetOwnerAndGroup root:wheel /Library/Audio/Plug-Ins/HAL/Background\\ Music\\ Device.driver\r\n    cd /Users/ariera/dev/vendor/BackgroundMusic/BGMDriver\r\n    /usr/sbin/chown -RH root:wheel /Library/Audio/Plug-Ins/HAL/Background\\ Music\\ Device.driver\r\n\r\nSetMode u+w,go-w,a+rX /Library/Audio/Plug-Ins/HAL/Background\\ Music\\ Device.driver\r\n    cd /Users/ariera/dev/vendor/BackgroundMusic/BGMDriver\r\n    /bin/chmod -RH u+w,go-w,a+rX /Library/Audio/Plug-Ins/HAL/Background\\ Music\\ Device.driver\r\n\r\n** INSTALL SUCCEEDED **\r\n\r\nInstalling \u001B[1mBGMXPCHelper.xpc\u001B(B\u001B[m to \u001B[1m/Library/Application Support/Background Music\u001B(B\u001B[m.\r\nBuild settings from command line:\r\n    DSTROOT = /\r\n    INSTALL_PATH = /Library/Application Support/Background Music\r\n    RUN_CLANG_STATIC_ANALYZER = 0\r\n\r\n=== BUILD TARGET BGMXPCHelper OF PROJECT BGMApp WITH CONFIGURATION Release ===\r\n\r\nCheck dependencies\r\n\r\nPhaseScriptExecution Run\\ Script build/BGMApp.build/Release/BGMXPCHelper.build/Script-276972891CAFCE91007A2F7C.sh\r\n    cd /Users/ariera/dev/vendor/BackgroundMusic/BGMApp\r\n    export ACTION=install\r\n    export ALTERNATE_GROUP=wheel\r\n    export ALTERNATE_MODE=u+w,go-w,a+rX\r\n    export ALTERNATE_OWNER=root\r\n    export ALWAYS_SEARCH_USER_PATHS=NO\r\n    export ALWAYS_USE_SEPARATE_HEADERMAPS=YES\r\n    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer\r\n    export APPLE_INTERNAL_DIR=/AppleInternal\r\n    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation\r\n    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library\r\n    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools\r\n    export APPLICATION_EXTENSION_API_ONLY=NO\r\n    export APPLY_RULES_IN_COPY_FILES=NO\r\n    export ARCHS=x86_64\r\n    export ARCHS_STANDARD=x86_64\r\n    export ARCHS_STANDARD_32_64_BIT=\"x86_64 i386\"\r\n    export ARCHS_STANDARD_32_BIT=i386\r\n    export ARCHS_STANDARD_64_BIT=x86_64\r\n    export ARCHS_STANDARD_INCLUDING_64_BIT=x86_64\r\n    export AVAILABLE_PLATFORMS=\"iphonesimulator macosx iphoneos\"\r\n    export BUILD_COMPONENTS=\"headers build\"\r\n    export BUILD_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build\r\n    export BUILD_ROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build\r\n    export BUILD_STYLE=\r\n    export BUILD_VARIANTS=normal\r\n    export BUILT_PRODUCTS_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release\r\n    export CACHE_ROOT=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/6.4-6E35b/Xcode\r\n    export CCHROOT=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/6.4-6E35b/Xcode\r\n    export CHMOD=/bin/chmod\r\n    export CHOWN=/usr/sbin/chown\r\n    export CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER=YES\r\n    export CLANG_CXX_LANGUAGE_STANDARD=c++0x\r\n    export CLANG_CXX_LIBRARY=libc++\r\n    export CLANG_ENABLE_MODULES=YES\r\n    export CLANG_ENABLE_OBJC_ARC=YES\r\n    export CLANG_MODULES_BUILD_SESSION_FILE=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache/Session.modulevalidation\r\n    export CLANG_WARN_ASSIGN_ENUM=YES\r\n    export CLANG_WARN_BOOL_CONVERSION=YES\r\n    export CLANG_WARN_CONSTANT_CONVERSION=YES\r\n    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR\r\n    export CLANG_WARN_EMPTY_BODY=YES\r\n    export CLANG_WARN_ENUM_CONVERSION=YES\r\n    export CLANG_WARN_IMPLICIT_SIGN_CONVERSION=NO\r\n    export CLANG_WARN_INT_CONVERSION=YES\r\n    export CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION=YES\r\n    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR\r\n    export CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION=YES\r\n    export CLANG_WARN_UNREACHABLE_CODE=YES\r\n    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES\r\n    export CLASS_FILE_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/JavaClasses\r\n    export CLEAN_PRECOMPS=YES\r\n    export CLONE_HEADERS=NO\r\n    export CODESIGNING_FOLDER_PATH=\"/Library/Application Support/Background Music/BGMXPCHelper.xpc\"\r\n    export CODE_SIGNING_ALLOWED=YES\r\n    export COLOR_DIAGNOSTICS=NO\r\n    export COMBINE_HIDPI_IMAGES=NO\r\n    export COMMAND_MODE=legacy\r\n    export COMPOSITE_SDK_DIRS=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/CompositeSDKs\r\n    export CONFIGURATION=Release\r\n    export CONFIGURATION_BUILD_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release\r\n    export CONFIGURATION_TEMP_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release\r\n    export CONTENTS_FOLDER_PATH=BGMXPCHelper.xpc/Contents\r\n    export COPYING_PRESERVES_HFS_DATA=NO\r\n    export COPY_PHASE_STRIP=NO\r\n    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES\r\n    export CP=/bin/cp\r\n    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO\r\n    export CURRENT_ARCH=x86_64\r\n    export CURRENT_VARIANT=normal\r\n    export DEAD_CODE_STRIPPING=YES\r\n    export DEBUGGING_SYMBOLS=YES\r\n    export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym\r\n    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0\r\n    export DEFAULT_KEXT_INSTALL_PATH=/Library/Extensions\r\n    export DEFINES_MODULE=NO\r\n    export DEPLOYMENT_LOCATION=YES\r\n    export DEPLOYMENT_POSTPROCESSING=YES\r\n    export DERIVED_FILES_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/DerivedSources\r\n    export DERIVED_FILE_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/DerivedSources\r\n    export DERIVED_SOURCES_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/DerivedSources\r\n    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications\r\n    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin\r\n    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer\r\n    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks\r\n    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks\r\n    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library\r\n    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs\r\n    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools\r\n    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr\r\n    export DEVELOPMENT_LANGUAGE=English\r\n    export DOCUMENTATION_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Resources/English.lproj/Documentation\r\n    export DO_HEADER_SCANNING_IN_JAM=NO\r\n    export DSTROOT=/\r\n    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain\r\n    export DWARF_DSYM_FILE_NAME=BGMXPCHelper.xpc.dSYM\r\n    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO\r\n    export DWARF_DSYM_FOLDER_PATH=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release\r\n    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO\r\n    export EMBEDDED_PROFILE_NAME=embedded.provisionprofile\r\n    export ENABLE_HEADER_DEPENDENCIES=YES\r\n    export ENABLE_NS_ASSERTIONS=NO\r\n    export ENABLE_STRICT_OBJC_MSGSEND=YES\r\n    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=\".DS_Store .svn .git .hg CVS\"\r\n    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES=\"*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj\"\r\n    export EXECUTABLES_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Executables\r\n    export EXECUTABLE_FOLDER_PATH=BGMXPCHelper.xpc/Contents/MacOS\r\n    export EXECUTABLE_NAME=BGMXPCHelper\r\n    export EXECUTABLE_PATH=BGMXPCHelper.xpc/Contents/MacOS/BGMXPCHelper\r\n    export EXPANDED_CODE_SIGN_IDENTITY=\r\n    export EXPANDED_CODE_SIGN_IDENTITY_NAME=\r\n    export EXPANDED_PROVISIONING_PROFILE=\r\n    export FILE_LIST=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/Objects/LinkFileList\r\n    export FIXED_FILES_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/FixedFiles\r\n    export FRAMEWORKS_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Frameworks\r\n    export FRAMEWORK_FLAG_PREFIX=-framework\r\n    export FRAMEWORK_SEARCH_PATHS=\"/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release \"\r\n    export FRAMEWORK_VERSION=A\r\n    export FULL_PRODUCT_NAME=BGMXPCHelper.xpc\r\n    export GCC3_VERSION=3.3\r\n    export GCC_C_LANGUAGE_STANDARD=c11\r\n    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES\r\n    export GCC_NO_COMMON_BLOCKS=YES\r\n    export GCC_OPTIMIZATION_LEVEL=s\r\n    export GCC_PFE_FILE_C_DIALECTS=\"c objective-c c++ objective-c++\"\r\n    export GCC_PREPROCESSOR_DEFINITIONS=\"DEBUG=0 CoreAudio_Debug=0 CoreAudio_UseSysLog=0 CoreAudio_StopOnAssert=0\"\r\n    export GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS=YES\r\n    export GCC_TREAT_WARNINGS_AS_ERRORS=YES\r\n    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0\r\n    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0\r\n    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES\r\n    export GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS=YES\r\n    export GCC_WARN_ABOUT_MISSING_PROTOTYPES=YES\r\n    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR\r\n    export GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED=YES\r\n    export GCC_WARN_SHADOW=YES\r\n    export GCC_WARN_STRICT_SELECTOR_MATCH=YES\r\n    export GCC_WARN_UNDECLARED_SELECTOR=YES\r\n    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE\r\n    export GCC_WARN_UNUSED_FUNCTION=YES\r\n    export GCC_WARN_UNUSED_LABEL=YES\r\n    export GCC_WARN_UNUSED_PARAMETER=YES\r\n    export GCC_WARN_UNUSED_VARIABLE=YES\r\n    export GENERATE_MASTER_OBJECT_FILE=NO\r\n    export GENERATE_PKGINFO_FILE=NO\r\n    export GENERATE_PROFILING_CODE=NO\r\n    export GID=0\r\n    export GROUP=wheel\r\n    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES\r\n    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES\r\n    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES\r\n    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES\r\n    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES\r\n    export HEADERMAP_USES_VFS=NO\r\n    export HEADER_SEARCH_PATHS=\"/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release/include  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include\"\r\n    export ICONV=/usr/bin/iconv\r\n    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES\r\n    export INFOPLIST_FILE=BGMXPCHelper/Info.plist\r\n    export INFOPLIST_OUTPUT_FORMAT=same-as-input\r\n    export INFOPLIST_PATH=BGMXPCHelper.xpc/Contents/Info.plist\r\n    export INFOPLIST_PREPROCESS=NO\r\n    export INFOSTRINGS_PATH=BGMXPCHelper.xpc/Contents/Resources/English.lproj/InfoPlist.strings\r\n    export INSTALL_DIR=\"//Library/Application Support/Background Music\"\r\n    export INSTALL_GROUP=wheel\r\n    export INSTALL_MODE_FLAG=u+w,go-w,a+rX\r\n    export INSTALL_OWNER=root\r\n    export INSTALL_PATH=\"/Library/Application Support/Background Music\"\r\n    export INSTALL_ROOT=/\r\n    export JAVAC_DEFAULT_FLAGS=\"-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8\"\r\n    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub\r\n    export JAVA_ARCHIVE_CLASSES=YES\r\n    export JAVA_ARCHIVE_TYPE=JAR\r\n    export JAVA_COMPILER=/usr/bin/javac\r\n    export JAVA_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Resources/Java\r\n    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources\r\n    export JAVA_JAR_FLAGS=cv\r\n    export JAVA_SOURCE_SUBDIR=.\r\n    export JAVA_USE_DEPENDENCIES=YES\r\n    export JAVA_ZIP_FLAGS=-urg\r\n    export JIKES_DEFAULT_FLAGS=\"+E +OLDCSO\"\r\n    export KEEP_PRIVATE_EXTERNS=NO\r\n    export LD_DEPENDENCY_INFO_FILE=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/Objects-normal/x86_64/BGMXPCHelper_dependency_info.dat\r\n    export LD_GENERATE_MAP_FILE=NO\r\n    export LD_MAP_FILE_PATH=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/BGMXPCHelper-LinkMap-normal-x86_64.txt\r\n    export LD_NO_PIE=NO\r\n    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES\r\n    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer\r\n    export LEX=lex\r\n    export LIBRARY_FLAG_NOSPACE=YES\r\n    export LIBRARY_FLAG_PREFIX=-l\r\n    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions\r\n    export LIBRARY_SEARCH_PATHS=\"/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release \"\r\n    export LINKER_DISPLAYS_MANGLED_NAMES=NO\r\n    export LINK_FILE_LIST_normal_x86_64=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/Objects-normal/x86_64/BGMXPCHelper.LinkFileList\r\n    export LINK_WITH_STANDARD_LIBRARIES=YES\r\n    export LOCALIZED_RESOURCES_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Resources/English.lproj\r\n    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities\r\n    export LOCAL_APPS_DIR=/Applications\r\n    export LOCAL_DEVELOPER_DIR=/Library/Developer\r\n    export LOCAL_LIBRARY_DIR=/Library\r\n    export MACH_O_TYPE=mh_execute\r\n    export MACOSX_DEPLOYMENT_TARGET=10.9\r\n    export MAC_OS_X_PRODUCT_BUILD_VERSION=14F1605\r\n    export MAC_OS_X_VERSION_ACTUAL=101005\r\n    export MAC_OS_X_VERSION_MAJOR=101000\r\n    export MAC_OS_X_VERSION_MINOR=1005\r\n    export MTL_ENABLE_DEBUG_INFO=NO\r\n    export NATIVE_ARCH=i386\r\n    export NATIVE_ARCH_32_BIT=i386\r\n    export NATIVE_ARCH_64_BIT=x86_64\r\n    export NATIVE_ARCH_ACTUAL=x86_64\r\n    export NO_COMMON=YES\r\n    export OBJECT_FILE_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/Objects\r\n    export OBJECT_FILE_DIR_normal=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/Objects-normal\r\n    export OBJROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build\r\n    export ONLY_ACTIVE_ARCH=NO\r\n    export OPTIMIZATION_LEVEL=0\r\n    export OS=MACOS\r\n    export OSAC=/usr/bin/osacompile\r\n    export PACKAGE_TYPE=com.apple.package-type.xpc-service\r\n    export PASCAL_STRINGS=YES\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/sbin:/Users/ariera/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin\"\r\n    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES=\"/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms\"\r\n    export PBDEVELOPMENTPLIST_PATH=BGMXPCHelper.xpc/Contents/pbdevelopment.plist\r\n    export PFE_FILE_C_DIALECTS=objective-c\r\n    export PKGINFO_FILE_PATH=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/PkgInfo\r\n    export PKGINFO_PATH=BGMXPCHelper.xpc/Contents/PkgInfo\r\n    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications\r\n    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin\r\n    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library\r\n    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs\r\n    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools\r\n    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr\r\n    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform\r\n    export PLATFORM_NAME=macosx\r\n    export PLATFORM_PREFERRED_ARCH=x86_64\r\n    export PLATFORM_PRODUCT_BUILD_VERSION=6E35b\r\n    export PLIST_FILE_OUTPUT_FORMAT=same-as-input\r\n    export PLUGINS_FOLDER_PATH=BGMXPCHelper.xpc/Contents/PlugIns\r\n    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES\r\n    export PRECOMP_DESTINATION_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/PrefixHeaders\r\n    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO\r\n    export PRIVATE_HEADERS_FOLDER_PATH=BGMXPCHelper.xpc/Contents/PrivateHeaders\r\n    export PRODUCT_BUNDLE_IDENTIFIER=com.bearisdriving.BGM.XPCHelper\r\n    export PRODUCT_MODULE_NAME=BGMXPCHelper\r\n    export PRODUCT_NAME=BGMXPCHelper\r\n    export PRODUCT_SETTINGS_PATH=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/BGMXPCHelper/Info.plist\r\n    export PRODUCT_TYPE=com.apple.product-type.xpc-service\r\n    export PROFILING_CODE=NO\r\n    export PROJECT=BGMApp\r\n    export PROJECT_DERIVED_FILE_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/DerivedSources\r\n    export PROJECT_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp\r\n    export PROJECT_FILE_PATH=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/BGMApp.xcodeproj\r\n    export PROJECT_NAME=BGMApp\r\n    export PROJECT_TEMP_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build\r\n    export PROJECT_TEMP_ROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build\r\n    export PUBLIC_HEADERS_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Headers\r\n    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES\r\n    export REMOVE_CVS_FROM_RESOURCES=YES\r\n    export REMOVE_GIT_FROM_RESOURCES=YES\r\n    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES\r\n    export REMOVE_HG_FROM_RESOURCES=YES\r\n    export REMOVE_SVN_FROM_RESOURCES=YES\r\n    export REZ_COLLECTOR_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/ResourceManagerResources\r\n    export REZ_OBJECTS_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/ResourceManagerResources/Objects\r\n    export REZ_SEARCH_PATHS=\"/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release \"\r\n    export RUN_CLANG_STATIC_ANALYZER=0\r\n    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO\r\n    export SCRIPTS_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Resources/Scripts\r\n    export SCRIPT_INPUT_FILE_COUNT=0\r\n    export SCRIPT_OUTPUT_FILE_COUNT=0\r\n    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk\r\n    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk\r\n    export SDK_NAME=macosx10.10\r\n    export SDK_PRODUCT_BUILD_VERSION=14D125\r\n    export SED=/usr/bin/sed\r\n    export SEPARATE_STRIP=NO\r\n    export SEPARATE_SYMBOL_EDIT=NO\r\n    export SET_DIR_MODE_OWNER_GROUP=YES\r\n    export SET_FILE_MODE_OWNER_GROUP=NO\r\n    export SHALLOW_BUNDLE=NO\r\n    export SHARED_DERIVED_FILE_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/Release/DerivedSources\r\n    export SHARED_FRAMEWORKS_FOLDER_PATH=BGMXPCHelper.xpc/Contents/SharedFrameworks\r\n    export SHARED_PRECOMPS_DIR=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/SharedPrecompiledHeaders\r\n    export SHARED_SUPPORT_FOLDER_PATH=BGMXPCHelper.xpc/Contents/SharedSupport\r\n    export SKIP_INSTALL=NO\r\n    export SOURCE_ROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp\r\n    export SRCROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp\r\n    export STRINGS_FILE_OUTPUT_ENCODING=UTF-16\r\n    export STRIP_INSTALLED_PRODUCT=YES\r\n    export STRIP_STYLE=non-global\r\n    export SUPPORTED_PLATFORMS=macosx\r\n    export SYMROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build\r\n    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities\r\n    export SYSTEM_APPS_DIR=/Applications\r\n    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices\r\n    export SYSTEM_DEMOS_DIR=/Applications/Extras\r\n    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications\r\n    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin\r\n    export SYSTEM_DEVELOPER_DEMOS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples\"\r\n    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer\r\n    export SYSTEM_DEVELOPER_DOC_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library\"\r\n    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools\"\r\n    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Java Tools\"\r\n    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR=\"/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools\"\r\n    export SYSTEM_DEVELOPER_RELEASENOTES_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes\"\r\n    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools\r\n    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools\"\r\n    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR=\"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools\"\r\n    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr\r\n    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities\r\n    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation\r\n    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions\r\n    export SYSTEM_LIBRARY_DIR=/System/Library\r\n    export TARGETNAME=BGMXPCHelper\r\n    export TARGET_BUILD_DIR=\"/Library/Application Support/Background Music\"\r\n    export TARGET_NAME=BGMXPCHelper\r\n    export TARGET_TEMP_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build\r\n    export TEMP_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build\r\n    export TEMP_FILES_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build\r\n    export TEMP_FILE_DIR=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build\r\n    export TEMP_ROOT=/Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build\r\n    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault\r\n    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO\r\n    export UID=0\r\n    export UNLOCALIZED_RESOURCES_FOLDER_PATH=BGMXPCHelper.xpc/Contents/Resources\r\n    export UNSTRIPPED_PRODUCT=NO\r\n    export USER=root\r\n    export USER_APPS_DIR=/Users/ariera/Applications\r\n    export USER_LIBRARY_DIR=/Users/ariera/Library\r\n    export USE_DYNAMIC_NO_PIC=YES\r\n    export USE_HEADERMAP=YES\r\n    export USE_HEADER_SYMLINKS=NO\r\n    export VALIDATE_PRODUCT=NO\r\n    export VALID_ARCHS=\"i386 x86_64\"\r\n    export VERBOSE_PBXCP=NO\r\n    export VERSIONPLIST_PATH=BGMXPCHelper.xpc/Contents/version.plist\r\n    export VERSION_INFO_BUILDER=root\r\n    export VERSION_INFO_FILE=BGMXPCHelper_vers.c\r\n    export VERSION_INFO_STRING=\"\\\"@(#)PROGRAM:BGMXPCHelper  PROJECT:BGMApp-\\\"\"\r\n    export WRAPPER_EXTENSION=xpc\r\n    export WRAPPER_NAME=BGMXPCHelper.xpc\r\n    export WRAPPER_SUFFIX=.xpc\r\n    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode\r\n    export XCODE_PRODUCT_BUILD_VERSION=6E35b\r\n    export XCODE_VERSION_ACTUAL=0640\r\n    export XCODE_VERSION_MAJOR=0600\r\n    export XCODE_VERSION_MINOR=0640\r\n    export XPCSERVICES_FOLDER_PATH=BGMXPCHelper.xpc/Contents/XPCServices\r\n    export YACC=yacc\r\n    export arch=x86_64\r\n    export variant=normal\r\n    /bin/sh -c /Users/ariera/dev/vendor/BackgroundMusic/BGMApp/build/BGMApp.build/Release/BGMXPCHelper.build/Script-276972891CAFCE91007A2F7C.sh\r\nInstalled to com.bearisdriving.BGM.XPCHelper.plist to /Library/LaunchDaemons.\r\n/Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist: Operation already in progress\r\nCommand /bin/sh failed with exit code 133\r\n\r\n** INSTALL FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tPhaseScriptExecution Run\\ Script build/BGMApp.build/Release/BGMXPCHelper.build/Script-276972891CAFCE91007A2F7C.sh\r\n(1 failure)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/kyleneideck/BackgroundMusic/issues/comments/212497224","html_url":"https://github.com/kyleneideck/BackgroundMusic/issues/35#issuecomment-212497224","issue_url":"https://api.github.com/repos/kyleneideck/BackgroundMusic/issues/35","id":212497224,"user":{"login":"kyleneideck","id":2290968,"avatar_url":"https://avatars.githubusercontent.com/u/2290968?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleneideck","html_url":"https://github.com/kyleneideck","followers_url":"https://api.github.com/users/kyleneideck/followers","following_url":"https://api.github.com/users/kyleneideck/following{/other_user}","gists_url":"https://api.github.com/users/kyleneideck/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleneideck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleneideck/subscriptions","organizations_url":"https://api.github.com/users/kyleneideck/orgs","repos_url":"https://api.github.com/users/kyleneideck/repos","events_url":"https://api.github.com/users/kyleneideck/events{/privacy}","received_events_url":"https://api.github.com/users/kyleneideck/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T16:17:12Z","updated_at":"2016-04-20T16:17:12Z","body":"Hi, thanks for reporting this. I think because you're building on OS X 10.10, the first clause of this line (148) in post_install.sh was failing (silently):\r\n```shell\r\nsudo launchctl bootout system \"${LAUNCHD_PLIST}\" &> /dev/null || true\r\n```\r\nIt normally fails when you don't have BGMXPCHelper installed already (and \"|| true\" ignores the failure). My guess is that you already had it installed, but the launchctl call failed because the \"bootout\" action was called \"unbootstrap\" in 10.10's version of launchctl. Then the following `launchctl bootstrap ...` command (which normally does work on 10.10) failed because it can't bootstrap a service that's already bootstrapped, and that crashed the script.\r\n\r\nIn 7f136586dcd65d1ead88b33645d069a9e1618005, I've added versions of the launchctl commands for 10.10 and 10.9 based on their versions of the launchctl man page. I haven't been able to test them on 10.10 or 10.9, though."}}