iOS Library not found for -lidn (Including xmppframework) - xcode

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.

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

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!

QuantLib installation fatal error C1083 boost/config.hpp & boost/test/unit_test.hpp

I know this issue has been discussed here before. But after I followed the suggestions and added the paths via Visual Studio, I'm still stuck:
In VS, I have:
Additional Include Directories: C:\local\boost_1_58_0
Additional Library Directories: C:\local\boost_1_58_0\libs
When I built QuantLib within VS, I could see C:\local\boost_1_58_0 is among the included paths. I can also see the valid config.hpp file in C:\local\boost_1_58_0\boost and unit_test.hpp in C:\local\boost_1_58_0\boost\test. Nevertheless I still got the C1083 error.
Have been stuck for 2+ days, I'm puzzled how to get around this. Any advice?
Thanks much in advance!
Follow the official instructions at http://quantlib.org/install/vc10.shtml. In VS 10 and beyond, include and library paths are set through the Property Manager. Steps 5 and 6 in the instructions linked above describe the procedure. You might want to exit and restart the IDE to make sure that the changes are saved.
For anyone else looking for the location of Property Manager and using VS2015 - I found it on the fourth tab at the bottom of the Solution Explorer pane, please see image attached. enter image description here

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.

How can I archive my cocoa framework

Sorry for my poor English first.I have a problem and I googled it and try to solve this problem the whole day.
The problem is I have a cocoa framework project, and It build succeeded and archive succeeded.
BUT when my project using this framework, it will show can't find the framework, image not found.
OK, I know the problem now, so I searched and find out #executable_path and #loader_path, to make the project using this framework will find the path easy.
But when I change install directory in Building Settings from the default value ~/Library/Framework to #executable_path/../Framework, my framework STILL could build success and archive success.But I can't find the archive file and archive window will not show.Xcode tells me below:
Check dependencies
Warning: Installation Directory starts with #executable_path but Skip Install is disabled.
TIPS:
When I set #executable_path, Xcode tells me "The skip install to YES", I can't do that, because when I set to YES, it won't archive for me.
How could I solve this problem? Or anything wrong in my project?
Thanks so much!
My code here https://github.com/GuoJing/DoubanAPICocoa
you need to use loader path to identify the framework path

Resources