I’m trying to build iOS App with EAS. And it started to give EAS Build failed due to EXBarCodeScanner.o does not contain bitcode since last Friday.
- Whether you are bare or managed workflow: Managed
- Your
eas-cli
version: eas-cli/3.0.0 darwin-x64 node-v16.15.1, expo sdk 45
- What you have tried so far:
- [iOS] eas build fail, due to symbol not found for architecture(git lfs(Large File Storage)) · Issue #17317 · expo/expo · GitHub
- latest base image for ios in
eas.json
: which seems to supports. SDK > 46.
Created Github ticket with more details:
Abled to fix this issue by disabling bitcode with custom plugin
//./plugins/withNoBitcode.js
const { withXcodeProject } = require('@expo/config-plugins');
module.exports = function withNoBitcode(config) {
return withXcodeProject(config, async (config) => {
const xcodeProject = config.modResults;
xcodeProject.addBuildProperty('ENABLE_BITCODE', 'NO');
return config;
});
}
{
expo: {
plugins: [
"'./plugins/withNoBitcode'"
]
}
}
1 Like
system
Closed
4
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.