-
Notifications
You must be signed in to change notification settings - Fork 118
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
Apple Mach-O Linker Error #146
Comments
@CrazyGoose: Do you have the |
I get errors with both. Xcodeproj -> One error. xcworkspace -> two errors |
@CrazyGoose: To get the obvious stuff out of the way, would you mind confirming that you've restarted Xcode, and then run |
Yes, I have cleaned derived data, restarted xcode, uninstalled pod, reinstalled pod.... many combination of each. It is the minute I put in the code: [DBClientsManager setupWithAppKey:@"XXXXXXXXXX"]; |
Would you mind trying the step here that involves adding
|
@CrazyGoose: Ok, thanks. Another thing – set |
Also, if you run |
Pod version 1.2.1 |
@CrazyGoose: Sorry for the radio silence here. Wanted to follow up and see if this issue was still happening for you. If it is, would you mind sending in a redacted Xcode project to the following link: https://www.dropbox.com/developers/contact That way, we can debug it on our end and get to the bottom of this. Either way, let me know. Thank you! |
Hi scobbe, could you please help me with the same problem: |
@Schwiiz: I assume you tried everything above? Based on your error, it seems like you don't have the Would you mind confirming that you have the |
@Schwiiz: Oh this is the example project. Did you run We don't distribute the framework code (ObjectiveDropboxOfficial) in the examples directly, but instead require you to fetch them. Let me know if this works. |
Oh wait, yeah we don't distribute the workspace files either, so you must have... |
@Schwiiz: Would you mind trying this: In Project Navigator in the folder Pods look for Pods_DBRoulette.framework which is red in the above screenshot. It should also be present in Linked Frameworks and Libraries. Remove both references and see if that helps. |
@scobbe ok, let me try. thanks. |
@Schwiiz: Any word? |
Ping @Schwiiz and @CrazyGoose. Any update? Where you able to get this to work? |
@igiso Have you already tried the troubleshooting steps discussed earlier in this thread? |
Yes I've tried, everything, I need to clarify, that my project works on Simulator, the linking problem is when testing on Device. |
I am putting a reference to this I think it is related: |
I've solved the problem, I had to rebuild the framework for the particular device and then relink it, I created two projects with shared code but different linked frameworks.. |
@igiso The SDK should work both on device and in the simulator. You'll need to pick one of the supported installation methods though, and follow all of the documented steps: https://github.com/dropbox/dropbox-sdk-obj-c#sdk-distribution It sounds like you only manually dragged in the ObjectiveDropboxOfficial.framework. To get this working, please try again using one of the officially supported installation methods. |
|
@monish152 I see you opened a new issue for your error (#238), so I'll follow up with you there to avoid spamming the other people on this old one. |
Pod is installed correctly. Followed all setup as outlined but I am getting the following errors:
"OBJC_CLASS$_DBClientsManager", referenced from:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I comment out: [DBClientsManager setupWithAppKey:@"XXXXXXXXXX"]; everything complies without issue.
The text was updated successfully, but these errors were encountered: