compilation error in Integrating apple video kit - ios

I have integrating Apple purchased videokit in a separate project and it was working fine, but when I am integrating in am old project which already have lot of stuff then it is throwing an error while compiling.
The error is: Image
import "VKPlayerViewController.h"
import "VKDecodeManager.h"
import "VKPlayerController.h"
While importing these headers in my bridging header file it is giving the following error:
Failed to import bridging header '/Users/iOS2/.../SVN/../my-Bridging-Header.h'
I have also integrated 3rd party sdk Linphone before integrating ios videokit in my project. The problem could be due to multiple header paths for both the sdks which i'm not able to find out.
Please help!

Related

Build error after removing Bridging Header from Xcode project

I'm trying to integrate my project from Google Analytics to Firebase Analytics. I was using Google Analytics SDK installed with Cococapods. After I do below steps;
Remove 'GoogleAnalytics' from Pod file
Run 'pod install'
Remove bridging header file from the project
Remove bridging header from build settings
I got build error with like average 300 error. Like
Value of type 'CATransition' has no member 'fadeTransition'
I can successfully build when not uninstall Google Analytics SDK so there is no problem with my code. What can cause this problem?
EDIT: I found that deleting bridging header causes the problem, not the Google Analytics SDK.
I found that most of my classes doesn't have import UIKit and somehow, when project has objective-c header, It doesn't need it. However, after I delete it, all of these classes need it. Therefore, implementing
import UIKit
fixed my problem.

How to import native iOS framework in Kony IDE

Im trying to integrate an iOS framework in Kony. I've tried to follow the documentation to import a native framework using the Manage Native Function API(s) menu, however I get the following error: "Error while importing framework .zip extract error: undefined".
Any help is appreciated. Thanks!
I haven't imported for iOS. But below are the steps to import or add a native framework to the project.
We are using Kony Visualizer Enterprise 7.3. Please find the steps below.
Goto Edit -> Manage Native Function
Select Import option under IOS tab
Select the valid .zip IOS framework file which you need to import.
If you are getting error, please double check if the file is the right/valid one. Try to import any other framework zip to verify if it is working.
Alternative if you want to use existing one, please select Add
Hope this helps. Thanks.

Swift import got error "Could not build objective-C module 'Twitter'" while including a framework

I was taking the iTunesU course CS193P Lecture9.
I got this error while trying to import the framework.
I've already turn on "Allow Non-modular Includes In Framework Modules"
The "Twitter" framework was built successfully and already added in the "SmashTag"'s Linked Frameworks and Libraries.
navigator
Does any one have some clue for this? Xcode version 8.1 and Swift 3.0
Thank you.
You need to convert the code to swfit 3 and rebuild the Twitter framework in
the same workspace.
The answer here described how to convert the code.
Smashtag (Stanford CS193p Twitter client) not loading on iPhone

Error in Mapbox : Only factory methods can have the 'swift_name' attribute

I am integrating the Mapbox iOS SDK using pod. I am following the instruction to integrate the SDK from its developer site.
But the problem is after installing the pod While tryingt to build, I can see the error as
Only factory methods can have the 'swift_name' attribute
And I am not able to import the header file Mapbox.h
I have also downloaded the demo project provided in the Github, but that was also giving same error.
For now I have commented the methods those are throwing error and now my project runs successfully. But that is not the solution. So hope some one can put some light so as to resolve the issue.
NB : My Xcode version is 7.1 and language is Objective C.

installing AWS ios sdk in swift project

I'm trying to add the AWS SDK to my xcode project that is written in swift.
I followed these steps: http://mobile.awsblog.com/post/Tx2AA7ZHB1FK0G1/Version-2-of-the-AWS-SDK-for-iOS-Developer-Preview to create a Bridge-Header file, and add the SDK itself to my project.
The problem is that when I try to build the app I get an error now... the Bridge Header cannot be imported because one of the files in the AWS SDK (AWSModel.h) has an error. This file tries to import Mantle/Mantle.h, and the error reads "Mantle/Mantle.h file not found"
do I need to add this file to my project as well? If so, how would I go about doing that? The only frameworks I'm using are Facebook SDK, and I would like to add AWS as well.
There is a working sample app on GitHub. You should follow README and see if you can compile the app. It should help you understand how to set up the project.

Resources