Xcode 5 Framework/Library Search Path Absolute Address

妖精的绣舞 提交于 2019-11-28 20:12:50

Here's what i did:
$(SRCROOT)/"subfolder"/"subfolder"/"framework"
This is what we're using before in previous Xcode versions. The reason why it wasn't working with Xcode5 is because; for some reason, whenever you add another framework to your project, it automatically adds a "\" so you need to remove those to make it work. I don't know why it does that.

I was able to solve the same problem with the latest Xcode (v5.1), add this to the Library Search Paths in Build Settings and make sure you select recursive, delete other library paths which might be absolute paths.

$(PROJECT_DIR)                     recursive

The best way to add in a folder full of files, when you drag it into your project, is to make certain the "Copy Items Into Destination Folder" checkbox is checked to on.

Then you'll avoid the trouble you've just found yourself in.

Gautam Jain

Like I mentioned in this answer:

Well I faced the same issue and $(SRCROOT) didn't help. Here's the fix that worked for me. Go to framework search paths. Delete whatever is there and add ./ and make it recursive.

Copied and pasted ~/Library/SDKs/ArcGIS/iOS/ArcGIS.framework directly into /Developer/Frameworks.

App still isn't compiling, but I think this solved my issue here.

1- Add $(SRCROOT) in Framework Search Paths and make it recursive.

2- If the previous step is not worked, go to Copy Bundle Resources and delete ArcGIS.bundle and then add it again.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!