Skip to content

Here is maintaining fork #137

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

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests

on: [push]

jobs:
build:
runs-on: macos-latest
steps:
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
cocoapods
bundler
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '12.2'
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Test
run: |
gem install bundler
bundle install --path=${BUNDLE_PATH:-vendor/bundle}
bundle exec pod setup
rake install
cd test
sh test.sh
cd ..
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ test/Binary.xcworkspace/contents.xcworkspacedata
test/Binary.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
test/Podfile
test/Podfile.lock

*.gem
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
osx_image: xcode9.3
osx_image: xcode12.2
language: objective-c
cache:
- cocoapods
- bundler
gemfile: test/Gemfile
before_install:
- gem install cocoapods
- unset CPATH
install:
- bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
- bundle exec pod setup
script:
- rake install
- cd test
Expand Down
118 changes: 118 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
PATH
remote: .
specs:
cocoapods-binary (0.4.7)
cocoapods (>= 1.5.0, < 2.0)
fourflusher (~> 2.0)
xcpretty (~> 0.3.0)

GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.3)
activesupport (5.2.4.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
bacon (1.2.0)
claide (1.0.3)
cocoapods (1.10.0)
addressable (~> 2.6)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.10.0)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.4.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.4.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.6.6)
nap (~> 1.0)
ruby-macho (~> 1.4)
xcodeproj (>= 1.19.0, < 2.0)
cocoapods-core (1.10.0)
activesupport (> 5.0, < 6)
addressable (~> 2.6)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.4)
cocoapods-downloader (1.4.0)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
cocoapods-trunk (1.5.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.1.7)
escape (0.0.4)
ethon (0.12.0)
ffi (>= 1.3.0)
ffi (1.13.1)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
json (2.3.1)
minitest (5.14.2)
mocha (1.11.2)
mocha-on-bacon (0.2.3)
mocha (>= 0.13.0)
molinillo (0.6.6)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
prettybacon (0.0.2)
bacon (~> 1.2)
public_suffix (4.0.6)
rake (13.0.1)
rouge (2.0.7)
ruby-macho (1.4.0)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.8)
thread_safe (~> 0.1)
xcodeproj (1.19.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
xcpretty (0.3.0)
rouge (~> 2.0.7)

PLATFORMS
ruby

DEPENDENCIES
bacon
bundler (> 1.3)
cocoapods
cocoapods-binary!
mocha
mocha-on-bacon
prettybacon
rake

BUNDLED WITH
2.1.4
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
-> https://github.com/muukii/cocoapods-frost

Forked from https://github.com/muukii/cocoapods-binary

## Change log


2012/09/11
* Support to configure the `cocoapods-binary` plug-in separately through `BinPodfile`. [more >>](#BinPodfile)
* Add `all_not_prebuild!` for prebuild. [more >>](#all_not_probuild)
* Add a `test.rb` script to help you test quickly.

2021/03/15
* add `forbidden_dependency_binary!`, Prevent the automatic compilation of dependent libraries into binary as well.

---

> ⚠️ This is a temporaly forked repository.

https://github.com/leavez/cocoapods-binary/pull/137

cocoapods-binary is not maintained now, because the owner of cocoapods-binary is currently busy.
Although, this plugin brings us a bunch of advantages in working iOS app development.
Respectfully, I created this forked repo inorder to gather PRs to fix issues and merge into the original repository in the future.

## Installation

```
gem 'cocoapods-binary', git: "https://github.com/muukii/cocoapods-binary.git", branch: "master"
```

## Contribution

Please submit a PR to my forked repo from `https://github.com/muukii/cocoapods-binary/pulls`.
I'll merge it.
**But I can't review well because I don't have much experience with Ruby. So I really need developers who can handle ruby code.**

---

<p align="center"><img src="/test/logo.png" width="622"></p>

Expand Down Expand Up @@ -63,7 +101,20 @@ If your `Pods` folder is excluded from git, you may add `keep_source_code_for_pr

If bitcode is needed, add a `enable_bitcode_for_prebuilt_frameworks!` before all targets in Podfile

<span id='all_not_probuild'>`all_not_probuild`: </span>If you want to disable binary for all pods, you can use `all_not_prebuild!`, it has high priority to other binary settings.

<span id="BinPodfile">BinPodfie: </span>If you need to frequently modify the configuration of `cocoapods-binary`, but do not want to synchronize to the git repository, you can use `BinPodfile`, add `BinPodfile` to your `.gitignor`file.

```ruby

# You can write the `cocoapods-binary` plugin configuration in this file.
# Prevent frequent modification of `Podfile` on CI machines.

# e.g
forbidden_dependency_binary!

all_not_prebuild!
```
#### Known Issues

- doesn't support watchos now
Expand Down
2 changes: 1 addition & 1 deletion cocoapods-binary.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
spec.add_dependency "fourflusher", "~> 2.0"
spec.add_dependency "xcpretty", "~> 0.3.0"

spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'bundler', '> 1.3'
spec.add_development_dependency 'rake'
end
8 changes: 8 additions & 0 deletions demo/BinPodfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# You can write the `cocoapods-binary` plugin configuration in this file.
# Prevent frequent modification of `Podfile` on CI machines.

# e.g
forbidden_dependency_binary!

all_not_prebuild!
2 changes: 1 addition & 1 deletion demo/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# frozen_string_literal: true
source "https://rubygems.org"

gem 'cocoapods', '1.6.1'
gem 'cocoapods', '1.10.0'
gem 'cocoapods-binary', :path => "../"
gem 'xcpretty'
Loading