Closed deamul1sk closed 4 years ago
@deamul1sk
Try this: https://cocoacasts.com/how-to-add-app-transport-security-exception-domains
@deamul1sk
Try this: https://cocoacasts.com/how-to-add-app-transport-security-exception-domains
@baller784
What do i do with this, please, I'm not a Swift programmer
@baller784
I don't know if i got it right. I have followed the instructions that you have shown. I have configured this code to info.plist file (
And the result is still the same
@deamul1sk
If I understood it right, you created a new info.plist
. If so, that's not right. There is an Info.plist
already. Here it is:
In Xcode, just right click on the Info.plist
-> Open As -> Source Code. Find the line with NSAppTransportSecurity
key (Line 36). Try to add there:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>192.168.11.196</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
@baller784
I got this error when i named Info.plist:
so, i changed it to info.plist. I wonder if i did it right?
If i'm right, i have configured according to your lines .... And the result is still the same
Thanks for your enthusiasm, I don't know how to do it anymore
@deamul1sk
Try to remove reference to info.plist
from Xcode and add it again to the project.
info.plist
-> Delete -> Remove ReferenceInfo.plist
-> Add1.
2.
3.
4.
@baller784
I tried downloading the new source code on git and rebuild.
Steps to reproduce:
I'm sorry but can you help me rebuild on your computer?
@deamul1sk
There is no problem with the source code or the project configuration. The problem is, that you somehow missed the Info.plist
file. Please tap on the Supporting Files
and open it in Finder.
You should see it both in the Xcode and inside the root of the project.
Then, only when you have it both in the project and in the root, try next:
info.plist
inside the search barInfo.plist
is properly set to the location/file name. It should be exactly the same as on the screenshot. Authenticator/Supporting Files/info.plist
@baller784
really thank you when i got to Info.plist but the result is still error.
I know you tried a lot already but what shout i do next :((
@baller784
Thank you very much, I'm fixing this issue through a trusted cert.
Summary:
I'm having a certificate related error.
Steps to reproduce:
Actual behavior:
`I know my certificate is not trusted. So do you have a solution temporarily disable certificate authentication to go? And can you show me the code to process the certificate check in the Authenticator project source. I really want to know'
Looking forward to your early reply. Thanks, Deam