2017-06-19 21:08:30 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Scheme
|
2019-04-09 10:45:07 +00:00
|
|
|
LastUpgradeVersion = "1020"
|
2017-12-19 19:17:00 +00:00
|
|
|
version = "1.7">
|
2017-06-19 21:08:30 +00:00
|
|
|
<BuildAction
|
|
|
|
parallelizeBuildables = "YES"
|
|
|
|
buildImplicitDependencies = "YES">
|
|
|
|
<BuildActionEntries>
|
|
|
|
<BuildActionEntry
|
|
|
|
buildForTesting = "YES"
|
|
|
|
buildForRunning = "YES"
|
|
|
|
buildForProfiling = "YES"
|
|
|
|
buildForArchiving = "YES"
|
|
|
|
buildForAnalyzing = "YES">
|
|
|
|
<BuildableReference
|
|
|
|
BuildableIdentifier = "primary"
|
|
|
|
BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
|
|
|
|
BuildableName = "JitsiMeet.framework"
|
|
|
|
BlueprintName = "JitsiMeet"
|
|
|
|
ReferencedContainer = "container:sdk.xcodeproj">
|
|
|
|
</BuildableReference>
|
|
|
|
</BuildActionEntry>
|
|
|
|
</BuildActionEntries>
|
|
|
|
</BuildAction>
|
|
|
|
<TestAction
|
|
|
|
buildConfiguration = "Debug"
|
|
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
|
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
|
|
<Testables>
|
|
|
|
</Testables>
|
|
|
|
</TestAction>
|
|
|
|
<LaunchAction
|
|
|
|
buildConfiguration = "Debug"
|
|
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
|
|
launchStyle = "0"
|
|
|
|
useCustomWorkingDirectory = "NO"
|
|
|
|
ignoresPersistentStateOnLaunch = "NO"
|
|
|
|
debugDocumentVersioning = "YES"
|
|
|
|
debugServiceExtension = "internal"
|
|
|
|
allowLocationSimulation = "YES">
|
|
|
|
<MacroExpansion>
|
|
|
|
<BuildableReference
|
|
|
|
BuildableIdentifier = "primary"
|
|
|
|
BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
|
|
|
|
BuildableName = "JitsiMeet.framework"
|
|
|
|
BlueprintName = "JitsiMeet"
|
|
|
|
ReferencedContainer = "container:sdk.xcodeproj">
|
|
|
|
</BuildableReference>
|
|
|
|
</MacroExpansion>
|
|
|
|
</LaunchAction>
|
|
|
|
<ProfileAction
|
|
|
|
buildConfiguration = "Release"
|
|
|
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
|
|
savedToolIdentifier = ""
|
|
|
|
useCustomWorkingDirectory = "NO"
|
|
|
|
debugDocumentVersioning = "YES">
|
|
|
|
<MacroExpansion>
|
|
|
|
<BuildableReference
|
|
|
|
BuildableIdentifier = "primary"
|
|
|
|
BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
|
|
|
|
BuildableName = "JitsiMeet.framework"
|
|
|
|
BlueprintName = "JitsiMeet"
|
|
|
|
ReferencedContainer = "container:sdk.xcodeproj">
|
|
|
|
</BuildableReference>
|
|
|
|
</MacroExpansion>
|
|
|
|
</ProfileAction>
|
|
|
|
<AnalyzeAction
|
|
|
|
buildConfiguration = "Debug">
|
|
|
|
</AnalyzeAction>
|
|
|
|
<ArchiveAction
|
|
|
|
buildConfiguration = "Release"
|
|
|
|
revealArchiveInOrganizer = "YES">
|
2017-06-22 15:49:51 +00:00
|
|
|
<PostActions>
|
|
|
|
<ExecutionAction
|
|
|
|
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
|
|
|
|
<ActionContent
|
|
|
|
title = "Run Script"
|
2019-12-13 12:04:00 +00:00
|
|
|
scriptText = "exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal if [ "true" == ${ALREADYINVOKED:-false} ] then echo "RECURSION: Detected, stopping" else export ALREADYINVOKED="true" # make sure the output directory exists mkdir -p "${UNIVERSAL_OUTPUTFOLDER}" echo "Building for iPhoneSimulator" xcodebuild -workspace "${WORKSPACE_PATH}" -scheme "${TARGET_NAME}" -configuration ${CONFIGURATION} -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' ONLY_ACTIVE_ARCH=NO ARCHS='x86_64' BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" ENABLE_BITCODE=YES OTHER_CFLAGS="-fembed-bitcode" BITCODE_GENERATION_MODE=bitcode build # Step 1. Copy the framework structure (from iphoneos build) to the universal folder echo "Copying to output folder" cp -R "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FULL_PRODUCT_NAME}" "${UNIVERSAL_OUTPUTFOLDER}/" # Step 2. Copy Swift modules from iphonesimulator build (if it exists) to the copied framework directory SIMULATOR_SWIFT_MODULES_DIR="${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${TARGET_NAME}.framework/Modules/${TARGET_NAME}.swiftmodule/." if [ -d "${SIMULATOR_SWIFT_MODULES_DIR}" ]; then cp -R "${SIMULATOR_SWIFT_MODULES_DIR}" "${UNIVERSAL_OUTPUTFOLDER}/${TARGET_NAME}.framework/Modules/${TARGET_NAME}.swiftmodule" fi # Step 3. Create universal binary file using lipo and place the combined executable in the copied framework directory echo "Combining executables" lipo -create -output "${UNIVERSAL_OUTPUTFOLDER}/${EXECUTABLE_PATH}" "${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${EXECUTABLE_PATH}" "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${EXECUTABLE_PATH}" fi # Step 4. Convenience step to copy the framework to the project&apos;s directory echo "Copying to project dir&quot" yes | cp -Rf ${UNIVERSAL_OUTPUTFOLDER}/${FULL_PRODUCT_NAME} ${PROJECT_DIR} ">
|
2017-06-22 15:49:51 +00:00
|
|
|
<EnvironmentBuildable>
|
|
|
|
<BuildableReference
|
|
|
|
BuildableIdentifier = "primary"
|
|
|
|
BlueprintIdentifier = "0BD906E41EC0C00300C8C18E"
|
|
|
|
BuildableName = "JitsiMeet.framework"
|
|
|
|
BlueprintName = "JitsiMeet"
|
|
|
|
ReferencedContainer = "container:sdk.xcodeproj">
|
|
|
|
</BuildableReference>
|
|
|
|
</EnvironmentBuildable>
|
|
|
|
</ActionContent>
|
|
|
|
</ExecutionAction>
|
|
|
|
</PostActions>
|
2017-06-19 21:08:30 +00:00
|
|
|
</ArchiveAction>
|
|
|
|
</Scheme>
|