error
Hello after running it im getting an error in this line assertionFailure("Could not copy DefaultList: (error)")
its line 37 in adblocker.swift anyclue thank you
This should print out the error in the console. Do you get any output?
no output at all ?
I'm unable to reproduce this. Can you add a print(error) in the line above assertionFailure("Could not copy DefaultList: \(error)")? Also, what's your phone's model and iOS version?
fatal error: Could not copy DefaultList: Error Domain=NSCocoaErrorDomain Code=260 "The file “DefaultList.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/Apple/Library/Developer/CoreSimulator/Devices/8FE486CE-29AB-4EAB-878A-37D9CA4587EF/data/Containers/Bundle/Application/91D2E079-986E-44F7-96ED-8D3BDF59A74E/OpenAdBlock.app/DefaultList.json, NSUnderlyingError=0x7fd350d88370 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}: file /Users/Apple/Downloads/OpenAdblock-master/OpenAdBlock/OpenAdBlock/AdBlocker.swift, line 60 (lldb)
i have iphone 6 with ios 9.0.1
Can you try installing OpenAdblock, and reinstalling? If that fails, you may have an old copy of OpenAdblock, try downloading a new one.
ok i will b doing tht, does it work on the simulator