theos icon indicating copy to clipboard operation
theos copied to clipboard

Could not build module 'UIKit'

Open mtshare opened this issue 10 years ago • 3 comments
trafficstars

Hi, any suggestions on why i get this error while compiling my tweak?

In file included from <built-in>:345:
In file included from <command line>:4:
/Users/marcocristalli-imac/Desktop/asupdatehider/theos/Prefix.pch:22:12: fatal error: could not build module 'UIKit'
                        @import UIKit;

mtshare avatar Nov 01 '15 21:11 mtshare

I also notice that i get the error when i compile a file inside a sub directory:

Makefile: ASUpdateHider_FILES += library/UIDevice+Hardware.m

Error: error: error opening '/Users/marcocristalli-imac/Desktop/asupdatehider/.theos/obj/debug/arm64/library/UIDevice+Hardware.m.b25e69e3.md': No such file or directory 1 error generated.

mtshare avatar Nov 01 '15 22:11 mtshare

I missed this in my inbox, sorry. These are non-fatal errors related to makedeps which I'm still working on resolving issues with. Most likely you aren't using makedeps and can ignore them. (If you reference any of your headers in your makefiles as a rule, then the issue is more important.)

Thanks for reporting that second issue, wasn't aware of that.

kirb avatar Nov 04 '15 13:11 kirb

Hi @kirb i'm still getting (non-fatal) errors when i compile files inside a sub directory. Did you looked at that?

Here the error: error: error opening '/Users/marcocristalli-imac/Desktop/appshape/.theos/obj/debug/armv7s/library/STHTTPRequest.m.6fd147b5.md': No such file or directory 1 warning and 1 error generated. error: error opening '/Users/marcocristalli-imac/Desktop/appshape/.theos/obj/debug/armv7s/library/MBProgressHUD.m.6fd147b5.md': No such file or directory 1 error generated.

mtshare avatar Nov 15 '15 11:11 mtshare