I am new to Iphone Development.
I am using alljoyn framework .project is working fine but when i added admob libraries (followed this link ), it gives me error.
ld: warning: directory not found for option '-L"/Users/Maaz/Desktop/Alljoyn_sdk/alljoyn-3.4.3-osx_ios-sdk/alljoyn_objc/samples/iOS/AllJoynChat/../../../../alljoyn_core/build/darwin/arm/iphonesimulator/Debug/dist/cpp/lib"'
ld: warning: directory not found for option '-L"/Users/Maaz/Desktop/Alljoyn_sdk/openssl-1.0.1f/build/Debug-iphonesimulator"'
ld: warning: directory not found for option '-L"/Users/Maaz/Desktop/Alljoyn_sdk/alljoyn-3.4.3-osx_ios-sdk/alljoyn_objc/samples/iOS/AllJoynChat/../../../../alljoyn_core/build/darwin/i386/iphonesimulator/Debug/dist/cpp/lib"'
ld: library not found for -lalljoyn
clang: error: linker command failed with exit code 1 (use -v to see invocation)
anybody knows then plz help I will appreciate.
thanx,
moaz
Alljoyn darwin project does not have a config to build with i386. I think they are working on this.
Related
I wanted to test firebase initial app on Unity. I made a build from Unity in macOS and in Xcode project folder, I have runned the pod command successfully.
pod install
After this I opened Xcode project and I clicked to build button. Before this, I was getting framework not found error. I fixed it and now I am getting
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/FirebaseAuth'
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/FirebaseCore'
ld: warning: directory not found for option '-L/Users/aliavci/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/ali/Library/Developer/Xcode/DerivedData/Unity-iPhone-giljorflztrrychfchrkhcfbqtbh/Build/Products/ReleaseForRunning-iphoneos/nanopb'
ld: library not found for -lFirebaseAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have already added library pathes to library search path. I added some screenshots as attachments.
I solved the error by opening ".xcworkspace" file, instead of ".xcodeproj" file.
I have just received a rather large iOS Xcode Objective-C project from a friend and am currently trying to build and run the solution that was given to me on my own machine. When I go to run the code, I am given this error:
ld: warning: directory not found for option '-L/Users/huxdr/Library/Developer/Xcode/DerivedData/Presence-fwasplradhrerkdlyqnnnacvggws/Build/Products/Debug-iphonesimulator/Google-Maps-iOS-Utils'
ld: library not found for -lGoogle-Maps-iOS-Utils
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know what I should be adding/including in order for the project to successfully link this library?
I install googlemap pod file that time i got an error and unable to solved this .. please help me
I am getting this error:
ld: library not found for -lPods-Google-Maps-iOS-SDK clang: error:
linker command failed with exit code 1 (use -v to see invocation)
This is the error because u didn't integerate sdk using podfile correctly so the sdk files are missing in your project
Use this link https://developers.google.com/maps/documentation/ios-sdk/start it will help.Thanks
follow this link properly https://developers.google.com/maps/documentation/ios-sdk/start
and make sure you have set YES in BUILD ACTIVE ARCHITECTURE ONLY in build settings (in target).
I am getting some errors and warnings when I build my IOS project
ld: warning: directory not found for option '-L/Users/parikshitpatel/Documents/IphoneDevelopment/FH/funkiorangemobile_iphonehealthadviceapp/Social'
ld: warning: directory not found for option '-LMedia/Twitter/Twitter'
ld: warning: directory not found for option '-LLibrary/Libraries'
ld: warning: directory not found for option '-L/Users/parikshitpatel/Documents/IphoneDevelopment/FH/funkiorangemobile_iphonehealthadviceapp0/Social'
ld: warning: directory not found for option '-L&'
ld: warning: directory not found for option '-LHeaders'
ld: warning: directory not found for option '-LMedia/Twitter'
ld: library not found for -lOAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am not getting how to fix this error can some one help?
It looks like your Library path is incorrect.
Try to go to: Targets - Build Phases - Link Binary with Libraries
and add your Twitter Library/Framework
In your Folder path there are blank spaces between them. for example:
/Users/parikshitpatel/Documents/IphoneDevelopment/FH/funkiorangemobile_iphonehealthadviceapp/Social Media
In your Library dependencies write Social\ Media instead.
Do the same for other library.
For me I was opening the .xcodeproj Xcode project instead of the .xcworkspace workspace. I'm pretty new to iOS development, but this feels similar to opening the wrong gradle file in Android Studio
I'm using xcode 5 for my mobile app project. I got this error when I try build the project.
ld: warning: directory not found for option '-L\\\\\\\"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WorklightSDK\\\\\\\"'
ld: warning: directory not found for option '-L/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: warning: directory not found for option '-F"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/Frameworks"'
ld: warning: directory not found for option '-F/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: framework not found sqlcipher
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: directory not found for option '-L\\\\\\\"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WorklightSDK\\\\\\\"'
ld: warning: directory not found for option '-L/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: warning: directory not found for option '-F"/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/Frameworks"'
ld: warning: directory not found for option '-F/Applications/MAMP/htdocs/rmbp/apps/rmbp/iphone/native/WikitudeSDK'
ld: framework not found sqlcipher
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Why?
This error is because of some missing libraries in your project.
Check in your Build Phases -> Link Binary With Libraries. Any of your framework may had been removed from there.
Add it and Clean and Build your project. It should work fine.
Hope it helps you.
There is another probability that you are using Cocoa Pods to install the library but not open the workspace (*.xcworkspace) file of the project after pod install was successfully executed.