简体   繁体   中英

how do i choose which program to archive from xcode IOS as i have two main files in my flutter app?

I have a flutter app with two main.dart files. One is main_prod.dart and the other is main_dev.dart. I can run the application through both of these files which have different configuartions. I am planning on uploading both to testflight, but cant find a way to choose the one i want to upload.

Any suggestions?

I found answer:

You go on the "Generated" file and switch FLUTTER_TARGET=path to main.prod or main.dev here

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM