osx - Game Center Air Native Extension. Connection error -
making game center ane os x. when app unsigned, (and enabled workaround, described here https://devforums.apple.com/message/736545), works fine. when sign app distribution, , disable workaround, raise errors, when try authorize local player
could not services gamed. please file radar including gamekit logs, , gamed crash logs. error error domain=nscocoaerrordomain code=4099 "couldn’t communicate helper application." (the connection service named com.apple.gamed.osx invalidated.) userinfo=0x325c90 {nsdebugdescription=the connection service named com.apple.gamed.osx invalidated.}
error domain=gkerrordomain code=3 "the requested operation not completed due error communicating server." userinfo=0x21ce90 {nslocalizeddescription=the requested operation not completed due error communicating server.}
has encountered similar problem?
here script, use sign app:
app=myapp.app cert=3rd party mac developer application: ... rm "$app"/contents/frameworks/adobe\ air.framework/versions/1.0/resources/webkit.dylib rm "$app"/contents/frameworks/adobe\ air.framework/versions/1.0/resources/adobecp.vch rm -rf "$app"/contents/frameworks/adobe\ air.framework/versions/1.0/resources/adobecp.plugin rm -rf "$app"/contents/frameworks/adobe\ air.framework/versions/1.0/resources/adobecp15.plugin rm "$app"/contents/frameworks/adobe\ air.framework/versions/1.0/resources/adobe\ air.vch chmod -r 777 "$app"/ codesign -f -v -s "$cert" "$app"/contents/frameworks/adobe\ air.framework/versions/1.0/resources/flash\ player.plugin/ codesign -f -v -s "$cert" "$app"/contents/frameworks/adobe\ air.framework/ codesign -f -v -s "$cert" "$app"/contents/resources/meta-inf/air/extensions/my.awesome.gc/meta-inf/ane/macos-x86/gc.framework/gc codesign -f -s "$cert" --entitlements myapp.entitlements "$app"
upd
the problem occurs if sign --entitlements myapp.entitlements.
here myapp.entitlements
<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> </dict> </plist>
please, tell me, doing wrong?
Comments
Post a Comment