New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply Xcode 11 XCTUnwrap
fix to library and framework targets.
#9500
Conversation
@@ -13,13 +13,18 @@ def pod_target(spec, target_definition) | |||
end | |||
|
|||
before do | |||
@target_definition = fixture_target_definition | |||
project_path = SpecHelper.create_sample_app_copy_from_fixture('SampleProject') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test setup was not using an actual project to the aggregate target. Now it does.
5603f1d
to
752b5ed
Compare
@@ -190,7 +195,7 @@ def pod_target(spec, target_definition) | |||
end | |||
|
|||
it 'links the pod targets with the aggregate target' do | |||
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-l"BananaLib-Pods"' | |||
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-l"BananaLib-Pods-SampleProject"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is correct since we are now integrating on a real project and a real user target.
752b5ed
to
bc34161
Compare
bc34161
to
a3eea75
Compare
a3eea75
to
18d8b32
Compare
b98a518
to
f45d1fc
Compare
a43f02b
to
f511e31
Compare
f511e31
to
7cbcc9f
Compare
XCTUnwrap
fix to library and framwork targets.XCTUnwrap
fix to library and framework targets.
02ef6cc
to
d2b5d91
Compare
ac1072e
to
67ac0b9
Compare
67ac0b9
to
5bacd5e
Compare
5bacd5e
to
60a2285
Compare
See https://developer.apple.com/documentation/xcode_release_notes/xcode_11_release_notes
Integration specs: CocoaPods/cocoapods-integration-specs#266
This fixes it for both user targets that have this issue and fixes also for pod targets.