Open sweatyc opened 8 years ago
Any way to add muliple depth tags into Info.plist? e.g. from Facebook:
<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>facebook.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> <false/> </dict> <key>fbcdn.net</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> <false/> </dict> <key>akamaihd.net</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> <false/> </dict> </dict> </dict>
I tried in XCodePostProcess.cs add:
XCPlist list = new XCPlist (plistFullPath); Hashtable ht = new Hashtable { {"NSAppTransportSecurity", new Hashtable { {"NSExceptionDomains", new Hashtable { {"facebook.com", new Hashtable { {"NSIncludesSubdomains", true}, {"NSThirdPartyExceptionRequiresForwardSecrecy", false} } }, {"fbcdn.net", new Hashtable { {"NSIncludesSubdomains", true}, {"NSThirdPartyExceptionRequiresForwardSecrecy", false} } }, {"akamaihd.net", new Hashtable { {"NSIncludesSubdomains", true}, {"NSThirdPartyExceptionRequiresForwardSecrecy", false} }} } } } } }; list.Process (ht);
But error throw seems XUPorter cannot handle tags with depth more than 2
Any way to add muliple depth tags into Info.plist? e.g. from Facebook:
I tried in XCodePostProcess.cs add:
But error throw seems XUPorter cannot handle tags with depth more than 2