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

Cocoapod #20

Merged
merged 1 commit into from Nov 11, 2015
Merged

Cocoapod #20

merged 1 commit into from Nov 11, 2015

Conversation

AntonioLangiu
Copy link
Contributor

I settled up the App to use cocoapod instead of build script. There are different improvement:

  • no more subrepository to include measurement-kit
  • no more build script, with the command pod install it download and build the frameworks.
  • to update the library you have just to remove the folders Pods and use the command pod install

@AntonioLangiu
Copy link
Contributor Author

@lorenzoPrimi can you please check it?

@bassosimone bassosimone self-assigned this Oct 26, 2015
@bassosimone
Copy link
Member

Hi @AntonioLangiu,

Great work, thank you! I've tested it and this is what happened:

  1. run pod install from the toplevel directory and this went smoothly
  2. then I opened the Libight_iOS.xcodeproj project and built the project

This last step failed in the linking phase with the following error:

ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea how to fix this? (The XCode project lists libPods.a as an unmet dependency - meaning that it's listed and the color is red.)

@AntonioLangiu
Copy link
Contributor Author

Hi @bassosimone,

Thank you.

You have to install the cocoapod with pod install and then you have to open the Libight_iOS.xcworkspace instead of the Libight_iOS.xcodeproj that you opened.

Is not an issue. I tested now the App with OS X El Capitan and Xcode 7.1.1 and it works!

- relace submodule with Podfile

- remove one level of nesting
@bassosimone
Copy link
Member

Thanks for clarifying. Now it compiles. Thank you, great work! 👍

bassosimone added a commit that referenced this pull request Nov 11, 2015
@bassosimone bassosimone merged commit fd52d26 into master Nov 11, 2015
@bassosimone bassosimone deleted the cocoapod branch November 11, 2015 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants