This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { withDangerousMod, withPlugins } = require('@expo/config-plugins'); | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| function modifyPodfile(podfilePath) { | |
| let fileContent = fs.readFileSync(podfilePath, 'utf8'); | |
| const elseLine = ' else'; | |
| const targetLine = ' config = use_native_modules!'; | |
| const podLine = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require("fs"); | |
| const path = require("path"); | |
| const configPlugins = require("expo/config-plugins"); | |
| const generateCode = require("@expo/config-plugins/build/utils/generateCode"); | |
| const code = ` | |
| installer.pods_project.targets.each do |target| | |
| target.build_configurations.each do |config| | |
| config.build_settings["ONLY_ACTIVE_ARCH"] = "NO" | |
| end |