All Projects → CocoaPods → Rome

CocoaPods / Rome

Licence: mit
Makes it easy to build a list of frameworks.

Programming Languages

ruby
36898 projects - #4 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to Rome

Cocoapods
The Cocoa Dependency Manager.
Stars: ✭ 13,503 (+1974.19%)
Mutual labels:  cocoapods, dependency-manager
Kydrawercontroller
Side Drawer Navigation Controller similar to Android
Stars: ✭ 632 (-2.92%)
Mutual labels:  cocoapods
Gradientloadingbar
⌛️A customizable animated gradient loading bar.
Stars: ✭ 569 (-12.6%)
Mutual labels:  cocoapods
Multiprogressview
📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (-5.68%)
Mutual labels:  cocoapods
Concentriconboarding
SwiftUI library for a walkthrough or onboarding flow with tap actions
Stars: ✭ 586 (-9.98%)
Mutual labels:  cocoapods
Unity Jar Resolver
Unity plugin which resolves Android & iOS dependencies and performs version management
Stars: ✭ 623 (-4.3%)
Mutual labels:  cocoapods
Sidemenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Stars: ✭ 5,267 (+709.06%)
Mutual labels:  cocoapods
Guitar
A Cross-Platform String and Regular Expression Library written in Swift.
Stars: ✭ 641 (-1.54%)
Mutual labels:  cocoapods
Pdfgenerator
A simple generator of PDF written in Swift.
Stars: ✭ 629 (-3.38%)
Mutual labels:  cocoapods
Orsserialport
Serial port library for Objective-C and Swift macOS apps
Stars: ✭ 609 (-6.45%)
Mutual labels:  cocoapods
Gradientview
Easily use gradients in UIKit for iOS & tvOS
Stars: ✭ 610 (-6.3%)
Mutual labels:  cocoapods
Haptica
Easy Haptic Feedback Generator 📳
Stars: ✭ 587 (-9.83%)
Mutual labels:  cocoapods
Jlroutes
URL routing library for iOS with a simple block-based API
Stars: ✭ 5,528 (+749.16%)
Mutual labels:  cocoapods
React Native Starter
Professional react-native starter kit with everything you'll ever need to deploy rock solid apps
Stars: ✭ 579 (-11.06%)
Mutual labels:  cocoapods
Urlembeddedview
URLEmbeddedView automatically caches the object that is confirmed the Open Graph Protocol.
Stars: ✭ 633 (-2.76%)
Mutual labels:  cocoapods
Monkeydev
CaptainHook Tweak、Logos Tweak and Command-line Tool、Patch iOS Apps, Without Jailbreak.
Stars: ✭ 5,492 (+743.63%)
Mutual labels:  cocoapods
Jhchart
Stars: ✭ 593 (-8.91%)
Mutual labels:  cocoapods
Swiftoverlays
SwiftOverlays is a Swift GUI library for displaying various popups and notifications
Stars: ✭ 621 (-4.61%)
Mutual labels:  cocoapods
Flexiblepagecontrol
A flexible UIPageControl like Instagram.
Stars: ✭ 638 (-2%)
Mutual labels:  cocoapods
Stlocationrequest
Request the Location Services via a 3D 360° flyover MKMapView 🗺
Stars: ✭ 636 (-2.3%)
Mutual labels:  cocoapods

cocoapods-rome

Rome makes it easy to build a list of frameworks for consumption outside of Xcode, e.g. for a Swift script.

Installation

$ gem install cocoapods-rome

Important

In the examples below the target 'caesar' could either be an existing target of a project managed by cocapods for which you'd like to run a swift script or it could be fictitious, for example if you wish to run this on a standalone Podfile and get the frameworks you need for adding to your xcode project manually.

Usage

Write a simple Podfile, like this:

MacOS

platform :osx, '10.10'

plugin 'cocoapods-rome'

target 'caesar' do
  pod 'Alamofire'
end

iOS

platform :ios, '8.0'

plugin 'cocoapods-rome', { :pre_compile => Proc.new { |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '4.0'
        end
    end

    installer.pods_project.save
},

    dsym: false,
    configuration: 'Release'
}

target 'caesar' do
  pod 'Alamofire'
end

then run this:

pod install

and you will end up with dynamic frameworks:

$ tree Rome/
Rome/
└── Alamofire.framework

Advanced Usage

For your production builds, when you want dSYMs created and stored:

platform :osx, '10.10'

plugin 'cocoapods-rome', {
  dsym: true,
  configuration: 'Release'
}

target 'caesar' do
  pod 'Alamofire'
end

Resulting in:

$ tree dSYM/
dSYM/
├── iphoneos
│   └── Alamofire.framework.dSYM
│       └── Contents
│           ├── Info.plist
│           └── Resources
│               └── DWARF
│                   └── Alamofire
└── iphonesimulator
    └── Alamofire.framework.dSYM
        └── Contents
            ├── Info.plist
            └── Resources
                └── DWARF
                    └── Alamofire

Hooks

The plugin allows you to provides hooks that will be called during the installation process.

pre_compile

This hook allows you to make any last changes to the generated Xcode project before the compilation of frameworks begins.

It receives the Pod::Installer as its only argument.

post_compile

This hook allows you to run code after the compilation of the frameworks finished and they have been moved to the Rome folder.

It receives the Pod::Installer as its only argument.

Example

Customising the Swift version of all pods

platform :osx, '10.10'

plugin 'cocoapods-rome', 
    :pre_compile => Proc.new { |installer|
        installer.pods_project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['SWIFT_VERSION'] = '4.0'
            end
        end

        installer.pods_project.save
    },
    :post_compile => Proc.new { |installer|
        puts "Rome finished building all the frameworks"
    }

target 'caesar' do
    pod 'Alamofire'
end
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].