Xamarin iOS Framework Binding - xamarin

I am trying to create a binding for the WePay Framework:
https://github.com/wepay/wepay-ios
Following are the steps that I followed.
I installed CocoaPods.
I installed ObjectiveSharpie
I run this command in terminal : $ sharpie pod init ios WePay
And I get this error: Could not install CocoaPod
here is the full error message:
** Setting up CocoaPods master repo ...
(this may take a while the first time)
Setting up CocoaPods master repo
$ /usr/bin/git pull --ff-only
From https://github.com/CocoaPods/Specs
ee36ba4..8c6767d master -> origin/master
Updating ee36ba4..8c6767d
Fast-forward
Specs/BluetoothKit/0.3.0/BluetoothKit.podspec.json | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 Specs/BluetoothKit/0.3.0/BluetoothKit.podspec.json
Setup completed
** Searching for requested CocoaPods ...
** Working directory:
** - Writing Podfile ...
** - Installing CocoaPods ...
** (running pod install --no-integrate --no-repo-update)
[!] Unknown option: --no-integrate
Did you mean: --no-ansi?
Usage:
$ pod install
Downloads all dependencies defined in `Podfile` and creates an Xcode Pods
library project in `./Pods`.
The Xcode project file should be specified in your `Podfile` like this:
project 'path/to/XcodeProject.xcodeproj'
If no project is specified, then a search for an Xcode project will be
made. If more than one Xcode project is found, the command will raise an
error.
This will configure the project to reference the Pods static library, add
a build configuration file, and add a post build script to copy Pod
resources.
Options:
--repo-update Force running `pod repo update` before
install
--project-directory=/project/dir/ The path to the root of the project
directory
--silent Show nothing
--verbose Show more debugging information
--no-ansi Show output without ANSI codes
--help Show help banner of specified command
error: could not install CocoaPod

Well apparently the most recent CocoaPods removed the --no-integrate option that objective sharpie uses. Downgrading cocoapods to 0.39.0 should fix your issue. It worked for us.

Related

React Native - Xcode - DerivedData - Pods - ExpoModules

How exactly does xcode or xcode pods get cached?
I've made changes to update react native, or every time I make expo changes, or certain packages. My project is not an expo project but I am using the expo SDK.
Expo 44-45, React Native 67.3 trying to update to 68.5
My pod install command installs all the wrong dependencies.
I get CompileC --> DerivedData or iPhone Deployment Target errors or Simulator cached issues.
I delete derived data and everything, still pod installs all the wrong pods.
I know the cause of the errors, but I'm not sure why if I run npm i and pod install it installs all of a previous cached pods.
Now I'm getting:
Error: Command failed: xcrun simctl list --json devices
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
at checkExecSyncError (node:child_process:885:11)
at Object.execFileSync (node:child_process:921:15)
at runOnSimulator (/Users/me/repos/MobileApp/node_modules/#react-native-community/cli-platform-ios/build/commands/runIOS/index.js:167:54)
at Object.runIOS [as func] (/Users/me/repos/MobileApp/node_modules/#react-native-community/cli-platform-ios/build/commands/runIOS/index.js:121:12)
at Command.handleAction (/Users/me/repos/MobileApp/node_modules/#react-native-community/cli/build/index.js:192:23)
at Command.listener (/Users/me/repos/MobileApp/node_modules/commander/index.js:315:8)
at Command.emit (node:events:513:28)
at Command.parseArgs (/Users/me/repos/MobileApp/node_modules/commander/index.js:651:12)
at Command.parse (/Users/me/repos/MobileApp/node_modules/commander/index.js:474:21)```
Remove pod folder and podfile.lock file in iOS folder.
run this command pod install

Xcode 11 beta 4 error: Command CompileSwiftSources failed with a nonzero exit code

I've downloaded the latest Xcode beta 4. When I build I'm getting the same error with 3 of my pods:
Command CompileSwiftSources failed with a nonzero exit code
<unknown>:0: error: unknown argument: '-w'
<unknown>:0: error: unknown argument: '-Xanalyzer'
<unknown>:0: error: unknown argument: '-analyzer-disable-all-checks'
This is the MarqueeLabel pod logs:
I have tried:
Cleaning and deep cleaning (shift + alt + cmd + k)
Deleting the Derived Data folder
Restarting Xcode
I can't see the error listed in the release notes.
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_beta_4_release_notes
Does anyone know what the problem is or a workaround?
There is a known issue with Cocoapods and Xcode 11 Beta 4 where inhibit_all_warnings! causes arguments to be set for Swift which do not compile. Removing this inhibit resolves the issue, and Swift warnings can be inhibited with SWIFT_SUPPRESS_WARNINGS = YES on targets instead.
CocoaPods had a fix for this that got released as part of CocoaPods 1.7.5.
Below is the answer preceding the 1.7.5 release:
If you need to use Xcode 11 Beta 4 in the mean time, you could install a patched version of CocoaPods from that pull request:
1. Open Gemfile, replace gem 'cocoapods' with
gem 'cocoapods', :git => 'https://github.com/dnkoutso/CocoaPods.git', :branch => "swift_compiler_warnings"
2. Run bundle install and bundle exec pod install
Keep in mind, this is a temporary solution.
The latest version of CocoaPods (1.7.5) has this issue fixed!
In Terminal run
sudo gem update cocoapods
And then, on your project directory
pod install
Resolved for me!!!!
The issue is actually i created two files with same name. So after i renamed one of a file and error cleared.

Lint Error for pod library Swift 4 Xcode 9

I'm creating a pod for my swift 4 for library.
I run pod lib create IntentedLibraryName which generates the workspace. Then I did the necessary modifications to the files IntentedLibraryName.podspec, and moving my library swift files to the path IntentedLibraryName/Classes/.
To test out if the pod works, I've Build and pod install from the Example project and everything works as intended.
Now, I run pod lib lint IntentedLibraryName.podspec --verbose then I got
(1 failure) === BUILD TARGET IntentedLibraryName OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor. The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor
I did the following hoping it would fix it:
In the Pod project, From Build Settings > Swift Compiler- Language > Swift Language Version from Swift unspecified to Swift 4.0.
I added and committed all changes along the tag (i.e git tag 0.0.1) and push all it with --tags. (i.e git push -u origin dev --tags)
I run the linting command again, and still the same issue.
I even try toecho 4.0 > .swift-version save all commit and push it again. NADA
Also tried s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' } NADA
## CocoaPods Environment
ℹ Please replace this with the output of `pod env`.
e.g. via `pod env | pbcopy`
### Stack
```
CocoaPods : 1.4.0.beta.1
Ruby : ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin16]
RubyGems : 2.5.1
Host : Mac OS X 10.12.6 (16G1023)
Xcode : 9.0 (9A235)
Git : git version 2.8.1
Ruby lib dir : /Users/lamour/.rvm/rubies/ruby-2.3.0/lib
Repositories : bahlo - https://github.com/bahlo/SwiftGif # d26325392aefe7822dea79a757d4e300c694d010
master - https://github.com/CocoaPods/Specs.git # f2169476eead8b1a9d898ff73c5eba516504ed78
```
### Installation Source
```
Executable Path: /Users/lamour/.rvm/gems/ruby-2.3.0/bin/pod
```
### Plugins
```
cocoapods-deintegrate : 1.0.1
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.3.0
cocoapods-try : 1.1.0
```
Project that demonstrates the issue
Please link to a project we can download that reproduces the issue.
You can delete this section if your issue is unrelated to build problems,
i.e. it's only an issue with CocoaPods the tool.
I do think its an issue with Xcode 9.0 because I've created empty project, still same thing happened.
Thanks for the help :)
Issue Fixed
The issue had nothing to do with Xcode 9 but it was with cocoapods. I did uninstall cocoapods from my machine and install it again. Once you done make sure you had the echo 4.0 > .swift-version. Voila :)
echo 4.0 > swift-version
should be
echo 4.0 > .swift-version
right (NB the leading dot)?
I had the same problem and for whichever reason, in my .swift-version file there was a strange
2.4 =>
in it (sic).
After I changed it to
4.0
, everything worked.
Example project here:
https://github.com/karstengresch/CleanroomLogger (actually a dumb fork of CleanRoomLogger which I want to use with Cocoapods).

CocoaPods Error to install/search pods

I'm trying to use some pods in my project. But the terminal results in that:
$ pod install
Analyzing dependencies
[!] Unable to find a specification for `Mantle`.
So, I tryed to search the pod or others and for any pod that I have tryed, the result is:
$ pod search Mantle
[!] Unable to find a pod with name matching `Mantle'
$ pod search LBBlurredImage
[!] Unable to find a pod with name matching `LBBlurredImage'
What is wrong?! The https://github.com/CocoaPods/Specs have all pods....
This just happened to me as well. Somehow the CocoaPods repo got borked. This fixed my situation:
rm -rf ~/.cocoapods
pod setup
pod install
Hope that helps! :)
Looks like you need to run pod setup
Edit:
In theory if you're getting an error about the master repo you could add it manually run:
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
Try this code it worked for me
pod repo remove master
pod setup
I was trying these commands and couldn't understand what was happening because there were no logs printed to screen indicating the progress.
Heads up, this is a time taking install, so run the command, sit back and relax :)
Clean up directory
$ rm -rf ~/.cocoapods
So add verbose at the end of command beginning with
$ sudo gem install cocoapods --verbose
There are lot of redirects happening here which takes additional time.
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.1.3.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.1.3.gemspec.rz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.2.0.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.2.0.gemspec.rz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.3.1.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.3.1.gemspec.rz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.3.2.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.3.2.gemspec.rz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.3.3.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.3.3.gemspec.rz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.3.4.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.3.4.gemspec.rz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/thread_safe-0.3.5.gemspec.rz
302 Moved Temporarily
GET https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/thread_safe-0.3.5.gemspec.rz
200 OK
Installing gem cocoapods-0.39.0
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/cache/clean.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/cache/list.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/cache.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/init.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/inter_process_communication.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/lib.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/list.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/outdated.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/project.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo/add.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo/lint.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo/list.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo/push.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo/remove.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo/update.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/repo.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/setup.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/spec/cat.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/spec/create.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/spec/edit.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/spec/lint.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/spec/which.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/spec.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/config.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/downloader/cache.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/downloader/request.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/downloader/response.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/downloader.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/executable.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/external_sources/abstract_external_source.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/external_sources/downloader_source.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/external_sources/path_source.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/external_sources/podspec_source.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/external_sources.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/gem_version.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/acknowledgements/markdown.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/acknowledgements/plist.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/acknowledgements.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/bridge_support.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/copy_resources_script.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/dummy_source.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/embed_frameworks_script.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/header.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/info_plist_file.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/module_map.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/prefix_header.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/umbrella_header.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/xcconfig/pod_xcconfig.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/generator/xcconfig.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer/analysis_result.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer/specs_state.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer/target_inspection_result.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer/target_inspector.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/file_references_installer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/migrator.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/pod_source_installer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/pod_source_preparer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/podfile_validator.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/post_install_hooks_context.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/pre_install_hooks_context.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/source_provider_hooks_context.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/target_installer/pod_target_installer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/target_installer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/user_project_integrator/target_integrator.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/user_project_integrator.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/open_uri.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/project.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver/lazy_specification.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sandbox/file_accessor.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sandbox/headers_store.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sandbox/path_list.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sandbox/pod_dir_cleaner.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sandbox/podspec_finder.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sandbox.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/sources_manager.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/target/aggregate_target.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/target/pod_target.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/target.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface/error_report.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/validator.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods.rb
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/bin/pod
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/bin/sandbox-pod
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/README.md
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/LICENSE
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/CHANGELOG.md
/usr/local/bin/pod
/usr/local/bin/sandbox-pod
Successfully installed cocoapods-0.39.0
Parsing documentation for cocoapods-0.39.0
Parsing sources...
100% [93/93] lib/cocoapods/validator.rb
1 gem installed
Then run
$ pod setup --verbose
Setting up CocoaPods master repo
Creating shallow clone of spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
$ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1
Cloning into 'master'...
Checking out files: 100% (70092/70092), done.
$ /usr/bin/git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
CocoaPods 1.0.0.beta.3 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Setup completed
and after that
$ pod install --verbose
Preparing
Updating local specs repositories
Updating spec repo `master`
$ /usr/bin/git pull --ff-only
Already up-to-date.
CocoaPods 1.0.0.beta.3 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods`: (``)
Using `ARCHS` setting to build architectures of target `Pods-Vue`: (``)
Using `ARCHS` setting to build architectures of target `Pods-VueTests`: (``)
Finding Podfile changes
- AFNetworking
- FBSDKCoreKit
- FBSDKLoginKit
- FBSDKMessengerShareKit
- FBSDKShareKit
- Facebook-iOS-SDK
- LayerKit
- Localytics
- REMenu
- Realm
- SDWebImage
- SSKeychain
- libextobjc
Resolving dependencies of `Podfile`
Comparing resolved specification to the sandbox manifest
A AFNetworking
A Bolts
A FBSDKCoreKit
A FBSDKLoginKit
A FBSDKMessengerShareKit
A FBSDKShareKit
A Facebook-iOS-SDK
A LayerKit
A Localytics
A REMenu
A Realm
A SDWebImage
A SSKeychain
A libextobjc
Downloading dependencies
-> Installing AFNetworking (2.6.0)
> Git download
> Git download
$ /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/0t/dp8zzlyj58z5w00z21h5pcd00000gt/T/d20160206-31717-10giru1 --single-branch
--depth 1 --branch 2.6.0 --recursive
Cloning into '/var/folders/0t/dp8zzlyj58z5w00z21h5pcd00000gt/T/d20160206-31717-10giru1'...
Note: checking out 'f28d4af6c47bad1192f87debcc76586e3a8a141a'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
> Copying AFNetworking from `/Users/vinay/Library/Caches/CocoaPods/Pods/Release/AFNetworking/2.6.0-79f7e` to `Pods/AFNetworking`

Cocoapods error

From my Podfile: why does this work:
pod 'RestKit', :git => 'git#github.com:EATechnologies/RestKit.git', :commit => '56401aaa5b3714bbde5d2852f92c0b29e392b460'
but this does not:
pod 'RestKit', :git => 'git#github.com:EATechnologies/RestKit.git', :commit => '0831f2dc2da01731d37795a2c3bd8acb4045dda9'
When I use the latter, I get an error that looks like this:
$pod update
Updating spec repo `master'
-> Pre-downloading: 'MCSMKeychainItem'
-> Pre-downloading: 'RestKit'
[!] Failed: /usr/bin/git rev-list --max-count=1 0831f2dc2da01731d37795a2c3bd8acb4045dda9
[!] Failed: /usr/bin/git rev-list --max-count=1 0831f2dc2da01731d37795a2c3bd8acb4045dda9
[!] Cache unable to find git reference `0831f2dc2da01731d37795a2c3bd8acb4045dda9' for `git#github.com:EATechnologies/RestKit.git'.
This seems to have been fixed with Cocoapods 0.15.1.
1 - first install git (command line tool for mac)
link to download is : http://git-scm.com/download/mac
2 - then open commind line (or terminal) and type
$ sudo gem install cocoapods (you need to wait here , be patient)
3 - now you can shoot the command "pod --version" to check the version of the pod you just installed.
4 - shoot again pod search libpusher (just an example of a library, you can type any library name here instead of 'libpusher' ).
5- let it be complete , it may take some time.
6- then most imp step , create the pod file , (name can be 'podfile') in your project directory and add it to your project in Xcode.
7 - Now Here the secret is : you need to provide the path to this pod file too here , so type command:
cd /Rakesh/vidyo_demo/vidyo_phonegap/ios (eg.)
after cd command rest is the path of the pod file directory.
8- and now when you will type 'pod install ' command in terminal.
and all libraries (which are written in podfile) will get installed on your project path. just then open the project which now has a workspace file. like demo.xcworkspace (open it)
9- here is the format of pod file:
platform :ios, '7.0'
pod 'libPusher', '~> 1.4'

Resources