"frank build" error when my xcodeproj has another project

52 views
Skip to first unread message

Ablution Mitbbs

unread,
May 20, 2013, 7:31:02 PM5/20/13
to frank-...@googlegroups.com
Hi Pete,

My project has another project in it. In Xcode there is another xcodeproj file in my project.
When I run "frank build" the build failes. The error message is something like this

In file included from /path/to/file/SomeViewController.m:8:/path/to/file/SomeViewController.h:9:8: fatal error: 'MyView.h' file not found
#import "MyView.h"

1 error generated.
.
.
.
**BUILD FAILED**

I think it it because "MyView.h" is from the other project that is in my projecct. How should I correct this?

Thanks.

a.b.

Stewart Gleadow

unread,
May 22, 2013, 1:16:14 AM5/22/13
to frank-...@googlegroups.com
It sounds like there might be an issue with the header search paths in your Xcode build settings. Frank does try to inject a couple of Xcode build settings. Check out HEADER_SEARCH_PATHS and USER_HEADER_SEARCH_PATHS (to show the raw values, use the Editor menu and toggle between Show Setting Titles and Show Setting Names). If they are being overridden, maybe it's missing a $(inherited).

Alternatively, Xcode does get stuck sometimes with precompile stuff. If that's the problem, then the usual delete DerivedData, restart Xcode and that song and dance are required.

cheers,
Stew


--
You received this message because you are subscribed to the Google Groups "Frank" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frank-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Message has been deleted

Ablution Mitbbs

unread,
May 22, 2013, 5:58:13 PM5/22/13
to frank-...@googlegroups.com
$(inherited) is still here
and delete derived data and restart did not do the trick :)

Still thanks.

a.b.

Ablution Mitbbs

unread,
May 23, 2013, 2:13:30 AM5/23/13
to frank-...@googlegroups.com
is it still possible to manually make the frankified target manually like before?
That wiki page is missing.

Stewart Gleadow

unread,
May 28, 2013, 7:44:13 PM5/28/13
to frank-...@googlegroups.com
You can still create a duplicate target and manually link the libFrank.a (and other dependent static libraries). That way you can build the Frank target from within Xcode.

It looks like an issue with HEADER_SEARCH_PATHS and/or USER_HEADER_SEARCH_PATHS. Is there a stripped down version you could put on github to have a look at?

Right where you get the failure finding MyView.h, xcodebuild will have output a massive line of code with all the compiler flags. If you look at the list of header directories to have a look at, you might see if it's missing the path to MyView.h (and compare with running xcodebuild without Frank enabled).

- Stew
Reply all
Reply to author
Forward
0 new messages