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

pod specification to install ObjectMapper for Swift 3 #581

Closed
jperera84 opened this issue Sep 16, 2016 · 4 comments
Closed

pod specification to install ObjectMapper for Swift 3 #581

jperera84 opened this issue Sep 16, 2016 · 4 comments

Comments

@jperera84
Copy link

Hello,
Sorry I know this is not an issue but I can't find a way to install the ObjectMapper version that run with swift 3.
Could anybody help me please?
Thanks

@cristiansimioni
Copy link

You should use the 2.0.0 version.

pod 'ObjectMapper', '~> 2.0.0'

@jperera84
Copy link
Author

Thanks @cristiansimioni I appreciate your help, I installed but I got the following error when I compile the project:
/Users/jperera/Documents/GitRepository/MySecurityAccount/MySecurityAccount/Contact.swift:10:8: Module file was created by an older version of the compiler; rebuild 'ObjectMapper' and try again: /Users/jperera/Library/Developer/Xcode/DerivedData/MySecurityAccount-cgpdohozsvhpevhjubironbdencq/Build/Products/Debug-iphonesimulator/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64.swiftmodule

Any idea of this?

@cristiansimioni
Copy link

I was facing something similar this week. I solved it following the steps below:

  1. On Xcode, navigate to Product and hit Clean
  2. Close Xcode
  3. Open a console and delete DerivedData folder
    cd ~/Library/Developer/Xcode/
    rm -rf DerivedData/
  4. Open Xcode and try again.

@snehasen1990
Copy link

Same issue trying clean build .....but no luck

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

4 participants