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

Xcode : Error on building Example #122

Open
Think-It opened this issue Jun 9, 2016 · 4 comments
Open

Xcode : Error on building Example #122

Think-It opened this issue Jun 9, 2016 · 4 comments

Comments

@Think-It
Copy link

Think-It commented Jun 9, 2016

Hi,

First, let me thank you for this projet.
Second, I've to admit that I'm a beginner in iOS dev, so please forgive me if I've forget something obvious.

After set up my BridgingHeader.h file in my project, and declare it in the build settings, I got a compilation error :

xcode

Any idea ?

@abrarmatin
Copy link

I have the same issue and would love to know the solution

@noobs2ninjas
Copy link

this has to do with referencing the header files during the pods build phase. Im gonna work on it now and report back. I think it has something to do with the pods xconfig.

@Think-It
Copy link
Author

@noobs2ninjas : Thank you :)

@Krishna
Copy link

Krishna commented Aug 14, 2017

Ran into the same problem (using Xcode 9 Beta 5).

The solution that worked for me was to delete the existing Podfile in the Examples/LikedOrNope/ directory.

I then used the pod init command to create a new Podfile and modified it so that its contents are:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'LikedOrNope' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for LikedOrNope

  pod 'MDCSwipeToChoose'

  target 'LikedOrNopeTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

Then I ran pod install and opened LikedOrNope.xcworkspace

Building and running the example was then successful.

Hope this helps.

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