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 init when trying to run the calendar #4

Closed
hadiyazdi opened this issue Apr 29, 2018 · 7 comments
Closed

error init when trying to run the calendar #4

hadiyazdi opened this issue Apr 29, 2018 · 7 comments

Comments

@hadiyazdi
Copy link

hadiyazdi commented Apr 29, 2018

Trying to run the calendar in my app gives error at this line

public required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
@Vodolazkyi
Copy link
Owner

Hi! Did you check calendar example ?

@hadiyazdi
Copy link
Author

yes I copied the code from the example

The example itself does not work, for some reason xcode gives error of missing files and points to files on your Desktop environment

<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VACalendar.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VACalendarMonthDelegate.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VACalendarView.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VADay.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VADayView.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VADotView.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAFormatters.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAMonth.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAMonthHeaderView.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAMonthView.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAWeek.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAWeekDaysView.swift'
<unknown>:0: error: no such file or directory: '/Users/vodolazkyi/Desktop/VACalendar/VACalendar/VAWeekView.swift'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

and this warning

The file “VACalendar.xcconfig” couldn’t be opened because there is no such file. (/Users/vodolazkyi/Desktop/VACalendar/Example/Pods/Target Support Files/VACalendar/VACalendar.xcconfig)

@Vodolazkyi
Copy link
Owner

Vodolazkyi commented Apr 30, 2018

I have fixed it. try to download it again, pod install and run

@hadiyazdi
Copy link
Author

I still get the same errors

Also, to make sure I am running the updated version, I redownloaded the repo manually and ran the workspace, and still get the same errors

@Vodolazkyi
Copy link
Owner

Did you install the pod ?

@hadiyazdi
Copy link
Author

yes

https://ibb.co/eF6Ddc

@Vodolazkyi
Copy link
Owner

try to clean your project and run again

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