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

Linker error in manually integration #238

Open
monish152 opened this issue Jan 13, 2019 · 7 comments
Open

Linker error in manually integration #238

monish152 opened this issue Jan 13, 2019 · 7 comments

Comments

@monish152
Copy link

Hi,
I am getting linker error like below screenshot.

screen shot 2019-01-13 at 11 58 52 pm

@greg-db
Copy link
Contributor

greg-db commented Jan 14, 2019

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.

@monish152
Copy link
Author

Hi @greg-db I have tried all steps as issue 146 but still getting same issue.

@greg-db
Copy link
Contributor

greg-db commented Jan 14, 2019

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!

@monish152
Copy link
Author

Hi @greg-db attached files have screenshot.

@monish152
Copy link
Author

screen shot 2019-01-15 at 8 30 30 pm
screen shot 2019-01-15 at 8 30 20 pm
screen shot 2019-01-15 at 8 30 08 pm

@monish152
Copy link
Author

screen shot 2019-01-15 at 8 47 14 pm

@greg-db
Copy link
Contributor

greg-db commented Jan 15, 2019

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)

screenshot 2019-01-15 15 39 26
screenshot 2019-01-15 15 39 28
screenshot 2019-01-15 15 39 31
screenshot 2019-01-15 15 39 34

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.

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