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

fail to import ObjectMapper from cocoapods #113

Closed
hirohisa opened this issue Apr 27, 2015 · 3 comments
Closed

fail to import ObjectMapper from cocoapods #113

hirohisa opened this issue Apr 27, 2015 · 3 comments

Comments

@hirohisa
Copy link

I tried to use ObjectMapper, then failed to import caused by Use of undeclared type Mappable.

This project
https://github.com/hirohisa/toys/tree/object_mapper/swift/samples/ObjectMapper

Podfile:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
inhibit_all_warnings!
use_frameworks!

pod 'ObjectMapper', '~> 0.10'

please help me.

@hirohisa
Copy link
Author

aeeac7575d0fa28e4e21db2810ef699d

@tristanhimmelman
Copy link
Owner

Hi there,
The main problem here is that you have created a sample project with the exact same name as ObjectMapper. This is causing the compiler to be confused when you write import ObjectMapper.

You should start with a fresh project that has a different name like ObjectMapperSample or something.

Hope this helps.
Tristan

@hirohisa
Copy link
Author

Thanks!

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