Skip to content

Instantly share code, notes, and snippets.

@inamiy
Created December 29, 2014 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inamiy/62486390b50f3901ffb6 to your computer and use it in GitHub Desktop.
Save inamiy/62486390b50f3901ffb6 to your computer and use it in GitHub Desktop.
`pod trunk push --verbose` with/without `spec.requires_arc = true` (NOTE: both cases passes `pod lib lint` validation)
# Memo: no `spec.requires_arc = true` in podspec (push failed)
inamiy@inamiy-MBPR:~/github/Swizzle (master *)$ pod trunk push --verbose
[!] Found podspec `Swizzle.podspec`
Validating podspec
Swizzle (0.0.2) - Analyzing on OS X platform.
Preparing
Analyzing dependencies
Inspecting targets to integrate
Fetching external sources
-> Fetching podspec for `Swizzle` from `/Users/inamiy/github/Swizzle/Swizzle.podspec`
Resolving dependencies of
Starting resolution (2014-12-29 10:38:38 +0900)
Creating possibility state for Swizzle (from `/Users/inamiy/github/Swizzle/Swizzle.podspec`) (1 remaining)
Attempting to activate Swizzle (0.0.2)
Activated Swizzle at Swizzle (0.0.2)
Requiring nested dependencies ()
Finished resolution (1 steps) (Took 0.001648 seconds) (2014-12-29 10:38:38 +0900)
Unactivated:
Activated: Swizzle
Comparing resolved specification to the sandbox manifest
A Swizzle
Downloading dependencies
-> Installing Swizzle (0.0.2)
> Git download
> Git download
$ /usr/local/bin/git clone https://github.com/inamiy/Swizzle.git /private/tmp/CocoaPods/Lint/Pods/Swizzle --single-branch --depth 1 --branch
0.0.2
Cloning into '/private/tmp/CocoaPods/Lint/Pods/Swizzle'...
Note: checking out '6fafce8bf41703a6c7ab1eede8bd144dde474913'.
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
Checking connectivity... done
- Running pre install hooks
Generating Pods project
- Creating Pods project
- Adding source files to Pods project
- Adding frameworks to Pods project
- Adding libraries to Pods project
- Adding resources to Pods project
- Linking headers
- Installing targets
- Installing target `Pods-Swizzle` OS X 10.6
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle-umbrella.h`
- Installing target `Pods` OS X 10.6
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h`
- Running post install hooks
- Writing Xcode project file to `../../../../private/tmp/CocoaPods/Lint/Pods/Pods.xcodeproj`
- Writing Lockfile in `../../../../private/tmp/CocoaPods/Lint/Podfile.lock`
- Writing Manifest in `../../../../private/tmp/CocoaPods/Lint/Pods/Manifest.lock`
Building with xcodebuild.
xcodebuild clean build -target Pods
=== CLEAN TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on OS X earlier than 10.9; please set MACOSX_DEPLOYMENT_TARGET to 10.9 or later (currently it is '10.6').
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on OS X earlier than 10.9; please set MACOSX_DEPLOYMENT_TARGET to 10.9 or later (currently it is '10.6').
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Swizzle (0.0.2) - Analyzing on iOS platform.
Preparing
Analyzing dependencies
Inspecting targets to integrate
Fetching external sources
-> Fetching podspec for `Swizzle` from `/Users/inamiy/github/Swizzle/Swizzle.podspec`
Resolving dependencies of
Starting resolution (2014-12-29 10:38:41 +0900)
Creating possibility state for Swizzle (from `/Users/inamiy/github/Swizzle/Swizzle.podspec`) (1 remaining)
Attempting to activate Swizzle (0.0.2)
Activated Swizzle at Swizzle (0.0.2)
Requiring nested dependencies ()
Finished resolution (1 steps) (Took 0.00166 seconds) (2014-12-29 10:38:41 +0900)
Unactivated:
Activated: Swizzle
Comparing resolved specification to the sandbox manifest
A Swizzle
Downloading dependencies
-> Installing Swizzle (0.0.2)
> Git download
> Git download
$ /usr/local/bin/git clone https://github.com/inamiy/Swizzle.git /private/tmp/CocoaPods/Lint/Pods/Swizzle --single-branch --depth 1 --branch
0.0.2
Cloning into '/private/tmp/CocoaPods/Lint/Pods/Swizzle'...
Note: checking out '6fafce8bf41703a6c7ab1eede8bd144dde474913'.
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
Checking connectivity... done
- Running pre install hooks
Generating Pods project
- Creating Pods project
- Adding source files to Pods project
- Adding frameworks to Pods project
- Adding libraries to Pods project
- Adding resources to Pods project
- Linking headers
- Installing targets
- Installing target `Pods-Swizzle` iOS 4.3
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle-umbrella.h`
- Installing target `Pods` iOS 4.3
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h`
- Running post install hooks
- Writing Xcode project file to `../../../../private/tmp/CocoaPods/Lint/Pods/Pods.xcodeproj`
- Writing Lockfile in `../../../../private/tmp/CocoaPods/Lint/Podfile.lock`
- Writing Manifest in `../../../../private/tmp/CocoaPods/Lint/Pods/Manifest.lock`
Building with xcodebuild.
xcodebuild clean build -target Pods
=== CLEAN TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '4.3').
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '4.3').
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
-> Swizzle (0.0.2)
opening connection to trunk.cocoapods.org:443...
opened
starting SSL for trunk.cocoapods.org:443...
SSL established
<- "POST /api/v1/pods HTTP/1.1\r\nContent-Type: application/json; charset=utf-8\r\nAccept: application/json; charset=utf-8\r\nAuthorization: Token 41b02368d00ef1354ba0b2fd3cc8d274\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nUser-Agent: Ruby\r\nHost: trunk.cocoapods.org\r\nContent-Length: 305\r\n\r\n"
<- "{\"name\":\"Swizzle\",\"version\":\"0.0.2\",\"license\":{\"type\":\"MIT\"},\"homepage\":\"https://github.com/inamiy/Swizzle\",\"authors\":{\"Yasuhiro Inami\":\"inamiy@gmail.com\"},\"summary\":\"Method-Swizzling for Swift.\",\"source\":{\"git\":\"https://github.com/inamiy/Swizzle.git\",\"tag\":\"0.0.2\"},\"source_files\":\"Swizzle/*.{h,swift}\"}\n"
-> "HTTP/1.1 422 \r\n"
-> "Date: Mon, 29 Dec 2014 01:38:46 GMT\r\n"
-> "Connection: keep-alive\r\n"
-> "Strict-Transport-Security: max-age=31536000\r\n"
-> "Content-Type: application/json\r\n"
-> "Content-Length: 170\r\n"
-> "X-Content-Type-Options: nosniff\r\n"
-> "Server: thin 1.6.2 codename Doc Brown\r\n"
-> "Via: 1.1 vegur\r\n"
-> "\r\n"
reading 170 bytes...
-> "{\"error\":\"The Pod Specification did not pass validation.\",\"data\":{\"warnings\":[\"A value for `requires_arc` should be specified until the migration to a `true` default.\"]}}"
read 170 bytes
Conn keep-alive
[!] The Pod Specification did not pass validation.
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/cocoapods-trunk-0.5.0/lib/pod/command/trunk.rb:69:in `print_error'
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/cocoapods-trunk-0.5.0/lib/pod/command/trunk.rb:28:in `request_url'
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/cocoapods-trunk-0.5.0/lib/pod/command/trunk.rb:34:in `request_path'
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/cocoapods-trunk-0.5.0/lib/pod/command/trunk/push.rb:57:in `run'
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/claide-0.8.0/lib/claide/command.rb:312:in `run'
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/cocoapods-0.36.0.beta.1/lib/cocoapods/command.rb:45:in `run'
/Users/inamiy/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/cocoapods-0.36.0.beta.1/bin/pod:43:in `<top (required)>'
/Users/inamiy/.rbenv/versions/2.2.0/bin/pod:23:in `load'
/Users/inamiy/.rbenv/versions/2.2.0/bin/pod:23:in `<main>'
# NOTE: added `spec.requires_arc = true` in podspec (pushed successfully)
inamiy@inamiy-MBPR:~/github/Swizzle (master *)$ pod trunk push --verbose
[!] Found podspec `Swizzle.podspec`
Validating podspec
Swizzle (0.0.2) - Analyzing on OS X platform.
Preparing
Analyzing dependencies
Inspecting targets to integrate
Fetching external sources
-> Fetching podspec for `Swizzle` from `/Users/inamiy/github/Swizzle/Swizzle.podspec`
Resolving dependencies of
Starting resolution (2014-12-29 10:43:00 +0900)
Creating possibility state for Swizzle (from `/Users/inamiy/github/Swizzle/Swizzle.podspec`) (1 remaining)
Attempting to activate Swizzle (0.0.2)
Activated Swizzle at Swizzle (0.0.2)
Requiring nested dependencies ()
Finished resolution (1 steps) (Took 0.001384 seconds) (2014-12-29 10:43:00 +0900)
Unactivated:
Activated: Swizzle
Comparing resolved specification to the sandbox manifest
A Swizzle
Downloading dependencies
-> Installing Swizzle (0.0.2)
> Git download
> Git download
$ /usr/local/bin/git clone https://github.com/inamiy/Swizzle.git /private/tmp/CocoaPods/Lint/Pods/Swizzle --single-branch --depth 1 --branch
0.0.2
Cloning into '/private/tmp/CocoaPods/Lint/Pods/Swizzle'...
Note: checking out '6fafce8bf41703a6c7ab1eede8bd144dde474913'.
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
Checking connectivity... done
- Running pre install hooks
Generating Pods project
- Creating Pods project
- Adding source files to Pods project
- Adding frameworks to Pods project
- Adding libraries to Pods project
- Adding resources to Pods project
- Linking headers
- Installing targets
- Installing target `Pods-Swizzle` OS X 10.6
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle-umbrella.h`
- Installing target `Pods` OS X 10.6
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h`
- Running post install hooks
- Writing Xcode project file to `../../../../private/tmp/CocoaPods/Lint/Pods/Pods.xcodeproj`
- Writing Lockfile in `../../../../private/tmp/CocoaPods/Lint/Podfile.lock`
- Writing Manifest in `../../../../private/tmp/CocoaPods/Lint/Pods/Manifest.lock`
Building with xcodebuild.
xcodebuild clean build -target Pods
=== CLEAN TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on OS X earlier than 10.9; please set MACOSX_DEPLOYMENT_TARGET to 10.9 or later (currently it is '10.6').
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on OS X earlier than 10.9; please set MACOSX_DEPLOYMENT_TARGET to 10.9 or later (currently it is '10.6').
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Swizzle (0.0.2) - Analyzing on iOS platform.
Preparing
Analyzing dependencies
Inspecting targets to integrate
Fetching external sources
-> Fetching podspec for `Swizzle` from `/Users/inamiy/github/Swizzle/Swizzle.podspec`
Resolving dependencies of
Starting resolution (2014-12-29 10:43:03 +0900)
Creating possibility state for Swizzle (from `/Users/inamiy/github/Swizzle/Swizzle.podspec`) (1 remaining)
Attempting to activate Swizzle (0.0.2)
Activated Swizzle at Swizzle (0.0.2)
Requiring nested dependencies ()
Finished resolution (1 steps) (Took 0.001314 seconds) (2014-12-29 10:43:03 +0900)
Unactivated:
Activated: Swizzle
Comparing resolved specification to the sandbox manifest
A Swizzle
Downloading dependencies
-> Installing Swizzle (0.0.2)
> Git download
> Git download
$ /usr/local/bin/git clone https://github.com/inamiy/Swizzle.git /private/tmp/CocoaPods/Lint/Pods/Swizzle --single-branch --depth 1 --branch
0.0.2
Cloning into '/private/tmp/CocoaPods/Lint/Pods/Swizzle'...
Note: checking out '6fafce8bf41703a6c7ab1eede8bd144dde474913'.
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
Checking connectivity... done
- Running pre install hooks
Generating Pods project
- Creating Pods project
- Adding source files to Pods project
- Adding frameworks to Pods project
- Adding libraries to Pods project
- Adding resources to Pods project
- Linking headers
- Installing targets
- Installing target `Pods-Swizzle` iOS 4.3
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods-Swizzle/Pods-Swizzle-umbrella.h`
- Installing target `Pods` iOS 4.3
- Generating Info.plist file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist`
- Generating module map file at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap`
- Generating umbrella header at `../../../../private/tmp/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h`
- Running post install hooks
- Writing Xcode project file to `../../../../private/tmp/CocoaPods/Lint/Pods/Pods.xcodeproj`
- Writing Lockfile in `../../../../private/tmp/CocoaPods/Lint/Podfile.lock`
- Writing Manifest in `../../../../private/tmp/CocoaPods/Lint/Pods/Manifest.lock`
Building with xcodebuild.
xcodebuild clean build -target Pods
=== CLEAN TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '4.3').
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Pods-Swizzle OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Swift is unavailable on iOS earlier than 7.0; please set IPHONEOS_DEPLOYMENT_TARGET to 7.0 or later (currently it is '4.3').
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
-> Swizzle (0.0.2)
opening connection to trunk.cocoapods.org:443...
opened
starting SSL for trunk.cocoapods.org:443...
SSL established
<- "POST /api/v1/pods HTTP/1.1\r\nContent-Type: application/json; charset=utf-8\r\nAccept: application/json; charset=utf-8\r\nAuthorization: Token 41b02368d00ef1354ba0b2fd3cc8d274\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nUser-Agent: Ruby\r\nHost: trunk.cocoapods.org\r\nContent-Length: 325\r\n\r\n"
<- "{\"name\":\"Swizzle\",\"version\":\"0.0.2\",\"license\":{\"type\":\"MIT\"},\"homepage\":\"https://github.com/inamiy/Swizzle\",\"authors\":{\"Yasuhiro Inami\":\"inamiy@gmail.com\"},\"summary\":\"Method-Swizzling for Swift.\",\"source\":{\"git\":\"https://github.com/inamiy/Swizzle.git\",\"tag\":\"0.0.2\"},\"source_files\":\"Swizzle/*.{h,swift}\",\"requires_arc\":true}\n"
-> "HTTP/1.1 303 See Other\r\n"
-> "Date: Mon, 29 Dec 2014 01:43:08 GMT\r\n"
-> "Connection: keep-alive\r\n"
-> "Strict-Transport-Security: max-age=31536000\r\n"
-> "Content-Type: application/json\r\n"
-> "Location: https://trunk.cocoapods.org/api/v1/pods/Swizzle/versions/0.0.2\r\n"
-> "Content-Length: 0\r\n"
-> "X-Content-Type-Options: nosniff\r\n"
-> "Server: thin 1.6.2 codename Doc Brown\r\n"
-> "Via: 1.1 vegur\r\n"
-> "\r\n"
reading 0 bytes...
-> ""
read 0 bytes
Conn keep-alive
opening connection to trunk.cocoapods.org:443...
opened
starting SSL for trunk.cocoapods.org:443...
SSL established
<- "GET /api/v1/pods/Swizzle/versions/0.0.2 HTTP/1.1\r\nContent-Type: application/json; charset=utf-8\r\nAccept: application/json; charset=utf-8\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nUser-Agent: Ruby\r\nHost: trunk.cocoapods.org\r\n\r\n"
-> "HTTP/1.1 200 OK\r\n"
-> "Date: Mon, 29 Dec 2014 01:43:09 GMT\r\n"
-> "Connection: keep-alive\r\n"
-> "Strict-Transport-Security: max-age=31536000\r\n"
-> "Content-Type: application/json\r\n"
-> "Content-Length: 313\r\n"
-> "X-Content-Type-Options: nosniff\r\n"
-> "Server: thin 1.6.2 codename Doc Brown\r\n"
-> "Via: 1.1 vegur\r\n"
-> "\r\n"
reading 313 bytes...
-> "{\"messages\":[{\"2014-12-29 01:43:08 UTC\":\"Push for `Swizzle 0.0.2' initiated.\"},{\"2014-12-29 01:43:09 UTC\":\"Push for `Swizzle 0.0.2' has been pushed (0.936468111 s).\"}],\"data_url\":\"https://raw.githubusercontent.com/CocoaPods/Specs/6301be8c819b2f63bad8b6a706fc76b3be767a2f/Specs/Swizzle/0.0.2/Swizzle.podspec.json\"}"
read 313 bytes
Conn keep-alive
- Data URL: https://raw.githubusercontent.com/CocoaPods/Specs/6301be8c819b2f63bad8b6a706fc76b3be767a2f/Specs/Swizzle/0.0.2/Swizzle.podspec.json
- Log messages:
- December 29th, 10:43: Push for `Swizzle 0.0.2' initiated.
- December 29th, 10:43: Push for `Swizzle 0.0.2' has been pushed (0.936468111 s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment