EAS update build phase (managed workflow)

I successfully added the files to the project. I searched for the withXcodeProject method in Expo repo Search · withXcodeProject · GitHub
and found this example expo/withNotificationsIOS.ts at 35f78160a9ec1758ca73eb9e079a1c278c9b1bb1 · expo/expo · GitHub

These are the steps I followed:

  • added the path to a local plugin on expo.plugins array in app.json
  • created a plugin similar to the withNotificationsIOS.ts plugin.
  • imported IOSConfig from @expo/config-plugins and checked the methods in IOSConfig.XcodeUtils. There are methods such as addBuildSourceFileToGroup or addFileToGroupAndLink that will update the project as if you did it with XCode.

I hope this helps.

1 Like