CLI Cordova changes ios build target

I added iOS project 3 to my goals (with different settings, different plist settings and certain configurations).

  • Goal 1 β†’ MyApp-Info.plist
  • Goal 2 β†’ MyApp-2-Info.plist
  • Goal 3 β†’ MyApp-3-Info.plist

However, when I execute the command cordova build ios, I cannot choose the target to compile. It is always the default target (Target 1).

In terminal logs, I always have the following line: ProcessInfoPlistFile build/emulator/MyApp.app/Info.plist MyApp/MyApp-Info.plist

Is there a way to choose a target to compile? or Xcode project configuration?

+4
source share
1 answer

before_build / .plist MyApp-Info.plist. : BUILD_TARGET=1 cordova build ios. BUILD_TARGET.

+1

Source: https://habr.com/ru/post/1544125/


All Articles