This is a migrated thread and some comments may be shown as answers.

UI/Chart under Xcode 7 Beta 3

1 Answer 68 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 20 Jul 2015, 05:07 PM

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. 

 

dg

1 Answer, 1 is accepted

Sort by
0
Yoanna
Telerik team
answered on 23 Jul 2015, 01:12 PM
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.

Regards,
Yoanna
Telerik
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
Tags
Chart
Asked by
David
Top achievements
Rank 1
Answers by
Yoanna
Telerik team
Share this question
or