Add build scripts and disable signing

This commit is contained in:
Max Ammann 2021-12-20 19:41:55 +01:00
parent d4a6e288b0
commit 228966a739
4 changed files with 148 additions and 6 deletions

View File

@ -146,6 +146,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 0BC888552770FD64004AAD56 /* Build configuration list for PBXNativeTarget "mapr (iOS)" */;
buildPhases = (
0BC888A4277103A3004AAD56 /* Cargo Build */,
0BC888282770FD64004AAD56 /* Sources */,
0BC888292770FD64004AAD56 /* Frameworks */,
0BC8882A2770FD64004AAD56 /* Resources */,
@ -163,6 +164,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 0BC888582770FD64004AAD56 /* Build configuration list for PBXNativeTarget "mapr (macOS)" */;
buildPhases = (
0BC888A52771056B004AAD56 /* Cargo Build */,
0BC8882E2770FD64004AAD56 /* Sources */,
0BC8882F2770FD64004AAD56 /* Frameworks */,
0BC888302770FD64004AAD56 /* Resources */,
@ -292,6 +294,45 @@
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
0BC888A4277103A3004AAD56 /* Cargo Build */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Cargo Build";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = ". \"$HOME/.cargo/env\"\n\nif [[ $SDK_NAME == *\"simulator\"* ]]\nthen\necho \"Building for Simulator\"\ncargo build --target aarch64-apple-ios-sim --lib\nelse\necho \"Building for Device\"\ncargo build --target aarch64-apple-ios --lib\nfi\n";
};
0BC888A52771056B004AAD56 /* Cargo Build */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Cargo Build";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = ". \"$HOME/.cargo/env\"\n\necho \"Building for Darwin\"\ncargo build --target aarch64-apple-darwin --lib\n\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
0BC888282770FD64004AAD56 /* Sources */ = {
isa = PBXSourcesBuildPhase;
@ -468,7 +509,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = KM8X78T35K;
DEVELOPMENT_TEAM = "";
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@ -497,7 +538,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = KM8X78T35K;
DEVELOPMENT_TEAM = "";
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@ -526,11 +567,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = KM8X78T35K;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
@ -555,11 +596,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = KM8X78T35K;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;

View File

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0BC8882B2770FD64004AAD56"
BuildableName = "mapr.app"
BlueprintName = "mapr (iOS)"
ReferencedContainer = "container:mapr.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0BC888382770FD64004AAD56"
BuildableName = "Tests iOS.xctest"
BlueprintName = "Tests iOS"
ReferencedContainer = "container:mapr.xcodeproj">
</BuildableReference>
</TestableReference>
</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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0BC8882B2770FD64004AAD56"
BuildableName = "mapr.app"
BlueprintName = "mapr (iOS)"
ReferencedContainer = "container:mapr.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0BC8882B2770FD64004AAD56"
BuildableName = "mapr.app"
BlueprintName = "mapr (iOS)"
ReferencedContainer = "container:mapr.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -15,5 +15,18 @@
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>0BC8882B2770FD64004AAD56</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>0BC888382770FD64004AAD56</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>