1. 首先确保在Device,release版本下成功编译了App。

2. 在Targets下面添加一个新的Shell Script Target。

3. 将以下代码复制进去即可:

# shell script goes here

 

# compress application.

/bin/mkdir $CONFIGURATION_BUILD_DIR/Payload

/bin/cp -R $CONFIGURATION_BUILD_DIR/iBI.app $CONFIGURATION_BUILD_DIR/Payload

/bin/cp images/logo.png $CONFIGURATION_BUILD_DIR/iTunesArtwork

cd $CONFIGURATION_BUILD_DIR

# zip up the iBI directory

/usr/bin/zip -r iBI.ipa Payload iTunesArtwork

 

exit 0 

相关文章:

  • 2021-06-11
  • 2021-09-18
  • 2021-12-25
  • 2022-01-07
  • 2021-11-30
  • 2021-10-03
  • 2021-04-28
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-12-27
  • 2021-11-13
  • 2021-10-18
相关资源
相似解决方案