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: error: Build input file cannot be found: '/Users/kurt/GitHub/rem/rem/SettingsManager.swift'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'rem' from project 'rem') #2

Closed
kurtseifried opened this issue Dec 28, 2023 · 5 comments

Comments

@kurtseifried
Copy link

Steps to reproduce:

  1. Install Xcode on a Mac M1
  2. Add GitHub account
  3. Add Apple account and enable signing for personal team; let Xcode manage it
  4. Fork rem repo (kurtseifried/rem)
  5. Open project, clone git repo kurtseifried/rem
  6. Import SQLite from https://github.com/stephencelis/SQLite.swift
  7. Clean build folder to be on the safe side
  8. Hit build, get error:

error: Build input file cannot be found: '/Users/kurt/GitHub/rem/rem/SettingsManager.swift'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'rem' from project 'rem')

Am I missing something obvious here?

@jasonjmcghee
Copy link
Owner

jasonjmcghee commented Dec 28, 2023

@kurtseifried - sorry... tried to get that settings feature in too quickly. should be fixed. please pull latest

@jasonjmcghee
Copy link
Owner

Marking as fixed... let me know if it doesn't work after that.

@kurtseifried
Copy link
Author

This part works but now I'm getting a consistent SQLite error (which it wasn't doing before, weird).

swift xcode /Users/kurt/GitHub/rem/rem.xcodeproj This Copy Files build phase contains a reference to a missing file 'SQLite.framework'.

@kurtseifried
Copy link
Author

Oh I appear to have broken my code signing again. nevermind.

@jasonjmcghee
Copy link
Owner

Do feel free to open a PR and improve my shoddy instructions! Apologies for not including any and all key steps

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