Skip to content

Commit

Permalink
Merge pull request #327 from wordpress-mobile/fix-cocoapods-generate-…
Browse files Browse the repository at this point in the history
…duplicate-uuid

Fix cocoapods generate duplicate UUID
  • Loading branch information
crazytonyli authored Nov 29, 2022
2 parents b08c801 + b25c94f commit 1674c2f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ _None._

_None._

## [2.0.0-beta.2](https://github.com/wordpress-mobile/WordPress-iOS-Shared/releases/tag/2.0.0-beta.2)

### Bug Fixes

- Fix an issue where 'pod install' produces a 'duplicate UUID' warning. [#327]

## [2.0.0-beta.1](https://github.com/wordpress-mobile/WordPress-iOS-Shared/releases/tag/2.0.0-beta.1)

### Breaking Changes
Expand Down
7 changes: 5 additions & 2 deletions WordPressShared.podspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# frozen_string_literal: true

require 'rake'

# rubocop:disable Metrics/BlockLength

Pod::Spec.new do |s|
s.name = 'WordPressShared'
s.version = '2.0.0-beta.1'
s.version = '2.0.0-beta.2'

s.summary = 'Shared components used in building the WordPress iOS apps and other library components.'
s.description = <<-DESC
Expand All @@ -21,7 +23,8 @@ Pod::Spec.new do |s|
s.swift_version = '5.0'

s.source = { git: 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', tag: s.version.to_s }
s.source_files = 'Sources/WordPressShared/**/*.swift', 'Sources/WordPressSharedObjC/**/*.{h,m}'
s.source_files = ['Sources/WordPressShared/**/*.swift'] \
+ FileList['Sources/WordPressSharedObjC/**/*.{h,m}'].exclude('Sources/WordPressSharedObjC/include')
s.public_header_files = 'Sources/WordPressSharedObjC/include', 'Sources/WordPressSharedObjC/WordPressShared.h'
s.private_header_files = 'Sources/WordPressSharedObjC/Private/*.h'
s.resource_bundles = {
Expand Down

0 comments on commit 1674c2f

Please sign in to comment.