Hello,
I distributed an App through Ad hoc and was able to install the app through the web server I set up.
In my app I need a network connection. But my error handling always tells me that I have no internet connection.
Is it possible that there is no Network connection for apps that are distributed through Ad hoc?
Thank you for your help
Regards,
Tell
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hey,This is my code. I have the url of the smb server which I have connected in the 'Files' app. It finds the file on the server, but I always says that it has no permission to read it. On my server I have allowed everyone to read and write. Do I need to write something in my code that my app knows that it has permission to read ?let url: URL = URL(fileURLWithPath: "/private/var/mobile/Library/LiveFiles/com.apple.filesystems.smbclientd/xVUdQwTestApp/testaufbau.csv")
do
{
let fileURLs = try FileManager.default.contentsOfDirectory(at: url, includingPropertiesForKeys: nil)
Admin.fileContent = try String(contentsOf: fileURLs[0], encoding: .utf8)
print("ADMIN: \(Admin.fileContent)")
}
catch
{
print(error)
}Thank you for all the helpRegards,Tell Tobler