I just create React Native project (0.64.1)
and I install appDynamic (21.4)
This is the version I found in my package.json
"#appdynamics/react-native-agent": "^21.4.0",
"appdynamics": "20.7.0",
How, about when I try to run the application on iOS device,
here is the error message I got:
ld: library not found for -lADEUMReactNative
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried the following method:
remove the Library Search Path
change the path of libADEUMReactNative.a under "Link Binary With Libraries" of "Build Phases"
which method I can tried? thank you
Make sure the pod version and the IOS deployment target is >= 11.
Then do pod install and build your project.
Related
I'm trying to use a cocoapod with my Xcode project (Swift).
When I try to Build the project it fails with:
Apple Mach-O Linker Error Group
- "_OBJC_CLASS_$_FSCalendar", referenced from:
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
Errors
Any ideas what could be causing this?
(The cocoapod I am using is: https://github.com/WenchaoD/FSCalendar
UPDATE
I have added the frameworks and now I am just getting "clang: error: linker command failed with exit code 1 (use -v to see invocation)"
UPDATE
Full error:
ld: warning: directory not found for option '-F/Users/me/Documents/APP/build/Debug-iphoneos/FSCalendar'
ld: warning: directory not found for option '-F/Users/me/Documents/APP/build/Debug-iphoneos'
ld: framework not found FSCalendar
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried everything suggested on the internet for the same issue and nothing resolved this. I fully re-installed Xcode and Cocoapods, set up the project exactly the same as before and it is now working.
After I ran pod install on the new name I changed my project to, I had this error cause the pod framework was not linking to NEW project name and was still looking for OLD name.
I resolved by going into my projects 'Linked Frameworks and Libraries' in the Targets section and removing the OLD framework that has the OLD project name.
Targets > General > Linked Frameworks and Libraries > -(Pods_OLD_PROJECT_NAME.framework)
I got this error.
ld: warning: directory not found for option
'-L/Users/span/Desktop/testbridge/platforms/ios/build/Debug-iphoneos'
ld: library not found for -lMMWormhole clang: error: linker command
failed with exit code 1 (use -v to see invocation)
After run pod install or pod update you must use the new .xcworkspace file instead of the old .xcodeproj file.
It happens because .xcworkspace contains your .xcodeproj and the pods.
After that you should be able to run normally.
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).
The following error is showing when compile.
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try building to device - Works for me if I build to device but I get the same error when using the simulator.
Hope that works for you as well!
Did you actually do pod install to install all pods?
Also you must open *.xcworkspace and not *.xcodeproj
switched gradle to version 1.3.1, that problem vanished
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1 '
}
when build project,show this error,nothing to add in link binary with libraries,i don't know the reason
library not found for -lPods-Doppio-Mantle
I guess you were meaning after you install pod you have an error like that:
ld: library not found for -lPods-Doppio
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Did you open the xworkspace that Cocoapods created, instead of xcodeproj?
Or check if you install pod in the right directory. I mean in the directory of your Project:
cd myProject
pod install