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
53a078b6
Commit
53a078b6
authored
Sep 05, 2017
by
Justin Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perform code signing on xctest bundles in the Pods project
parent
6309df9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
CHANGELOG.md
CHANGELOG.md
+4
-0
pod_target_installer.rb
...ller/xcode/pods_project_generator/pod_target_installer.rb
+2
-0
pod_target_installer_spec.rb
...xcode/pods_project_generator/pod_target_installer_spec.rb
+1
-0
No files found.
CHANGELOG.md
View file @
53a078b6
...
...
@@ -26,6 +26,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
*
Perform code signing on xctest bundles in the Pods project generated by a test spec
[
Justin Martin
](
https://github.com/justinseanmartin
)
[
#7013
](
https://github.com/CocoaPods/CocoaPods/pull/7013
)
*
Wrap platform warning message with quotes
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#6968
](
https://github.com/CocoaPods/CocoaPods/pull/6968
)
...
...
lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb
View file @
53a078b6
...
...
@@ -199,6 +199,8 @@ module Pod
# requires frameworks. For tests we always use the test target name as the product name
# irrelevant to whether we use frameworks or not.
configuration
.
build_settings
[
'PRODUCT_NAME'
]
=
name
# We need to codesign the contents of xctest bundles for Xcode to allow them to be launchable
configuration
.
build_settings
[
'CODE_SIGNING_REQUIRED'
]
=
'YES'
end
# Test native targets also need frameworks and resources to be copied over to their xctest bundle.
...
...
spec/unit/installer/xcode/pods_project_generator/pod_target_installer_spec.rb
View file @
53a078b6
...
...
@@ -190,6 +190,7 @@ module Pod
native_test_target
.
product_reference
.
name
.
should
==
'CoconutLib-Unit-Tests'
native_test_target
.
build_configurations
.
each
do
|
bc
|
bc
.
build_settings
[
'PRODUCT_NAME'
].
should
==
'CoconutLib-Unit-Tests'
bc
.
build_settings
[
'CODE_SIGNING_REQUIRED'
].
should
==
'YES'
end
native_test_target
.
symbol_type
.
should
==
:unit_test_bundle
@coconut_pod_target
.
test_native_targets
.
count
.
should
==
1
...
...
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