I've added the pubnub library to the share extension target and I cannot use it since it uses apis that are not available in app extensions. Is there a fix for this?