Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic publishing in Xcode 10

I am a app developer using Ionic to create my first project.

Currently, I need to use:

ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0"

and not:

ionic cordova build ios

because basic ionic doesn't work with Xcode.

My Question is: Can I still publish my app to the app store even though I must use the special "--buildFlag="-UseModernBuildSystem=0" to run my code?

like image 488
Ron Arel Avatar asked Dec 31 '25 13:12

Ron Arel


1 Answers

Update :

Cordova ios 5.0.0 has now been released and with it, this issue has been resolved. The below workaround can now be skipped.

Original Answer:

You can publish it to the App Store. However, it will be a debug build NOT a production build.

I would recommend downgrading xcode to version 9.x and then publishing the app until the next version of cordova ios is released.

Steps to downgrade xcode :

  • Download an older version of xcode from the Developer site
  • Unzip the content of the download
  • Replace the xcode folder under Applications directory with the downloaded folder.

Cordova announcement: https://github.com/apache/cordova-ios/issues/407

like image 83
Delwyn Pinto Avatar answered Jan 03 '26 23:01

Delwyn Pinto



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!