I want to use CocoaPods to install and run Example (sample app) instead of library.

Asked 2 years ago, Updated 2 years ago, 44 views

What do you want to do

I want to use CocoaPods to install and run Example (sample app) instead of library.
I installed it to use the library below.I have an example application, so I'm trying to refer to it, but I don't know how to install it.
Is it possible to specify a directory and install it?
Please let me know.
https://github.com/Yalantis/Koloda/tree/master/Example

What you did.

https://github.com/Yalantis/Koloda
·The library itself has been installed.However, the Example file is missing.
·I manually downloaded the zip file from Github, but there are about 3 errors.

ios swift

2022-09-30 21:09

1 Answers

Below is the answer with the understanding that the main purpose is to move Example.
*If your main purpose is to install Example on CocoaPods, please skip it

Also

  • Xcode 7.1.x

  • CocoaPods 0.39.0

Xcode 7.1.x

CocoaPods 0.39.0

These are the steps you took in the .

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

target 'Koloda_Example', : exclusive=>true do
  pod "pop", "~>1.0"
  pod "Koloda", "~>2.0.4"
end

post_install do | installer |
    `findPods-regex'Pods/pop.*\\.h'-print0 | xargs-0sed-i' 's/\\\(\\)/\\"\\2\\"/'`
end

I've been able to confirm the boot with this.


2022-09-30 21:09

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.