Xcode 5 Framework/Library Search Path Absolute Address

后端 未结 7 1346
傲寒
傲寒 2020-12-14 06:32

I updated my Xcode to 5.0. I added some library/framework search paths and the path it\'s displaying is the absolute path. For example, if my folder is in my desktop it woul

相关标签:
7条回答
  • 2020-12-14 06:57

    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
    
    0 讨论(0)
  • 2020-12-14 07:00

    Happens when you have the same file name already.

    0 讨论(0)
  • 2020-12-14 07:07

    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.

    use that handy checkbox

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

    0 讨论(0)
  • 2020-12-14 07:17

    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.

    0 讨论(0)
  • 2020-12-14 07:17

    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.

    0 讨论(0)
  • 2020-12-14 07:20

    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.

    0 讨论(0)
提交回复
热议问题