//Game Center void ApplyGameCenterCapability(GameCenterCapability capability) { //update pbxproject _pbxproj.EnableSystemCapability("com.apple.GameCenter.iOS", true); _pbxproj.AddSystemFramework("GameKit.framework", LinkType.Required); //update info.plist var changes = new PListDictionary(); changes.Add("UIRequiredDeviceCapabilities", new PListArray("gamekit")); ApplyInfoPlistChanges(changes); }
public GameCenterCapability(GameCenterCapability other) : base(other) { }