Xcode 7 issue with running Firmware update due to App Transport Security

Just a heads up to those of you running the MetawareAPITest code on Xcode 7 for the 1st time.  You may get the following 2 errors when running the Firmware update;

"App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file." and "Firmware update error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection."

These 2 issues are do to Apple's implementation of something called App Transport Security. To correct this problem all you have to do is add the "NSAppTransportSecurity" key to your .plist file with the "NSAllowsArbitraryLoads" parameter set to "YES".

Comments

  • Thanks for the workaround!  

    We are currently working to serve all mbientlab subdomains over HTTPS, so this will be fixed in the next API release.
This discussion has been closed.