-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
iOS is rebuilding OF library repeatedly on each example #5895
Comments
Oh wow super weird. Yeah lets turn that off. |
@ofZach I have no idea what is causing the rebuild. It looks like it was a big issue in Xcode 8 and something Apple was dealing with with Swift. Things I have tried:
The only thing that comes close is to remove the OF project from the project dependency build phase and to uncheck Find Implicit Dependencies - but then it won't build the OF project if it needs to. I am going to double check that this doesn't happen with the macOS nightly. |
oh @ofZach I see that you actually have a solution in the body of your issue - haha :) Happy to take a stab |
…xing while building which means ios projects get rebuild every time.
Okay - once this PR is merged, it should be good to close this issue. |
Bugfix. iOS Rebuiling. Closes #5895 Added build flags to prevent in…
on xcode 9+ I'm seeing iOS have to rebuild OF on each new example you launch :(
taking a closer look at the build commands that are compiling OF, it seems that one of the commands in the build has the derived data (unique to each OF app) folder name in it:
"-index-store-path /Users/Zach/Library/Developer/Xcode/DerivedData/...."
which is why the rebuild seems to happen....
If I disable this feature on both OF library and projects this issue goes away, but I'm not 100% sure what this is feature is doing.
fixing this would significantly help iOS build times and developer sanity.
cc @ofTheo @danoli3
The text was updated successfully, but these errors were encountered: