Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not found for -lMKDropdownMenu #36

Open
madelinezec opened this issue Oct 12, 2017 · 1 comment
Open

Library not found for -lMKDropdownMenu #36

madelinezec opened this issue Oct 12, 2017 · 1 comment

Comments

@madelinezec
Copy link

I installed MKDropdownMenu with CocoaPods. I added, import "MKDropdownMenu.h" to the ViewController.h file where I use MKDropdownMenu.

When I run my app, it crashes with , Linker Command failed with exit code 1

The full crash message is here:

Ld /Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Intermediates.noindex/Leaflet.build/Debug-iphonesimulator/Leaflet-US.build/Objects-normal/i386/Leaflet-US normal i386
    cd /Users/madelinezec/temp_leaf/leafsnap-app/Leaflet-Localized
    export IPHONEOS_DEPLOYMENT_TARGET=9.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -L/Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Products/Debug-iphonesimulator -L/Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Products/Debug-iphonesimulator/MKDropdownMenu -F/Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Products/Debug-iphonesimulator -filelist /Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Intermediates.noindex/Leaflet.build/Debug-iphonesimulator/Leaflet-US.build/Objects-normal/i386/Leaflet-US.LinkFileList -mios-simulator-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Intermediates.noindex/Leaflet.build/Debug-iphonesimulator/Leaflet-US.build/Objects-normal/i386/Leaflet-US_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -final_output -Xlinker /Applications/Leaflet-US.app/Leaflet-US -fobjc-link-runtime -ObjC -lMKDropdownMenu -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Intermediates.noindex/Leaflet.build/Debug-iphonesimulator/Leaflet-US.build/Leaflet-US.app.xcent -framework AVFoundation -lz.1.2.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreData -framework CoreLocation -framework MapKit -framework QuartzCore -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lPods-Leaflet-US -Xlinker -dependency_info -Xlinker /Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Intermediates.noindex/Leaflet.build/Debug-iphonesimulator/Leaflet-US.build/Objects-normal/i386/Leaflet-US_dependency_info.dat -o /Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Intermediates.noindex/Leaflet.build/Debug-iphonesimulator/Leaflet-US.build/Objects-normal/i386/Leaflet-US

ld: warning: directory not found for option '-L/Users/madelinezec/Library/Developer/Xcode/DerivedData/Leaflet-djeecvpagrsvxibmnayfiowcsnjt/Build/Products/Debug-iphonesimulator/MKDropdownMenu'
ld: library not found for -lMKDropdownMenu
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@maxkonovalov
Copy link
Owner

maxkonovalov commented Oct 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants