How to Apply MDCSwipeToChose Framework

Asked 2 years ago, Updated 2 years ago, 37 views

I am a beginner at Swift, but I would like to create an application using MDCSwipeToChoose, so I would like to refer to the following article in Qiita and create the same one for practice, but I got an error with linker command failed with exit code1 (use-v to see invocation).
I looked into it as an amateur, but I don't know how to solve it.
Could someone tell me the cause of the problem and how to solve it?

browsing:
http://qiita.com/ysk_1031/items/894d9652097b1c8be639

Environment:
OSX 10.10.01,
Xcode 6.4
cocoapod 0.37.2

The steps I took:

In BridgingHeader.h

#import<MDCSwipeToChoose/MDCSwipeToChoose.h>
#import<UIKit/UIKit.h>

Add (remain existing)

Among the TRAGETs in Build Settings settings, the Objective-C

with a pen and ruler triangle icon.

Result:
When building
linker command failed with exit code 1 (use-v to see invocation) error.

swift xcode

2022-09-29 21:21

1 Answers

Open the above project in 4.xcode

However, if you are using CocoaPods, you need to open a workspace instead of a project, but isn't it open?

(Project name) I think .xcworkspace has been created, so please open it and try again.


2022-09-29 21:21

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.