TICoreDataSync - Compile issues, missing libTICoreDataSync.a - xcode

I have checked out and compiled the icloud branch, added all the appropriate delegate methods to me app. But whenever i try to build the project i get the following error:
clang: error: no such file or directory: '/Users/garethjeanne/Library/Developer/Xcode/DerivedData/Twitter_Translator-dhtkltxgqksalpcmkahykmmchszt/Build/Products/Debug/libTICoreDataSync.a'
When i look within the TICoreDataSync.xcodeproj i can see that the file is not built and is showing in red.
I've obviously missed something, thought the instructions seem a little out of date.
Help greatly appreciated.
Thanks
Gareth

This was an issue with the source from github, now resolved.

Related

React Native Production Build Error ('Build input file cannot be found: {path}ExpoModulesProvider.swift')

So I finished a React Native project and trying to get it into production mode. However, XCode is throwing me this error saying that it cannot find ExpoModulesProvider.swift
Here is the full error,
I have been trying to solve this error the past 2-3 hours. I searched everywhere however, I could't find anything related to this error. Even StackOverFlow doesn't have it.
Thank you
I had the same issue and in my case I solved it by removing the ExpoModulesProvider.swift source from Compile Sources

RCTFont.h file not found

Trying to run the simulator on xCode version 10.1 and this error is appearing. Error
The error also appears here Code segment
I am unsure as to find and link this file, or even create it. Any help on this problem would be greatly appreciated.

build fails on Xcode due the one signal library

I have been trying this for few days now but still I had no luck building it successfully.
The error I get is:'React/RCTAnimationType.h' file not found
I have already added into header search path this $(SRCROOT)/../node_modules/react-native-onesignal/ios and made it recursive.
Do I need to run pod install or anything like that? If anyone would help me on this I would really appreciate it!

iOS Library not found for -lidn (Including xmppframework)

I'm trying to include the xmppframework in my xcode project however I've come to a problem. I get the following error when trying to compile:
Path 'Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/usr/lib/lixml2.dylib following -F not a directory
Library not found for -lidn
I have followed the instructions to setup xmppframework from here and followed these instructions to make sure all the paths are correct, however I'm still getting the error.
I've checked the file path and it's definitely there..
Is there any other reason for this error? Many thanks
Finally fixed it after 3 days..
My advice to anyone else coming across this problem is to load up one of the example projects and compare the build settings on each! Ended up that my Library Search Paths was wrong.

OBJECTIVEFLICKR: systemconfiguration.h not found

I'm implementing ObjectiveFlickr into my project and I'm very VERY new to all of this (C language and Xcode included).
I managed to fix a few compile errors and I'm down to this one that just popped up after I added some supporting files to get rid of the other errors:
systemconfiguration/systemconfiguration.h file not found
I have no idea what this means and have done much searching online before posting here, but the only resolution to another poster's issue was to re-install Xcode. I'm sort of doubting that will solve this problem as I've had no issue with Xcode up until this error.
Can anyone spare a tip or two in layman's terms to help me get past this? I've been searching for 24 hours and the only link to the Apple Developer forums isn't working, go figure.
Any help is appreciated. Thanks in advance.
XCode can be very picky about where to look at in terms of header files.
If you got yourself a .framework folder, then click in your project, choose "Build Settings", then look for one called "Header Search Paths". Put the framework's path in there, and change the box on the right from "non-recursive" to "recursive". This should get the build going, and works for almost all third-party libraries.
If, on the other hand, you're trying to compile the library with your app, double-check to see if you didn't forgot to include some file in your XCode project, or if it is not marked for compilation in the project settings (.h files do not count, but maybe the source of your problem are some extra .c or .m that shouldn't be there).
If all else fails, since XCode projects compile into a "flat" directory tree, you could try removing the folder indicator from the #include: from "systemconfiguration/systemconfiguration.h" to "systemconfiguration.h", from the files where the .h is called. This worked in some cases of mine.
There is a framework in iOS called "Systemconfiguration.framework". Add it may help a lot.
Hope this may help you.
I had blanks for some reason in my code around the header decaration
#import < SystemConfiguration/SystemConfiguration.h >
I removed them and it worked.

Resources