예제 #1
0
        void ApplyHotspotConfigurationCapability(HotspotConfigurationCapability capability)
        {
            //update pbxproject
            _pbxproj.EnableSystemCapability("com.apple.HotspotConfiguration", true);
            _pbxproj.AddSystemFramework("NetworkExtension.framework", LinkType.Required);
            //update entitlements file
            var entitlementChanges = new PListDictionary();

            entitlementChanges.Add("com.apple.developer.networking.HotspotConfiguration", true);
            ApplyEntitlementsChanges(entitlementChanges, true);
        }
예제 #2
0
 public HotspotConfigurationCapability(HotspotConfigurationCapability other)
     : base(other)
 {
 }