wordpress-mobile / gutenberg-mobile

Mobile version of Gutenberg - native iOS and Android
GNU General Public License v2.0
236 stars 55 forks source link

Avoid including source map file in app's binary #6760

Closed fluiddot closed 3 months ago

fluiddot commented 4 months ago

Related PRs:

Internal ref: pcdRpT-5rI-p2#comment-9518

This PR updates the approach for including the React Native source map when publishing the GBM via the XCFramework. The goal is to avoid including it in the final app's binary. Instead of including the file as an asset in the Xcode project, we'll create a new folder to hold both the bundle and source map independent of the iOS frameworks.

The previous approach was introduced in https://github.com/wordpress-mobile/WordPress-iOS/pull/22862.

To test:

PR submission checklist: