UI/Chart under Xcode 7 Beta 3

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    May 2015

    Posted 20 Jul 2015 Link to this post

    Is this supposed to work? I can't seem to get anywhere. I installed the TelerikUI.pkg yet it does not show up under the "available Frameworks" so I added it manually. I'm using Swift, and no location of/permutation of a bridging header is found/properly processed to allow the code to develop. 



  2. Yoanna
    Yoanna avatar
    44 posts

    Posted 23 Jul 2015 Link to this post

    Hi, David, 

    thank you for contacting the iOS team.

    It seems like this is an issue with Xcode 7 beta version where the search path for manually added frameworks is missing. The solution is to add the search path by following the steps:
    1) go to Build Settings->Framework Search Paths and add the path to the framework.

    2) you need to create a bridging header by right clicking on your project->New File... -> choose Source under iOS -> choose Objective-C File and by clicking Next Xcode should ask you weather you want it to create a bridging header for you. Click YES and add #import <TelerikUI/TelerikUI.h> in this file.

    In case Xcode doesn't want to create a bridging header you could do it manually in two easy steps:
    1) Add a header file to your project and name it [ProjectName]-Bridging-Header.h. This will be the file where you do your #import statements. 

    2) In your project Build Settings, find Swift Compiler - Code Generation, and next to Objective-C Bridging header add the path to your bridging header from the project's root folder.

    This should resolve the issue.
    If you need further assistance do not hesitate to contact us.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top