Error: IOSurface.h not found - ios

xcode still give me error when i try to import IOSurface.
I've tried all possibilities, import framework, link framework on project but xcode still give me error.
Anyone know why?
Thanks to all for any answer

Related

How can I fix this build time error appearing in Xcode 11.3.1 - Command CompileSwiftSources failed with a nonzero exit code

Hello guys I'm pretty new to Swift and Xcode. I followed this tutorial https://enlight.nyc/projects/weather-mobile-app/
in order to create a simple weatherApp.
but I encountered this error when I tried to build and run my project. I found some solutions here on Stack Overflow, tried all of them and haven't been able to fix this since.
Here is the Github link containing the actual project.
https://github.com/blackfly972/WeatherApp
Thanks in advance for your help.screenshot
The problem is you have two ViewController.swift files in your project. Delete the one that has no code in it (or very little code, rather).
Note that after doing that, you're going to get a ton of errors because you're not importing UIKit in several places that you should be. To fix those, just add:
import UIKit
to the top of these files:
ForecastCell.swift
HourlyCell.swift
ForecastViewController.swift
ViewController.swift (the one you didn't delete)
ImageViewExtension.swift

How to fix "No such module 'FirebaseDatabaseUI'" in Swift 4?

I installed FirebaseDatabaseUI via Cocoapods, closed the .xcodeproj then opened the .xcodeworkspace, but whenever I try to import it within my code, it keeps saying No such module 'FirebaseDatabaseUI'
Supposing it might be a dependency issue, I decided to install the FirebaseUI full bundle by pod 'FirebaseUI', but achieved no success at all. As can be seen in the screenshot I took of my code, FirebaseDatabaseUI is the only FirebaseUI library in which is occurring the issue.
Can someone tell me what might be wrong?
Actually, all subspec like Database, Firestore, Auth... is implicitly belong to FirebaseUI. You saw only FirebaseDatabaseUI get error warning because you put it in the first place, if you put other FirebaseXYZUI to the first place, it will also display that error.
To fix the error, simply import FirebaseUI and remove all other FirebaseXYZUI.
Hope this helps.

UI controls not getting recognized in Swift Playgrounds

I am trying to declare some UI controls in Swift playground but the playground is throwing a error as invalid object.
I think none of the UIKit elements are getting recognized. And I have tried creating a new project and adding the playground file but even this did not work out. The xcode version being used is 6.4.
I have already gone through these(links),
link1 and link2
but didn't really help me to solve this issue.
Can anyone help me out to solve the problem?
Thanks in advance :)

JNWSpringAnimation Framework for iOS (Compile Errors)

I followed the instructions that came with the framework at the github repository. But I got an error when I tried to compile all stemming from the NSValue+JNWAdditions files. The example project that comes with the code is meant to run in Mac OS X and not iOS. What am I missing here when trying to use this framework for an iOS app? For giggles I removed the aforementioned files and was able to compile but got a runtime error, I guess not surprising. I'm fairly new to this stuff and just want to play with animation and springs :(
GitHub repository:
https://github.com/jwilling/JNWSpringAnimation
Help!
Ah. Got it. For any fellow newbs out there: I had to import UIKit into the header file of NSValue+JNWAdditions.h. This got rid of all the "Expected a type" errors! Makes sense to me now and I have no idea why this took me so long to figure out.
Womp womp

xcode 6.01 Mach - O linker error

Hi I have been trying to solve this problem for the past 2 days...
I am using the aubio.framework for an app I am trying to build and I keep getting the errors below
I tried all of the solutions I have found on SO but nothing worked. The aubio.framework seems to be linked correctly and no other frameworks are linked (started a new project)
Please help me!
I just had the same problem, you have to add following frameworks:
Accelerate.framework
AudioToolbox.framework
It seems that aubio doesn't work without it.

Resources