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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/ann_flavor_cocoapods/podfile_helper.rb +8 -1
- data/lib/ann_flavor_cocoapods/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b0e1bb68275b1d578297486ab87ecaec7689d37cbcdd3613d79fc58dec5912c
|
|
4
|
+
data.tar.gz: c70efd481e9e89524208069482310c4f5c3776d31375587e25c180f943b0d729
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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}
|
|
114
|
+
" #{xcode_config}) SRC_PLIST=\"${SRCROOT}/../#{plist_path}\" ;;"
|
|
108
115
|
end.join("\n")
|
|
109
116
|
|
|
110
117
|
pre_build_script = <<~SHELL
|