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

Build error - missing .csv file #2

Open
aavin opened this issue Jul 11, 2015 · 3 comments
Open

Build error - missing .csv file #2

aavin opened this issue Jul 11, 2015 · 3 comments

Comments

@aavin
Copy link

aavin commented Jul 11, 2015

Just out of curiosity I was trying to compile this app and got the following error, the build process
complains about four missing files.

rock_road-sunday.csv 
arch_lacledes-saturday.csv
8th_pine-sunday.csv
sunnen-saturday.csv

The exact error is,

CpResource /Users/Data/metrolinkData/gen/rock_road-sunday.csv /Users/aramu/Library/Developer/Xcode/DerivedData/NextMetroSTL-fogmqglumjhteuexvvcignzesvdy/Build/Products/Debug-iphonesimulator/NextMetroSTL.app/rock_road-sunday.csv
    cd /Users/aramu/src/metrolink-stl-ios
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/Data/metrolinkData/gen/rock_road-sunday.csv /Users/aramu/Library/Developer/Xcode/DerivedData/NextMetroSTL-fogmqglumjhteuexvvcignzesvdy/Build/Products/Debug-iphonesimulator/NextMetroSTL.app

I am using Xcode version6.2, my build SDKs are ios6 and ios8.2

Is this an expected error?

I also see a bunch of warnings but these look like updates to libraries that the code is using and might be ok to ignore for now?

Thanks a lot,
Aavin

@mpmenne
Copy link
Owner

mpmenne commented Jul 13, 2015

Hey @aavin , it's taken me a second to remember how everything works.

Once it is all loaded into the sqlite database, a CSV of stop times for each station is generated. Those CSV's are included as Supporting Files and actually serve as the datasource for the app. Since the weekend schedule is different than the weekday schedule each station requires two CSVs.

I'm about half way through scripting this whole process out, so it will be easier next time we want to update things. :-)

@mpmenne
Copy link
Owner

mpmenne commented Jul 21, 2015

Hey @aavin . Sorry for the slow turnaround on this.

I have the data generation all scripted out in the metrolink-stl-data project. It should be pretty easy to generate a new sqlite database and the subsequent CSV files that are used within the app.

I'm going to update the app repo tomorrow with the new CSVs and submit it to the app store for testing.

Thanks for your patience!

@aavin
Copy link
Author

aavin commented Jul 26, 2015

Hi @MoMenne, my turn to apologize for the slow response, I've been out of town. This is really awesome, thanks a lot for scripting this out, I'll try and run these scripts on the CSV file. Please feel free to resolve these issues! Looking forward to the new release 👏

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