我已经成功使用Expo EAS构建了一个应用程序,现在我想检索生成的.dSYM文件。
有人知道这是否可能吗? 我在Expo AES构建文档中找不到相关内容。
我已经成功使用Expo EAS构建了一个应用程序,现在我想检索生成的.dSYM文件。
有人知道这是否可能吗? 我在Expo AES构建文档中找不到相关内容。
请将以下内容添加到eas.json
中:
"ios": {
"buildArtifactPaths": "ios/build/*"
}
https://github.com/expo/eas-cli/issues/968#issuecomment-1172794557
eas.json
应该是这样的:{
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"ios": {
"buildArtifactPaths": ["ios/build/*"]
}
}
}
}
eas.json
模板,并在production
配置文件中添加了ios
配置。在这个例子中,有三个配置文件:development
、preview
和production
。eas build
时没有指定配置文件,将默认使用production
。如果没有名为production
的配置文件,eas build:configure
将报错。如果你想将ios配置代码移到不同的配置文件中,你需要执行eas build --profile <yourProfileName> --platform ios
。eas build:configure
和eas build --platform ios
。当构建完成后,转到https://expo.dev,点击构建,然后点击“下载构建产物”。