Can't get OS X Share extension running when renaming app

Hey. So I've created an OS X share extension and have an app to bundle it in. This all works fine - the only problem is my app is named sia-OSX.app


So I renamed my product name to Skim it so it outputs Skim it.app - which is fine. Only now the extension either fails to show up when you hit the Share button or it does show up and crashes.


In the console log I have this:



2016-04-27 15:15:10.376 Safari[2686:37262] plugin it.skim.sia-OSX.sia-OSX-Share invalidated

2016-04-27 15:15:10.376 Safari[2686:37262] Hub connection error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated." UserInfo={NSDebugDescription=The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated.}

2016-04-27 15:15:10.382 Safari[2686:37218] --error: [ShareKit] error in -[NSExtension beginExtensionRequestWithInputItems:completion: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated." UserInfo={NSDebugDescription=The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated.}


Sometimes it runs and I get this in the Console.app log -not the xcode log. (Note: I changed the bundle ID for this one)


pkd[281]: enabling pid=5921 for plug-in it.skim.Skim-it.Skim-it-Share(1.0) 5ABA577A-3FB7-4A46-AB31-F29D35B596CC /Users/jamie/Library/Developer/Xcode/DerivedData/sia-iOS-aeijgdjodcwyuvgzyldwdlwtwssm/Build/Products/Debug/Skim it.app/Contents/PlugIns/Skim it Share.appex

com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Safari.5921) Ignoring lax activation attempt for unsupported domain: it.skim.Skim-it.Skim-it-Share.apple-extension-service

com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Safari.5921) Ignoring lax activation attempt for unsupported domain: it.skim.Skim-it.Skim-it-Share.viewbridge

com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Safari.5921) Ignoring lax activation attempt for unsupported domain: it.skim.Skim-it.Skim-it-Share


It really doesn't like the name change


Any idea what's up?

Can't get OS X Share extension running when renaming app
 
 
Q