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 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Scheme
  3. LastUpgradeVersion = "0920"
  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. language = ""
  30. shouldUseLaunchSchemeArgsEnv = "YES">
  31. <Testables>
  32. </Testables>
  33. <AdditionalOptions>
  34. </AdditionalOptions>
  35. </TestAction>
  36. <LaunchAction
  37. buildConfiguration = "Debug"
  38. selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  39. selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  40. language = ""
  41. launchStyle = "0"
  42. useCustomWorkingDirectory = "NO"
  43. ignoresPersistentStateOnLaunch = "NO"
  44. debugDocumentVersioning = "YES"
  45. debugServiceExtension = "internal"
  46. allowLocationSimulation = "YES">
  47. <MacroExpansion>
  48. <BuildableReference
  49. BuildableIdentifier = "primary"
  50. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  51. BuildableName = "JitsiMeet.framework"
  52. BlueprintName = "JitsiMeet"
  53. ReferencedContainer = "container:sdk.xcodeproj">
  54. </BuildableReference>
  55. </MacroExpansion>
  56. <AdditionalOptions>
  57. </AdditionalOptions>
  58. </LaunchAction>
  59. <ProfileAction
  60. buildConfiguration = "Release"
  61. shouldUseLaunchSchemeArgsEnv = "YES"
  62. savedToolIdentifier = ""
  63. useCustomWorkingDirectory = "NO"
  64. debugDocumentVersioning = "YES">
  65. <MacroExpansion>
  66. <BuildableReference
  67. BuildableIdentifier = "primary"
  68. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  69. BuildableName = "JitsiMeet.framework"
  70. BlueprintName = "JitsiMeet"
  71. ReferencedContainer = "container:sdk.xcodeproj">
  72. </BuildableReference>
  73. </MacroExpansion>
  74. </ProfileAction>
  75. <AnalyzeAction
  76. buildConfiguration = "Debug">
  77. </AnalyzeAction>
  78. <ArchiveAction
  79. buildConfiguration = "Release"
  80. revealArchiveInOrganizer = "YES">
  81. <PostActions>
  82. <ExecutionAction
  83. ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
  84. <ActionContent
  85. title = "Run Script"
  86. 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 6&apos; ONLY_ACTIVE_ARCH=NO ARCHS=&apos;i386 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 clean 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;# Step 4. Create universal binaries for embedded frameworks&#10;#for SUB_FRAMEWORK in $( ls &quot;${UNIVERSAL_OUTPUTFOLDER}/${TARGET_NAME}.framework/Frameworks&quot; ); do&#10;#BINARY_NAME=&quot;${SUB_FRAMEWORK%.*}&quot;&#10;#lipo -create -output &quot;${UNIVERSAL_OUTPUTFOLDER}/${TARGET_NAME}.framework/Frameworks/${SUB_FRAMEWORK}/${BINARY_NAME}&quot; &quot;${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${SUB_FRAMEWORK}/${BINARY_NAME}&quot; &quot;${ARCHIVE_PRODUCTS_PATH}${INSTALL_PATH}/${TARGET_NAME}.framework/Frameworks/${SUB_FRAMEWORK}/${BINARY_NAME}&quot;&#10;#done&#10;&#10;# Step 5. Convenience step to copy the framework to the project&apos;s directory&#10;echo &quot;Copying to project dir&quot;&#10;yes | cp -Rf &quot;${UNIVERSAL_OUTPUTFOLDER}/${FULL_PRODUCT_NAME}&quot; &quot;${PROJECT_DIR}&quot;&#10;&#10;fi">
  87. <EnvironmentBuildable>
  88. <BuildableReference
  89. BuildableIdentifier = "primary"
  90. BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
  91. BuildableName = "JitsiMeet.framework"
  92. BlueprintName = "JitsiMeet"
  93. ReferencedContainer = "container:sdk.xcodeproj">
  94. </BuildableReference>
  95. </EnvironmentBuildable>
  96. </ActionContent>
  97. </ExecutionAction>
  98. </PostActions>
  99. </ArchiveAction>
  100. </Scheme>