rc1 is missing --no-integrate flag
$ gem install cocoapods -v 1.0.0.rc.1
$ 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
e.g. Install all pods but skip integration
What happened instead?
Got this error
[!] 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
platform :ios, '9.3'
pod 'AFNetworking/Serialization', '3.1.0'
pod 'AFNetworking/Security', '3.1.0'
pod 'AFNetworking/Reachability', '3.1.0'
pod 'AFNetworking/NSURLSession', '3.1.0'
pod 'AFNetworking/UIKit', '3.1.0'
This isn't deleted, it's been moved to inside the Podfile
platform :ios, '9.3'
install! 'cocoapods', :integrate_targets => false
pod 'AFNetworking/Serialization', '3.1.0'
pod 'AFNetworking/Security', '3.1.0'
pod 'AFNetworking/Reachability', '3.1.0'
pod 'AFNetworking/NSURLSession', '3.1.0'
pod 'AFNetworking/UIKit', '3.1.0'
This flag is needed to maintain compatibility with the xamarin command line tool objective sharpie.
Are there any plans to add the flag as a command line option as well?
This is totally new to us, heh, I'd happily discuss ways to work with automated tools in this way - @CocoaPods/core could sharpie use a scoped config? Guess global might not be a good idea ( though they could turn the setting on, then off I guess )
Looks like the tool is generating its Podfile, so it should just add
install! 'cocoapods', :integrate_targets => false
to the file it is generating.
Aye, submitted a bug: https://bugzilla.xamarin.com/show_bug.cgi?id=40822
I've just released Objective Sharpie 3.1 which supports (and requires) CocoaPods 1.0 or newer by using @neonichu's suggestion of using :integrate_targets => false in the generated Podfile.
Thanks!
Thx for the follow-up @abock :+1:
Thanks for the lightning fast response!!! ⚡️🔥
On May 31, 2016, at 5:26 PM, AliSoftware [email protected] wrote:
Thx for the follow-up @abock 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
This page on the site needs updating to reference this new way of doing --no-intregrate
http://guides.cocoapods.org/terminal/commands.html#pod_install
Cool, want to look at updating that?
Oh wow, this totally got lost in my inbox. Anyway, yeah I can do that. No idea how though! @orta
Trying the following from http://guides.cocoapods.org/using/faq.html
Note that CocoaPods itself does not require the use of a workspace. If you prefer to use sub-projects, you can do so by running pod install --no-integrate, which will leave integration into your project up to you as you see fit.
Perhaps this should be changed too if it's no longer relevant.
Most helpful comment
Aye, submitted a bug: https://bugzilla.xamarin.com/show_bug.cgi?id=40822