Description:
I created a new TVML project and started it. The first error was application transport security, which I installed with Info.plist:
App Transport Security Settings -> Allow Arbitrary Loads -> YES
Then I ran it again and I get this error:
Failed to load start URL with error: (null) appController (_: didFailWithError :) is called with error: Error Domain = TVMLKitErrorDomain Code = 3 "(null)"
The project seems to stop here ( application funcin AppDelegate.swift):
appControllerContext.launchOptions["BASEURL"] = AppDelegate.tvBaseURL
print(launchOptions)
if let launchOptions = launchOptions as? [String: AnyObject] {
for (kind, value) in launchOptions {
appControllerContext.launchOptions[kind] = value
}
}
What I tried:
I tried changing tvBaseURL to " http: // localhost: 9001 / " withhttp://MY-IP-ADDRESS-HERE:9001/
but that didn’t change anything.
Question:
What causes this error and how to solve it?