Adding new dropbox.framework to xcode giving error - xcode

I have tried to add dropbox framework to my xcode 4.5 but I'm getting an error as follows
ld: 14 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So I googled for it and found ,xcode 4.5 no longer supports drop box framework. So I tried to add new 1.3 version of dropbox framework but still it gives the same error.Please help me out. How to overcome this problem

First try to clean the project first and try to run it again. If not, have you looked at this: http://www.mathiastauber.com/integration-o-dropbox-in-your-ios-application/

Related

Xcode swift 3 cocoapods error

I am getting this error after installing a CocoaPod and I don't understand why:
Apple Mach-O Linker Error Group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can somebody give me an answer?
My guess is that you are using the Xcode Project (.xcodeproj) that you where using before.
When you install a pod, you need to use the Xcode Workspace (.xcworkspace) that CocoaPods automatically creates for you:

ld: framework not found KudanAR

I have getting iOS SDK(1.3.1) for KudanAR.
I tried to builded the KudanARsample in Xcode.
However, you will see an error such as the following.
ld: framework not found KudanAR
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am installed already 'KudanAR.framework'.
I wonder if the packages is missing?
Download from:
https://github.com/kudan-eu/Simple-Samples-iOS
Development environment:
Xcode 8.0,iOS 10,OS X
Please answer....
As the README instructions say:
In order for this sample project to work, you will need to download the KudanAR framework from the Kudan website. Then simply drop the framework into the root project directory and run the Xcode project.
You can get it from the Kudan website

Linker command failed with exit code 1 (use -v to see invocation) with Swift 3

I am working on building a Swift library and am hosting it on GitHub.
All was going fine until I added BluetoothKit to the project. I then got an Apple Mach-O Linker Error:
ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk/Developer/Library/Frameworks'
ld: /Users/calebklevetertest/Library/Developer/Xcode/DerivedData/Napalm-dblvhbjdwovurocsvzrzaxzkjjyw/Build/Products/Debug-iphonesimulator/Napalm.framework/Napalm compiled with older version of Swift language (2.0) than previous files (3.0) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
From reading the error it appears the issue somehow stems from the fact I am using Swift 3, but I can't figure out how to fix it.
I did convert BluetoothKit to Swift 3 when I added it.
There is one class that uses BluetoothKit and it is called NPFBluetooth.
A couple things to note are 1) Even though the class is public, the compiler gives an error of 'unresolved identifier', 2) The class does not show in the auto-complete and 3) All the other classes work fine.
I ran into the error migrating to swift3. As it turns out Xcode keeps copies of built frameworks and moving to swift3 is apparently not a cue to rebuild those (even after finding out it was built using swift2.... no let's throw a vague error instead...)
The solution is to delete the content of your 'derived data' folder.
Works for frameworks installed with Carthage and cocoapods.....
Go to your build settings and switch the target's settings to ENABLE_BITCODE = YES for now.
It's working for me ;)

ld: framework not found ModelIO for architecture x86_64 when compiling my app

I was moving a small number of Cocoapods dependencies' source files into the project, and when I tried to compile my project I got the error:
ld: framework not found ModelIO for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What does this mean? ModelIO is not mentioned anywhere in my project, and my linked frameworks do not mention it either.
I got this error message after adding SupportKit to my Podfile. Per the SupportKit release notes, they require Xcode 7 as of 2.10.1 and trying to use it while still on 6.x can produce this error: https://github.com/radialpoint/SupportKit/issues/54.

Can't archive on Xcode: CocoaPods linking error

On an iOS project, when I compile my project to run it, it works fine.
But if I archive it, it fails with the following error:
ld: file not found: /Users/xxxxx/Work/xxxxx/codes/xxxxx/DerivedData/xxxxx/Build/Intermediates/ArchiveIntermediates/xxxxx/InstallationBuildProductsLocation/Applications/libPods.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using Xcode 4.6 and iOS 5.0.
I searched for a long time and finally got something and solved the same problem for me. For anyone who still needs:
In Build Setting > Other Linker Flag:
Probably the flag is different for Debug and others.
Try to change wherever $(TARGET_BUILD_DIR) to $(BUILT_PRODUCTS_DIR).
For me, I changed $(TARGET_BUILD_DIR)/libPods.a to $(BUILT_PRODUCTS_DIR)/libPods.a, and problem solved.

Resources