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

configure cocoaPods #21

Open
udithaPS opened this issue Nov 20, 2015 · 3 comments
Open

configure cocoaPods #21

udithaPS opened this issue Nov 20, 2015 · 3 comments

Comments

@udithaPS
Copy link

I,m new to iOS development. I didn't use cocoapods before. can you please give me complete work floor about configuring this project with cocoaPods.

Initially I got this issue..

PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/entt/Library/Developer/Xcode/DerivedData/PPSSignatureDemo-aegeuwydbgumskbugijmhqyhohfc/Build/Intermediates/PPSSignatureDemo.build/Debug-iphonesimulator/PPSSignatureDemo.build/Script-51C5B5620D3B4693B8ED7D34.sh
cd /Users/entt/Desktop/editors/PPSSignatureView-master/Example
/bin/sh -c /Users/entt/Library/Developer/Xcode/DerivedData/PPSSignatureDemo-aegeuwydbgumskbugijmhqyhohfc/Build/Intermediates/PPSSignatureDemo.build/Debug-iphonesimulator/PPSSignatureDemo.build/Script-51C5B5620D3B4693B8ED7D34.sh

diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

@MosheBerman
Copy link

First you need to install cocoapods. To do that, you need to run sudo gem install cocoapods in Terminal.

Next, you need to make sure you are in the correct directory. That's usually the one that has a podfile and your Xcode project in it. That's cd PATH_TO_THE_EXAMPLE_DIRECTORY, wherever you might have downloaded the repository to.

Finally, run pod install. This will find and install the cocoapods in your pod file in the current directory. It will also generate an xcworkspace file for you to use instead of your project.

So, to summarize:

$> sudo gem install cocoapods
$> cd PATH_TO_EXAMPLE_DIRECTORY
$> pod install

Then you should be good to go.

screen shot 2015-12-10 at 11 19 00 am

@CavanLife
Copy link

$> pod install
Analyzing dependencies
[!] The dependency PPSSignatureView (from ../PPSSignatureView.podspec) is not used in any concrete target.

how can i do this?

@CavanLife
Copy link

Yeah, i have resolved this issue. Modify the podfile content with

target 'PPSSignatureDemo' do

pod 'PPSSignatureView', :path => '../PPSSignatureView.podspec'

end

then, pod install.

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

3 participants