ann-flavor-cocoapods 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68d1ff5f9bf8533ecca17a78b76eccb3cc1e1f96fe47cb2508ca3f7127039677
4
- data.tar.gz: 13b5c7f1204d0039870f744d2d023f899f79f379508c5b1192fe3b49471e7edd
3
+ metadata.gz: 1b0e1bb68275b1d578297486ab87ecaec7689d37cbcdd3613d79fc58dec5912c
4
+ data.tar.gz: c70efd481e9e89524208069482310c4f5c3776d31375587e25c180f943b0d729
5
5
  SHA512:
6
- metadata.gz: c2dfa492f8b8207c7c7c4c16a257c6301140558e1d66bffd12cf0892094651c8669ee0676c4af442c6cbb733e13472c5cb416519f2ccf1ca816c125f9a156f44
7
- data.tar.gz: 5091ec1ca8f849dbfeac61d79d739680f8ee19a02a93d8e9f474d199ca69cc456acbb2b3fdf369773f1b86b461949c06be6ceb161ec3259c01f1215ee49fe87b
6
+ metadata.gz: 3f4072d4ab05d2ab0846d50e358deb9c7e05b68c6003a2c70c11095d98e23015c1d8b03c00fb4914557164b3d62634de17cf1c77538c4163a3b18d16be0717b5
7
+ data.tar.gz: 161cc54864a1cb6a812a84e2601ef2a74fd0e6c8bf9774448113247955af0015134e2715c6ae3bf16b070c31f60a167117be7967630b8ab2b88c15f5390e82b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.22
4
+
5
+ ### Fixed
6
+ - 0.1.21 fixed which target the Firebase plist copy build phase runs in but left an off-by-one in the source path it computes — `"${SRCROOT}/../../#{plist_path}"` looked two directories above `$SRCROOT` (`<project_root>/ios`), landing one level *above* the Flutter project root, so the script failed with `Firebase plist not found` even though the file existed exactly where expected. `plist_path` is relative to the Flutter project root, and for the real `Runner` target `$SRCROOT` is `<project_root>/ios` — one level below it — so only a single `..` is needed. Fixed.
7
+
3
8
  ## 0.1.21
4
9
 
5
10
  ### Fixed
@@ -103,8 +103,15 @@ module AnnFlavorCocoapods
103
103
  def self.inject_build_phases(installer, project_root, config_map)
104
104
  # Build the per-config shell that selects the right source file.
105
105
  # Uses a case statement keyed on $CONFIGURATION (Xcode build setting).
106
+ # plist_path is relative to the Flutter project root (e.g.
107
+ # lib/generated/firebase/...); for the real Runner target (fixed by
108
+ # DEF-061, #61) $SRCROOT is <project_root>/ios, one level below the
109
+ # project root — a single ".." reaches it. (The old ".." x2 was
110
+ # seemingly sized for Pods-Runner's $SRCROOT, one level deeper still
111
+ # inside CocoaPods' generated Pods.xcodeproj, but that build phase never
112
+ # actually ran there either, so this was never previously exercised.)
106
113
  case_body = config_map.map do |xcode_config, plist_path|
107
- " #{xcode_config}) SRC_PLIST=\"${SRCROOT}/../../#{plist_path}\" ;;"
114
+ " #{xcode_config}) SRC_PLIST=\"${SRCROOT}/../#{plist_path}\" ;;"
108
115
  end.join("\n")
109
116
 
110
117
  pre_build_script = <<~SHELL
@@ -1,3 +1,3 @@
1
1
  module AnnFlavorCocoapods
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.22"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ann-flavor-cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - ANN Solutions