Beispiel #1
0
        //Wallet
        void ApplyWalletCapability(WalletCapability capability)
        {
            //update pbxproject
            _pbxproj.EnableSystemCapability("com.apple.Wallet", true);
            _pbxproj.AddSystemFramework("PassKit.framework", LinkType.Required);
            //update entitlements file
            var entitlementChanges = new PListDictionary();

            entitlementChanges.Add("com.apple.developer.pass-type-identifiers", new PListArray("$(TeamIdentifierPrefix)*"));
            ApplyEntitlementsChanges(entitlementChanges, true);
        }
Beispiel #2
0
 public WalletCapability(WalletCapability other)
     : base(other)
 {
     AllowSubsetOfPassTypes = other.AllowSubsetOfPassTypes;
     PassTypeSubsets        = new List <string>(other.PassTypeSubsets);
 }