I want to integrate card.oi iOS source into my app but i am facing this error on very start. i have just downloaded card.io source From Github (card.io-iOS-source) I am running Xcode 7.2.
Error Message
card.io-iOS-source-master/Classes/CardIOPaymentViewController.m:18:9: fatal error: 'warp.h' file not found
#import "warp.h"
^
1 error generated.
What i am doing wrong?
OR
its framework missing file?
Should i use POD file for adding dependencies?
any one face the same problem?
Related
I have a flutter project that I can build IPA (flutter build ipa).
However, I could never build using flutter build ios or flutter run.
(running from Android Studio or Xcode resulted in the same error)
It always gave out the following error:
/project/ios/Runner/Runner-Bridging-Header.h:1:9: note: in file included
from /project/ios/Runner/Runner-Bridging-Header.h:1:
#import "GeneratedPluginRegistrant.h"
^
/project/ios/Runner/GeneratedPluginRegistrant.h:10:9: error:
'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^
1 error generated.
<unknown>:0: error: failed to emit precompiled header
This prevented me from debugging it in Simulator.
I have looked around and tried solutions involving deleting Flutter.podspec and pod update/install but none of them seemed to work.
Could someone point me in the right direction?
I am especially puzzled by the fact that I am able to build IPA without any problem.
I'm trying to build a simple app in Xcode however I'm getting this error saying build failed
:0: error: PCH was compiled with module cache path '/Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/5JW54F8EE7JD', but the path is currently '/Users/Neil/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/5JW54F8EE7JD'
:0: error: missing required module 'SwiftShims'
what can I do to solve it?
You can try delete derived data of your app and then clean and build app, you can follow the steps of the following link https://programmingwithswift.com/delete-derived-data-xcode/. Also, you can follow this link Fixing Xcode
I am doing the teamcity configuration for React Native IOS project and have completed the configuration partially. I am stuck with the below error
[CompileC]
/Users/developer/Downloads/TeamCity/buildAgent/
work/604db77ecbb3cbg9/ios/SampleApp/AppDelegate.m:2:9:
fatal error: 'React/RCTBundleURLProvider.h' file not found
[16:56:50][CompileC] #import <React/RCTBundleURLProvider.h>
[16:56:50][CompileC] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16:56:50][CompileC] 1 error generated.
The app works fine independetly when we run in xcode or through terminal with react native comman but fails while doing the build in team city. Please let me know if anyone have faced this issue and resolved it. Would appreciate the help.
Thanks in advance
I started getting this error only after upgrading from Xcode 8.2 to Xcode 8.3, and only when making an archive build (debug builds work fine).
When I do the archive via Xcode, the only message I get is "Linker command failed with exit code 1 (use -v to see invocation).
I build with the command line xcodebuild -scheme MyProduct
When I built this way, I found a number of issues (again, only when doing Archive):
I had to add import UIKit to practically every swift file.
all the pods had issues
remove everything from app-Bridging-Header.h
add a few things back into app-Bridging-Header.h
My current issue is with the AWS pod, using version 2.5.3
So my app-Bridging-Header.h has #import <AWSS3/AWSS3.h>
Here is the error from the command line build:
error: 'AWSS3/AWSS3.h' file not found with <angled> include; use "quotes" instead
#import <AWSS3/AWSS3.h>
^
The error log continues after that. I also tried the crazy suggestion of switch in the import to "AWSS3/AWSS3.h"...that didn't work either.
What is going on?
More INFO
This really appears to be an issue with one of my pods. I built a new solution, imported a subset of my pods and everything built. Then when I updated with the full list of pods it broke.
For me it is coming due to Bitcode enable in my project and i have used a custom framework with disabled bitcode.
Two things you can do :
Either disable bitcode in your project
OR
Build framework with bitcode enable
NOTE: If you click on error and it doesn't show anything then right click on error and select Reveal in Log. You will get error for this issue
At long last I was able to figure out this was a pod issue...just had to figure out which one it was.
I created a brand new project and started adding my pods in one by one (actually, 3 by 3...one by one would have taken too long).
Conclusion: localytics 4.3.1 has a bug in it somewhere. I downgraded to 4.3.0 and the problem went away.
I got a problem like this. My suggestion is that you should remove the version of 8.3 and download any old version from this link: https://developer.apple.com/download/more/
I hope that it will work.
I have a swift project, in which I have referenced SDWebImage via CocoaPods v0.36.0.beta.2. My project targets ios 8.0+, and my Podfile declares platform :ios, '8.0'.
However, when I hit a breakpoint in my application and attempt to execute any po command in the lldb console, I get the following error:
error: Error in auto-import:
failed to get module 'AutomationTests' from AST context:
/Users/me/Library/Developer/Xcode/DerivedData/MyProject-ecinfzhnelbxxegrpzcpwnezmvot/Build/Products/QA-iphonesimulator/Pods/SDWebImage.framework/Headers/Pods-SDWebImage-umbrella.h:4:9: note: in file included from /Users/me/Library/Developer/Xcode/DerivedData/MyProject-ecinfzhnelbxxegrpzcpwnezmvot/Build/Products/QA-iphonesimulator/Pods/SDWebImage.framework/Headers/Pods-SDWebImage-umbrella.h:4:
#import "SDImageCache.h"
^
/Users/me/Library/Developer/Xcode/DerivedData/MyProject-ecinfzhnelbxxegrpzcpwnezmvot/Build/Products/QA-iphonesimulator/Pods/SDWebImage.framework/Headers/SDImageCache.h:10:9: note: in file included from /Users/me/Library/Developer/Xcode/DerivedData/MyProject-ecinfzhnelbxxegrpzcpwnezmvot/Build/Products/QA-iphonesimulator/Pods/SDWebImage.framework/Headers/SDImageCache.h:10:
#import "SDWebImageCompat.h"
^
/Users/me/Library/Developer/Xcode/DerivedData/MyProject-ecinfzhnelbxxegrpzcpwnezmvot/Build/Products/QA-iphonesimulator/Pods/SDWebImage.framework/Headers/SDWebImageCompat.h:17:2: error: SDWebImage doesn't support Deployement Target version < 5.0
#error SDWebImage doesn't support Deployement Target version < 5.0
^
could not build Objective-C module 'SDWebImage'A fatal parse error has occurred. LLDB may become unstable; please restart your debug session as soon as possible.
How can I convince SDWebImageCompat.h that I'm targeting a version higher than 5.0?
It's a little late but just ran into this issue with a library I added through cocoapods. I solved it by searching the project for "IPHONEOS_DEPLOYMENT_TARGET" and saw that my sdwebimage was compiling at 4.3 for some reason. Changing this got it to work for me.
Hope it helps someone!