Commit 8d237573 authored by Fabio Pelosin's avatar Fabio Pelosin

[TargetIntegrator] Fixed a crash related to `PBXVariantGroup`

Closes #859
parent b5e70770
## 0.17.0.rc4 ## 0.17.0.rc4
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc1...0.17.0.rc2 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc3...0.17.0.rc4
[Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.5.0...0.5.1))
###### Bug fixes ###### Bug fixes
...@@ -14,6 +13,9 @@ ...@@ -14,6 +13,9 @@
- Fixed an issue which lead to the creation of a Pods project which would - Fixed an issue which lead to the creation of a Pods project which would
crash Xcode. crash Xcode.
[#854](https://github.com/CocoaPods/CocoaPods/issues/854) [#854](https://github.com/CocoaPods/CocoaPods/issues/854)
- Fixed a crash related to a `PBXVariantGroup` present in the frameworks build
phase of client targets.
[#859](https://github.com/CocoaPods/CocoaPods/issues/859)
###### Ancillary enhancements ###### Ancillary enhancements
...@@ -22,7 +24,7 @@ ...@@ -22,7 +24,7 @@
folders. folders.
## 0.17.0.rc3 ## 0.17.0.rc3
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc1...0.17.0.rc2 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc2...0.17.0.rc3
[Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.5.0...0.5.1)) [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.5.0...0.5.1))
###### Bug fixes ###### Bug fixes
......
...@@ -52,7 +52,7 @@ module Pod ...@@ -52,7 +52,7 @@ module Pod
non_integrated = targets.reject do |target| non_integrated = targets.reject do |target|
target.frameworks_build_phase.files.any? do |build_file| target.frameworks_build_phase.files.any? do |build_file|
file_ref = build_file.file_ref file_ref = build_file.file_ref
!file_ref.proxy? && file_ref.display_name == library.product_name file_ref.isa == 'PBXFileReference' && file_ref.display_name == library.product_name
end end
end end
@targets = non_integrated @targets = non_integrated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment