How to make a Pod file from one project and add to your own iOS project?

I have one complete project. which I downloaded from the site.

https://medium.com/learning-xcode-as-a-designer/animate-in-xcode-without-code-20c82a904164

It gave me a project.

I also download the DEMO project, which added only Pods files, looks below

enter image description here

After that, I created the DemoAnimation project. and made it a pod using pod init, but he made a pod of this project as shown below

enter image description here

Now my confusion is how to create a canvas project and use it in my project. as if i use drag and drop, it doesn't work.

How to make a Pod file or an existing project and embed it in your own project and use it?

+4
1

CocoaPods,

1. .

2. Podfile

platform :ios, '7.0'
pod 'Canvas', '~> 0.1'

: (cd )

$ cd {ROOT_DIR}
$ edit Podfile
platform :ios, '7.0'
pod 'Canvas', '~> 0.1'

3.Run pod install .

4. Xcode (.xcworkspace).

5. xcworkspace.

$ open -a xcode App.xcworkspace

.

+2

All Articles