expo-modules-autolinking 0.5.2 → 0.5.3

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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.5.3 — 2021-12-28
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix `expo_patch_react_imports!` error when there are pods with absolute path. ([#15699](https://github.com/expo/expo/pull/15699) by [@kudo](https://github.com/kudo))
18
+
13
19
  ## 0.5.2 — 2021-12-22
14
20
 
15
21
  ### 🐛 Bug fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -47,5 +47,5 @@
47
47
  "find-up": "^5.0.0",
48
48
  "fs-extra": "^9.1.0"
49
49
  },
50
- "gitHead": "0546c63f2d7c25315dd709de8a1c7a3478d83564"
50
+ "gitHead": "17fe5449b2edaf40c631180e6b817cc4f502d331"
51
51
  }
@@ -47,16 +47,10 @@ module Expo
47
47
  project = Xcodeproj::Project.open(File.join(installer.sandbox.root, pod.path))
48
48
  groups = project.groups.select { |group| !(['Dependencies', 'Frameworks', 'Products'].include? group.name) }
49
49
  groups.each do |group|
50
- unless group.path.start_with? '../'
51
- raise 'CocoaPods does not put pod subprojects inside nested directories'
52
- end
53
- result.append(group.path[3..])
50
+ result.append(group.real_path.to_s)
54
51
  end
55
52
  else
56
- unless pod.path.start_with? '../'
57
- raise 'CocoaPods does not put pod subgroups inside nested directories'
58
- end
59
- result.append(pod.path[3..])
53
+ result.append(pod.real_path.to_s)
60
54
  end
61
55
  end
62
56