Our project uses IG/IG.h for the GridView. In the past, building the project might fail and all it took was moving the IG.framework library reference around on the General project settings tab and it would build.
After upgrading to the latest OS X and XCode versions, that trick doesn't work any more. Nor does dropping the framework and readding it. Nor does copying the directory and trying to reference that version. I've tried Cleaning the project multiple times; exiting XCode and getting back in, etc.
We're using NUCLIOS 2014 Volume 1. If possible, we'd like to stay with the same version and not have to include a new/upgraded library which would force us into a full regression test phase for the project which hasn't changed otherwise. We do need to make sure our app works on iOS 9 devices, hence the need to build to a clean iPad device.
Hi Bruce,
Even though the IG.framework for 14.1 is older, it should still work.
Have you checked the "Framework Search Paths' listed under Build settings of your project? My first guess is that perhaps Xcode isn't updating that path. It was an issue that i ran into with the earlier builds of Xcode 7, and perhaps it was never fixed by Apple.
You'll want to make sure you delete all the invalid paths, and then update it to point to the path of your IG.framework.
-SteveZ
Yes, I have cleaned out the search paths. For some reason, there were many copies of the same search path. Now, all I have is "$(inherited) $(DEVELOPER_FRAMEWORKS_DIR) /Developer/Infragistics/NUCLiOS 2014 Volume 1/Framework". Directly under that path is the IG.framework. Nothing has changed otherwise.
That seems to be a relative path, which i believe is in the Xcode contents folder. Did you reinstall Nuclios after you installed Xcode? Because if you'd didn't that path wouldn't be correct and since that version of Nuclios is so old, it might not even be installing into the correct path anymore.
Can you try pointing to an absolute path of the IG.framework and see if that works?
The "/Developer/Infragistics/NUCLiOS 2014 Volume 1/Framework" is right off of the root of my hard disk. I'm not sure how I can get more explicit than that. I'm not sure about the first part of the path settings; I'm guessing that's Xcode based. I suppose if all else fails, I can try reinstalling it. Please let me know what you think of my latest post with the attachment. I really appreciate this help!
Ah sorry, at first i read that path as including the inherited and developer frameworks.
You could try bumping that path up to the first slot though, and see if that makes a difference
As for your project, it looks like you've added the IG.framework a lot. (See the screenshot attached)
It also looks like you've included the whole installed package of Nuclios, including the help topics and the samples browser! I would remove that Developer folder from under neath the frameworks, and also pull all the IG.framework references and re- add just the one under the path you mentioned above.
One other thing to try.
Can you try creating a new project, and add a reference to IG.framework, and don't forget to import it the ViewController and create a reference to the IGGridView.
See if that project builds for you. This could help identify if it's an issue specific to your project, or something bigger.
Thanks,
We were able to resolve the issue by setting the search path to simply /Developer. Also, we had to turn off the Bit compiling option that was default on in this latest version of XCode. It can compile now. Of course we have a different issue (SSL related) that's at least not XCode/IG related.
Perhaps in the future we might go down the clean-up path you suggested. Although, one thing I don't know from your reply is where/how exactly did you get that folder-type screen shot showing the different frameworks? That proj file I sent is fairly massive and complex.
Thanks for the help.