Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #5

Open
moh1122 opened this issue Oct 14, 2015 · 7 comments
Open

error #5

moh1122 opened this issue Oct 14, 2015 · 7 comments

Comments

@moh1122
Copy link

moh1122 commented Oct 14, 2015

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

@saagarjha
Copy link
Owner

This should print out the error in the console. Do you get any output?

@moh1122
Copy link
Author

moh1122 commented Oct 15, 2015

no output at all ?

@saagarjha
Copy link
Owner

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?

@moh1122
Copy link
Author

moh1122 commented Oct 16, 2015

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)

@moh1122
Copy link
Author

moh1122 commented Oct 16, 2015

i have iphone 6 with ios 9.0.1

@saagarjha
Copy link
Owner

Can you try installing OpenAdblock, and reinstalling? If that fails, you may have an old copy of OpenAdblock, try downloading a new one.

@moh1122
Copy link
Author

moh1122 commented Oct 17, 2015

ok i will b doing tht,
does it work on the simulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants