Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
ffe6470b
Commit
ffe6470b
authored
Jan 28, 2015
by
Boris Bügling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Validator] Build for iOS simulator only.
Fixes CocoaPods/swift#13
parent
6f0164ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
validator.rb
lib/cocoapods/validator.rb
+5
-2
No files found.
lib/cocoapods/validator.rb
View file @
ffe6470b
...
@@ -519,8 +519,11 @@ module Pod
...
@@ -519,8 +519,11 @@ module Pod
# returns its output (both STDOUT and STDERR).
# returns its output (both STDOUT and STDERR).
#
#
def
xcodebuild
def
xcodebuild
UI
.
puts
'xcodebuild clean build -target Pods'
if
config
.
verbose?
command
=
'xcodebuild clean build -target Pods CODE_SIGN_IDENTITY=-'
output
=
`xcodebuild clean build -target Pods 2>&1`
command
<<
' -sdk iphonesimulator'
if
consumer
.
platform_name
==
:ios
UI
.
puts
command
if
config
.
verbose?
output
=
`
#{
command
}
2>&1`
unless
$?
.
success?
unless
$?
.
success?
message
=
'Returned a unsuccessful exit code.'
message
=
'Returned a unsuccessful exit code.'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment