Skip to content
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

Fix missing -ObjC for xcframeworks - take 2 #10460

Merged
merged 3 commits into from Jul 2, 2021
Merged

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Feb 24, 2021

Fix #10459 - a better file_accessor solution that undoes the build_settings.rb changes from #10234

Integration test companion is CocoaPods/cocoapods-integration-specs#312

@paulb777 paulb777 marked this pull request as draft February 24, 2021 18:30
@paulb777 paulb777 marked this pull request as ready for review February 25, 2021 01:13
@paulb777 paulb777 changed the title fix missing -objc for xcframeworks - take 2 fix missing -ObjC for xcframeworks - take 2 Feb 25, 2021
@paulb777 paulb777 changed the title fix missing -ObjC for xcframeworks - take 2 Fix missing -ObjC for xcframeworks - take 2 Feb 25, 2021
# that come shipped with the Pod.
#
def vendored_static_xcframeworks
vendored_xcframeworks.select do |path|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do these need to be compact?

Copy link
Contributor

@dnkoutso dnkoutso Feb 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess not it seems it only selects the ones that are static frameworks?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think since select just needs a boolean we don't need to return the path

select do |path|
   Xcode::XCFramework.new(path).build_type == BuildType.static_framework
end

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed. Thanks @amorde !

@dnkoutso
Copy link
Contributor

dnkoutso commented Jul 2, 2021

@paulb777 whats left here? is it just landing integration specs, merging this and publishing 1.10.2?

@paulb777
Copy link
Member Author

paulb777 commented Jul 2, 2021

@dnkoutso Yes. It should be ready to go.

@dnkoutso
Copy link
Contributor

dnkoutso commented Jul 2, 2021

OK merged integration specs!

@paulb777
Copy link
Member Author

paulb777 commented Jul 2, 2021

Integration tests updated in CocoaPods/cocoapods-integration-specs#313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants