Swift Build Scheme: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==Utility== <source lang="properties"> ; project settings > targets ; product bundle identifier Phone: org.chorke.academia.apps.ios.AcademiaUTL MacOS: org.chorke.academia.apps...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Utility==
==Framework==
===Utility===
<source lang="properties">
<source lang="properties">
; project settings > targets
; project settings > targets
; product bundle identifier
; product bundle identifier
Phone: org.chorke.academia.apps.ios.AcademiaUTL
Phone: org.chorke.academia.core.ios.AcademiaCoreLIB
MacOS: org.chorke.academia.apps.mac.AcademiaUTL
MacOS: org.chorke.academia.core.mac.AcademiaCoreLIB
TabOS: org.chorke.academia.apps.tab.AcademiaUTL
TabOS: org.chorke.academia.core.tab.AcademiaCoreLIB
TVBox: org.chorke.academia.apps.tos.AcademiaUTL
TVBox: org.chorke.academia.core.tos.AcademiaCoreLIB
Watch: org.chorke.academia.apps.wos.AcademiaUTL
Watch: org.chorke.academia.core.wos.AcademiaCoreLIB
AnyOS: org.chorke.academia.apps.AcademiaUTL
AnyOS: org.chorke.academia.core.AcademiaCoreLIB
</source>
</source>


==Service==
===Persistance===
<source lang="properties">
<source lang="properties">
; project settings > targets
; project settings > targets
; product bundle identifier
; product bundle identifier
Phone: org.chorke.academia.apps.ios.AcademiaAPI
Phone: org.chorke.academia.core.ios.AcademiaCoreSQL
MacOS: org.chorke.academia.apps.mac.AcademiaAPI
MacOS: org.chorke.academia.core.mac.AcademiaCoreSQL
TabOS: org.chorke.academia.apps.tab.AcademiaAPI
TabOS: org.chorke.academia.core.tab.AcademiaCoreSQL
TVBox: org.chorke.academia.apps.tos.AcademiaAPI
TVBox: org.chorke.academia.core.tos.AcademiaCoreSQL
Watch: org.chorke.academia.apps.wos.AcademiaAPI
Watch: org.chorke.academia.core.wos.AcademiaCoreSQL
AnyOS: org.chorke.academia.apps.AcademiaAPI
AnyOS: org.chorke.academia.core.AcademiaCoreSQL
</source>
</source>


==SwiftUI==
===Service===
<source lang="properties">
<source lang="properties">
; project settings > targets
; project settings > targets
; product bundle identifier
; product bundle identifier
Phone: org.chorke.academia.apps.ios.AcademiaGUI
Phone: org.chorke.academia.core.ios.AcademiaCoreAPI
MacOS: org.chorke.academia.apps.mac.AcademiaGUI
MacOS: org.chorke.academia.core.mac.AcademiaCoreAPI
TabOS: org.chorke.academia.apps.tab.AcademiaGUI
TabOS: org.chorke.academia.core.tab.AcademiaCoreAPI
TVBox: org.chorke.academia.apps.tos.AcademiaGUI
TVBox: org.chorke.academia.core.tos.AcademiaCoreAPI
Watch: org.chorke.academia.apps.wos.AcademiaGUI
Watch: org.chorke.academia.core.wos.AcademiaCoreAPI
AnyOS: org.chorke.academia.apps.AcademiaGUI
AnyOS: org.chorke.academia.core.AcademiaCoreAPI
</source>
</source>


==Framework Build Scheme==
===SwiftUI===
<source lang="properties">
; project settings > targets
; product bundle identifier
Phone: org.chorke.academia.core.ios.AcademiaCoreGUI
MacOS: org.chorke.academia.core.mac.AcademiaCoreGUI
TabOS: org.chorke.academia.core.tab.AcademiaCoreGUI
TVBox: org.chorke.academia.core.tos.AcademiaCoreGUI
Watch: org.chorke.academia.core.wos.AcademiaCoreGUI
AnyOS: org.chorke.academia.core.AcademiaCoreGUI
</source>
 
===Framework Build Scheme===
<source lang="properties">
<source lang="properties">
; project settings > targets
; project settings > targets
Line 44: Line 57:
TVBox: -Dtos
TVBox: -Dtos
Watch: -Dwos
Watch: -Dwos
AllOS: -Dany
AnyOS: -Dany
</source>
</source>


==Appliction==
==Examples==
===Demo App===
<source lang="properties">
<source lang="properties">
; project settings > targets
; project settings > targets
; product bundle identifier
; product bundle identifier
BUG: org.chorke.academia.apps.bug.AcademiaApp
BUG: org.chorke.academia.core.bug.AcademiaCoreDMO
DEV: org.chorke.academia.apps.dev.AcademiaApp
DEV: org.chorke.academia.core.dev.AcademiaCoreDMO
QAC: org.chorke.academia.apps.qac.AcademiaApp
QAC: org.chorke.academia.core.qac.AcademiaCoreDMO
UAT: org.chorke.academia.apps.uat.AcademiaApp
UAT: org.chorke.academia.core.uat.AcademiaCoreDMO
PRO: org.chorke.academia.apps.AcademiaApp
PRO: org.chorke.academia.core.AcademiaCoreDMO
</source>
</source>


==Application Build Scheme==
===Demo App Build Scheme===
<source lang="properties">
<source lang="properties">
; project settings > targets
; project settings > targets
Line 68: Line 82:
PRO: -Dpro
PRO: -Dpro
</source>
</source>
==Applictions==
===Appliction===
<source lang="properties">
; project settings > targets
; product bundle identifier
BUG: org.chorke.academia.apps.bug.AcademiaApps
DEV: org.chorke.academia.apps.dev.AcademiaApps
QAC: org.chorke.academia.apps.qac.AcademiaApps
UAT: org.chorke.academia.apps.uat.AcademiaApps
PRO: org.chorke.academia.apps.AcademiaApps
</source>
===Application Build Scheme===
<source lang="properties">
; project settings > targets
; other swift flag
BUG: -Dbug
DEV: -Ddev
QAC: -Dqac
UAT: -Duat
PRO: -Dpro
</source>
==References==
* [https://cdn.chorke.org/goto/watch?v=GrI9b9fDcys Create build Scheme for different Environments]  <code>YouTube</code>
* [https://cdn.chorke.org/goto/watch?v=8ugBWeIdSQg Manage Different Environments in Xcode] <code>YouTube</code>
* [https://cdn.chorke.org/goto/watch?v=r242pYLr-Gg  Setup XCode Configuration] <code>YouTube</code>

Latest revision as of 20:37, 22 December 2019

Framework

Utility

; project settings > targets
; product bundle identifier
Phone: org.chorke.academia.core.ios.AcademiaCoreLIB
MacOS: org.chorke.academia.core.mac.AcademiaCoreLIB
TabOS: org.chorke.academia.core.tab.AcademiaCoreLIB
TVBox: org.chorke.academia.core.tos.AcademiaCoreLIB
Watch: org.chorke.academia.core.wos.AcademiaCoreLIB
AnyOS: org.chorke.academia.core.AcademiaCoreLIB

Persistance

; project settings > targets
; product bundle identifier
Phone: org.chorke.academia.core.ios.AcademiaCoreSQL
MacOS: org.chorke.academia.core.mac.AcademiaCoreSQL
TabOS: org.chorke.academia.core.tab.AcademiaCoreSQL
TVBox: org.chorke.academia.core.tos.AcademiaCoreSQL
Watch: org.chorke.academia.core.wos.AcademiaCoreSQL
AnyOS: org.chorke.academia.core.AcademiaCoreSQL

Service

; project settings > targets
; product bundle identifier
Phone: org.chorke.academia.core.ios.AcademiaCoreAPI
MacOS: org.chorke.academia.core.mac.AcademiaCoreAPI
TabOS: org.chorke.academia.core.tab.AcademiaCoreAPI
TVBox: org.chorke.academia.core.tos.AcademiaCoreAPI
Watch: org.chorke.academia.core.wos.AcademiaCoreAPI
AnyOS: org.chorke.academia.core.AcademiaCoreAPI

SwiftUI

; project settings > targets
; product bundle identifier
Phone: org.chorke.academia.core.ios.AcademiaCoreGUI
MacOS: org.chorke.academia.core.mac.AcademiaCoreGUI
TabOS: org.chorke.academia.core.tab.AcademiaCoreGUI
TVBox: org.chorke.academia.core.tos.AcademiaCoreGUI
Watch: org.chorke.academia.core.wos.AcademiaCoreGUI
AnyOS: org.chorke.academia.core.AcademiaCoreGUI

Framework Build Scheme

; project settings > targets
; other swift flag
Phone: -Dios
MacOS: -Dmac
TabOS: -Dtab
TVBox: -Dtos
Watch: -Dwos
AnyOS: -Dany

Examples

Demo App

; project settings > targets
; product bundle identifier
BUG: org.chorke.academia.core.bug.AcademiaCoreDMO
DEV: org.chorke.academia.core.dev.AcademiaCoreDMO
QAC: org.chorke.academia.core.qac.AcademiaCoreDMO
UAT: org.chorke.academia.core.uat.AcademiaCoreDMO
PRO: org.chorke.academia.core.AcademiaCoreDMO

Demo App Build Scheme

; project settings > targets
; other swift flag
BUG: -Dbug
DEV: -Ddev
QAC: -Dqac
UAT: -Duat
PRO: -Dpro

Applictions

Appliction

; project settings > targets
; product bundle identifier
BUG: org.chorke.academia.apps.bug.AcademiaApps
DEV: org.chorke.academia.apps.dev.AcademiaApps
QAC: org.chorke.academia.apps.qac.AcademiaApps
UAT: org.chorke.academia.apps.uat.AcademiaApps
PRO: org.chorke.academia.apps.AcademiaApps

Application Build Scheme

; project settings > targets
; other swift flag
BUG: -Dbug
DEV: -Ddev
QAC: -Dqac
UAT: -Duat
PRO: -Dpro

References