Back to All

shareToApp on iOS [Follow-Up]

Hello Team,

Following up on the thread: https://median.co/discuss/6686a2c9f6e701001932b7d6


These are the logs we got on Xcode. We are running the latest non beta version of Xcode.


could not convert to json {length = 3517, bytes = 0x30820db9 06092a86 4886f70d 010702a0 ... 724ac60e 72bb89d0 }  
Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}  
Reachability Flag Status: -R t------ networkStatusForFlags  
WebContent process (0x1100180c0) took 1.839542 seconds to launch  
nw_application_id_create_self NECP_CLIENT_ACTION_GET_SIGNED_CLIENT_ID [80: Authentication error]  
Failed to resolve host network app id  
got original agent Mozilla/5.0 (iPad; CPU OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148  
Couldn't read values in CFPrefsPlistSource\<0x3007aef40> (Domain: group.com.mentafy.ios, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
tcp_input [C1.1.1.1:3] flags=[R] seq=1852323779, ack=0, win=0 state=LAST_ACK rcv_nxt=1852323779, snd_una=2087935049  
tcp_input [C1.1.1.1:3] flags=[R] seq=1852323779, ack=0, win=0 state=CLOSED rcv_nxt=1852323779, snd_una=2087935049  
tcp_input [C1.1.1.1:3] flags=[R] seq=1852323779, ack=0, win=0 state=CLOSED rcv_nxt=1852323779, snd_una=2087935049  
Invalidating grant \<invalid NS/CF object> failed  
0x110024180 - ProcessThrottlerTimedActivity::activityTimedOut:  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Connection::sendMessage(): Too many messages (129) in the queue to remote PID: 1250, notifying client  
Connection::sendMessage(): Too many messages (129) in the queue to remote PID: 1252, notifying client  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
0x110018180 - ProcessThrottlerTimedActivity::activityTimedOut:  
Invalidating grant \<invalid NS/CF object> failed  
0x110018740 - ProcessThrottlerTimedActivity::activityTimedOut:  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Connection::sendMessage(): Too many messages (717) in the queue to remote PID: 1250, notifying client  
Connection::sendMessage(): Too many messages (717) in the queue to remote PID: 1252, notifying client  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
0x110018180 - ProcessThrottlerTimedActivity::activityTimedOut:  
Invalidating grant \<invalid NS/CF object> failed  
0x110018740 - ProcessThrottlerTimedActivity::activityTimedOut:  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Connection::sendMessage(): Too many messages (129) in the queue to remote PID: 1250, notifying client  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Invalidating grant \<invalid NS/CF object> failed  
Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}  
Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}  
Invalidating grant \<invalid NS/CF object> failed  
0x110018180 - ProcessThrottlerTimedActivity::activityTimedOut:

It does not work on the simulator on Median App Studio either.

The only configuration mentioned on Median's documentation is to add an App Group to the extension with the Group ID as the Bundle ID of the main app. Even after this, the extension is not bundled with the main app.

Extension Config

Main App Config