dropbox-sdk-obj-c
dropbox-sdk-obj-c copied to clipboard
Linker error in manually integration
Hi, I am getting linker error like below screenshot.
It sounds like you're using the "Manually add subproject" installation option, is that correct? Can you confirm that you followed each of the steps there exactly?
I also recommend going through the other potential solutions in the older issue (#146) if you haven't already.
Hi @greg-db I have tried all steps as issue 146 but still getting same issue.
Can you share screenshots of your Build Settings for both the project and targets for both your app and the ObjectiveDropboxOfficial framework? Thanks in advance!
Hi @greg-db attached files have screenshot.
Apologies I wasn't clearer, I was asking for the "Build Settings" tab in particular.
For example, I was just able to reproduce the error you're seeing with the following configuration: (note the different selections in the left sidebars, for different projects/targets)
I was then able to fix it by setting "Build Active Architecture Only" to "No" for both the ObjectiveDropboxOfficial project and iOS target. Can you give that a try?
I was also able to fix it by alternatively switching all 4 (across the app and framework, both projects and targets) to "Yes". The exact settings are up to you based on what makes sense for your use case, but to avoid this issue, you'd need to make sure these settings match. I.e., you need to build the framework for whatever architectures you're building for your app.