I'm trying to build an app using the xcodebuild command.
I'm using this commmand xcodebuild -project appNameWithExtension -target name -sdk iphoneos -configuration Release"
I have a framework added to my app and when I try to build with xcode there are no problems but when I try to use my xcodebuild command I get this error
/path/appname-Prefix.pch:16:13: fatal error: 'frameworkname/frameworkname.h' file not found
It's pointing to this line of code in my Prefix.pch file
#import <frameworkname/frameworkname.h>
Does anyone know a way to make the xcodebuild commmand find the framework, because it seems like I'm missing something in the command to tell it where to find the framework. I can build with xcode, but I can't build from commandline, so I'm probably missing something?
Any help would be much appreciated :)