File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -523,8 +523,10 @@ example and platform-specific setup notes.
523523}
524524```
525525
526- The Expo plugin writes the Android Gradle property, CocoaPods' ` ZFH_ENGINE ` , and
527- the ` ZFHEngine ` value used by SwiftPM.
526+ The Expo plugin sets the Android Gradle property and CocoaPods' ` ZFH_ENGINE ` .
527+ It also mirrors the selected engine to ` ZFHEngine ` in ` Info.plist ` , but Expo
528+ Prebuild currently uses CocoaPods on iOS. This key does not enable SwiftPM; it
529+ is kept for forward compatibility with React Native's SwiftPM selector.
528530
529531If ` engine ` is omitted, ` native ` is used.
530532
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ function updatePodfileContents(contents, engine) {
100100
101101function setIosEngine ( config , engine ) {
102102 config = withInfoPlist ( config , ( mod ) => {
103- // SwiftPM's autolinking plugin compiles only the engine selected here.
104- // no key means native, matching the CocoaPods default .
103+ // Expo Prebuild currently uses CocoaPods on iOS. Keep this value in
104+ // sync for React Native's SwiftPM selector; it does not enable SwiftPM .
105105 mod . modResults . ZFHEngine = engine ;
106106 return mod ;
107107 } ) ;
You can’t perform that action at this time.
0 commit comments