You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is recommended that 3rd party frameworks are added to the "files" section rather than the "frameworks" section. Are entries in the files section handled differently to those in the frameworks section?
When I add my 3rd party frameworks to the files section, the headers in those frameworks are not always found (ie I get "header not found" build errors). The errors seem to come from angle-bracket include lines, rather than quotes.
I had trouble adding accurate folder paths to the "headerpaths" section, so I just added a high level folder with recursion (using "**"). This fixed some of the issues (ie some of the headers were then found), but some were still not found. The frameworks which contain the headers which are still not found use symlinks in their folder structure (which I believe is common in frameworks). Is the use of symlinks a problem?
If, instead of adding the 3rd party frameworks to the files section, I add them to the "frameworks" section, and I copy the frameworks into a folder already on the system search paths (eg "/Applications/Xcode.app/Contents/Developer/Platforms//Developer/SDKs//System/Libraries/Frameworks", then the frameworks are found and there are no such "file not found" errors. I'd rather not take this approach, because I'd like the frameworks to be kept with the project code, rather than polluting the build machine.
Can anyone help me get this working correctly?
The frameworks that I'm using are Google open source, Google plus, Google play games and Tapjoy.
The text was updated successfully, but these errors were encountered:
From looking at the XUPorter scripts I can see that the frameworks and files sections are not handled significantly differently. Is it just to do with the location of the frameworks (ie system folders vs user folders), or something?
Hi
It is recommended that 3rd party frameworks are added to the "files" section rather than the "frameworks" section. Are entries in the files section handled differently to those in the frameworks section?
When I add my 3rd party frameworks to the files section, the headers in those frameworks are not always found (ie I get "header not found" build errors). The errors seem to come from angle-bracket include lines, rather than quotes.
I had trouble adding accurate folder paths to the "headerpaths" section, so I just added a high level folder with recursion (using "**"). This fixed some of the issues (ie some of the headers were then found), but some were still not found. The frameworks which contain the headers which are still not found use symlinks in their folder structure (which I believe is common in frameworks). Is the use of symlinks a problem?
If, instead of adding the 3rd party frameworks to the files section, I add them to the "frameworks" section, and I copy the frameworks into a folder already on the system search paths (eg "/Applications/Xcode.app/Contents/Developer/Platforms//Developer/SDKs//System/Libraries/Frameworks", then the frameworks are found and there are no such "file not found" errors. I'd rather not take this approach, because I'd like the frameworks to be kept with the project code, rather than polluting the build machine.
Can anyone help me get this working correctly?
The frameworks that I'm using are Google open source, Google plus, Google play games and Tapjoy.
The text was updated successfully, but these errors were encountered: