You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

JitsiMeet.xcscheme 5.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Scheme
  3. LastUpgradeVersion = "1020"
  4. version = "1.7">
  5. <BuildAction
  6. parallelizeBuildables = "YES"
  7. buildImplicitDependencies = "YES">
  8. <BuildActionEntries>
  9. <BuildActionEntry
  10. buildForTesting = "YES"
  11. buildForRunning = "YES"
  12. buildForProfiling = "YES"
  13. buildForArchiving = "YES"
  14. buildForAnalyzing = "YES">
  15. <BuildableReference
  16. BuildableIdentifier = "primary"
  17. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  18. BuildableName = "JitsiMeet.framework"
  19. BlueprintName = "JitsiMeet"
  20. ReferencedContainer = "container:sdk.xcodeproj">
  21. </BuildableReference>
  22. </BuildActionEntry>
  23. </BuildActionEntries>
  24. </BuildAction>
  25. <TestAction
  26. buildConfiguration = "Debug"
  27. selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  28. selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  29. shouldUseLaunchSchemeArgsEnv = "YES">
  30. <Testables>
  31. </Testables>
  32. </TestAction>
  33. <LaunchAction
  34. buildConfiguration = "Debug"
  35. selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  36. selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  37. launchStyle = "0"
  38. useCustomWorkingDirectory = "NO"
  39. ignoresPersistentStateOnLaunch = "NO"
  40. debugDocumentVersioning = "YES"
  41. debugServiceExtension = "internal"
  42. allowLocationSimulation = "YES">
  43. <MacroExpansion>
  44. <BuildableReference
  45. BuildableIdentifier = "primary"
  46. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  47. BuildableName = "JitsiMeet.framework"
  48. BlueprintName = "JitsiMeet"
  49. ReferencedContainer = "container:sdk.xcodeproj">
  50. </BuildableReference>
  51. </MacroExpansion>
  52. </LaunchAction>
  53. <ProfileAction
  54. buildConfiguration = "Release"
  55. shouldUseLaunchSchemeArgsEnv = "YES"
  56. savedToolIdentifier = ""
  57. useCustomWorkingDirectory = "NO"
  58. debugDocumentVersioning = "YES">
  59. <MacroExpansion>
  60. <BuildableReference
  61. BuildableIdentifier = "primary"
  62. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  63. BuildableName = "JitsiMeet.framework"
  64. BlueprintName = "JitsiMeet"
  65. ReferencedContainer = "container:sdk.xcodeproj">
  66. </BuildableReference>
  67. </MacroExpansion>
  68. </ProfileAction>
  69. <AnalyzeAction
  70. buildConfiguration = "Debug">
  71. </AnalyzeAction>
  72. <ArchiveAction
  73. buildConfiguration = "Release"
  74. revealArchiveInOrganizer = "YES">
  75. <PostActions>
  76. <ExecutionAction
  77. ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
  78. <ActionContent
  79. title = "Run Script"
  80. scriptText = "exec &gt; /tmp/${PROJECT_NAME}_archive.log 2&gt;&amp;1&#10;&#10;UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal&#10;&#10;if [ &quot;true&quot; == ${ALREADYINVOKED:-false} ]&#10;then&#10;echo &quot;RECURSION: Detected, stopping&quot;&#10;else&#10;export ALREADYINVOKED=&quot;true&quot;&#10;&#10;# make sure the output directory exists&#10;mkdir -p &quot;${UNIVERSAL_OUTPUTFOLDER}&quot;&#10;&#10;echo &quot;Building for iPhoneSimulator&quot;&#10;xcodebuild -workspace &quot;${WORKSPACE_PATH}&quot; -scheme &quot;${TARGET_NAME}&quot; -configuration ${CONFIGURATION} -sdk iphonesimulator -destination &apos;platform=iOS Simulator,name=iPhone 8&apos; ONLY_ACTIVE_ARCH=NO ARCHS=&apos;x86_64&apos; BUILD_DIR=&quot;${BUILD_DIR}&quot; BUILD_ROOT=&quot;${BUILD_ROOT}&quot; ENABLE_BITCODE=YES OTHER_CFLAGS=&quot;-fembed-bitcode&quot; BITCODE_GENERATION_MODE=bitcode build&#10;&#10;# Step 1. Copy the framework structure (from iphoneos build) to the universal folder&#10;echo &quot;Copying to output folder&quot;&#10;cp -R &quot;${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FULL_PRODUCT_NAME}&quot; &quot;${UNIVERSAL_OUTPUTFOLDER}/&quot;&#10;&#10;# Step 2. Copy Swift modules from iphonesimulator build (if it exists) to the copied framework directory&#10;SIMULATOR_SWIFT_MODULES_DIR=&quot;${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${TARGET_NAME}.framework/Modules/${TARGET_NAME}.swiftmodule/.&quot;&#10;if [ -d &quot;${SIMULATOR_SWIFT_MODULES_DIR}&quot; ]; then&#10;cp -R &quot;${SIMULATOR_SWIFT_MODULES_DIR}&quot; &quot;${UNIVERSAL_OUTPUTFOLDER}/${TARGET_NAME}.framework/Modules/${TARGET_NAME}.swiftmodule&quot;&#10;fi&#10;&#10;# Step 3. Create universal binary file using lipo and place the combined executable in the copied framework directory&#10;echo &quot;Combining executables&quot;&#10;lipo -create -output &quot;${UNIVERSAL_OUTPUTFOLDER}/${EXECUTABLE_PATH}&quot; &quot;${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${EXECUTABLE_PATH}&quot; &quot;${BUILD_DIR}/${CONFIGURATION}-iphoneos/${EXECUTABLE_PATH}&quot;&#10;&#10;fi&#10;&#10;# Step 4. Convenience step to copy the framework to the project&amp;apos;s directory&#10;echo &quot;Copying to project dir&amp;quot&quot;&#10;yes | cp -Rf ${UNIVERSAL_OUTPUTFOLDER}/${FULL_PRODUCT_NAME} ${PROJECT_DIR}&#10;">
  81. <EnvironmentBuildable>
  82. <BuildableReference
  83. BuildableIdentifier = "primary"
  84. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  85. BuildableName = "JitsiMeet.framework"
  86. BlueprintName = "JitsiMeet"
  87. ReferencedContainer = "container:sdk.xcodeproj">
  88. </BuildableReference>
  89. </EnvironmentBuildable>
  90. </ActionContent>
  91. </ExecutionAction>
  92. </PostActions>
  93. </ArchiveAction>
  94. </Scheme>