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
c75bc993
Commit
c75bc993
authored
Feb 24, 2015
by
Boris Bügling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Validator] Make `use_frameworks` the default.
parent
684b0446
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
validator.rb
lib/cocoapods/validator.rb
+2
-2
No files found.
lib/cocoapods/validator.rb
View file @
c75bc993
...
@@ -478,14 +478,14 @@ module Pod
...
@@ -478,14 +478,14 @@ module Pod
# @note The generated podfile takes into account whether the linter is
# @note The generated podfile takes into account whether the linter is
# in local mode.
# in local mode.
#
#
def
podfile_from_spec
(
platform_name
,
deployment_target
,
use_frameworks
=
nil
)
def
podfile_from_spec
(
platform_name
,
deployment_target
,
use_frameworks
=
true
)
name
=
subspec_name
?
subspec_name
:
spec
.
name
name
=
subspec_name
?
subspec_name
:
spec
.
name
podspec
=
file
.
realpath
podspec
=
file
.
realpath
local
=
local?
local
=
local?
urls
=
source_urls
urls
=
source_urls
podfile
=
Pod
::
Podfile
.
new
do
podfile
=
Pod
::
Podfile
.
new
do
urls
.
each
{
|
u
|
source
(
u
)
}
urls
.
each
{
|
u
|
source
(
u
)
}
use_frameworks!
(
use_frameworks
)
unless
use_frameworks
.
nil?
use_frameworks!
(
use_frameworks
)
platform
(
platform_name
,
deployment_target
)
platform
(
platform_name
,
deployment_target
)
if
local
if
local
pod
name
,
:path
=>
podspec
.
dirname
.
to_s
pod
name
,
:path
=>
podspec
.
dirname
.
to_s
...
...
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