|
7 | 7 | objects = {
|
8 | 8 |
|
9 | 9 | /* Begin PBXBuildFile section */
|
| 10 | + 03B3827B1594333F4C40DCFC /* amplifyconfiguration.json in Resources */ = {isa = PBXBuildFile; fileRef = 77D412CE71D4C36343815DC9 /* amplifyconfiguration.json */; }; |
10 | 11 | 902830062914027000897087 /* PredictionsHostAppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 902830052914027000897087 /* PredictionsHostAppApp.swift */; };
|
11 | 12 | 902830082914027000897087 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 902830072914027000897087 /* ContentView.swift */; };
|
12 | 13 | 9028300A2914027100897087 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 902830092914027100897087 /* Assets.xcassets */; };
|
|
56 | 57 | /* End PBXContainerItemProxy section */
|
57 | 58 |
|
58 | 59 | /* Begin PBXFileReference section */
|
| 60 | + 77D412CE71D4C36343815DC9 /* amplifyconfiguration.json */ = {isa = PBXFileReference; explicitFileType = text.json; path = amplifyconfiguration.json; sourceTree = "<group>"; }; |
59 | 61 | 902830022914027000897087 /* PredictionsHostApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PredictionsHostApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
60 | 62 | 902830052914027000897087 /* PredictionsHostAppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PredictionsHostAppApp.swift; sourceTree = "<group>"; };
|
61 | 63 | 902830072914027000897087 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
|
117 | 119 | /* End PBXFrameworksBuildPhase section */
|
118 | 120 |
|
119 | 121 | /* Begin PBXGroup section */
|
| 122 | + 7D09EFAF27FE586FBA9A9B2D /* AmplifyConfig */ = { |
| 123 | + isa = PBXGroup; |
| 124 | + children = ( |
| 125 | + 77D412CE71D4C36343815DC9 /* amplifyconfiguration.json */, |
| 126 | + ); |
| 127 | + name = AmplifyConfig; |
| 128 | + sourceTree = "<group>"; |
| 129 | + }; |
120 | 130 | 90282FF92914027000897087 = {
|
121 | 131 | isa = PBXGroup;
|
122 | 132 | children = (
|
|
126 | 136 | 90283041291402E600897087 /* AWSPredictionsPluginIntegrationTests */,
|
127 | 137 | 902830032914027000897087 /* Products */,
|
128 | 138 | 9028304A2914042800897087 /* Frameworks */,
|
| 139 | + 7D09EFAF27FE586FBA9A9B2D /* AmplifyConfig */, |
129 | 140 | );
|
130 | 141 | sourceTree = "<group>";
|
131 | 142 | };
|
|
228 | 239 | isa = PBXNativeTarget;
|
229 | 240 | buildConfigurationList = 902830262914027200897087 /* Build configuration list for PBXNativeTarget "PredictionsHostApp" */;
|
230 | 241 | buildPhases = (
|
| 242 | + 56CF7FEF2A0016100073F364 /* ShellScript */, |
231 | 243 | 90282FFE2914027000897087 /* Sources */,
|
232 | 244 | 90282FFF2914027000897087 /* Frameworks */,
|
233 | 245 | 902830002914027000897087 /* Resources */,
|
|
272 | 284 | 903555F429141355004B83C2 /* Sources */,
|
273 | 285 | 903555F529141355004B83C2 /* Frameworks */,
|
274 | 286 | 903555F629141355004B83C2 /* Resources */,
|
275 |
| - 90F5B34529FB404E0036138A /* ShellScript */, |
276 | 287 | );
|
277 | 288 | buildRules = (
|
278 | 289 | );
|
|
342 | 353 | files = (
|
343 | 354 | 9028300D2914027100897087 /* Preview Assets.xcassets in Resources */,
|
344 | 355 | 9028300A2914027100897087 /* Assets.xcassets in Resources */,
|
| 356 | + 03B3827B1594333F4C40DCFC /* amplifyconfiguration.json in Resources */, |
345 | 357 | );
|
346 | 358 | runOnlyForDeploymentPostprocessing = 0;
|
347 | 359 | };
|
|
373 | 385 | /* End PBXResourcesBuildPhase section */
|
374 | 386 |
|
375 | 387 | /* Begin PBXShellScriptBuildPhase section */
|
376 |
| - 90F5B34529FB404E0036138A /* ShellScript */ = { |
| 388 | + 56CF7FEF2A0016100073F364 /* ShellScript */ = { |
377 | 389 | isa = PBXShellScriptBuildPhase;
|
378 | 390 | buildActionMask = 2147483647;
|
379 | 391 | files = (
|
|
388 | 400 | );
|
389 | 401 | runOnlyForDeploymentPostprocessing = 0;
|
390 | 402 | shellPath = /bin/sh;
|
391 |
| - shellScript = "TEMP_FILE=$HOME/.aws-amplify/amplify-ios/testconfiguration/.\nDEST_PATH=\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/testconfiguration/\"\n\nif [[ ! -d $TEMP_FILE ]] ; then\n echo \"${TEMP_FILE} does not exist. Using empty configuration.\"\n exit 0\nfi\n \nif [[ -f $DEST_PATH ]] ; then\n rm $DEST_PATH\nfi\n \ncp -r $TEMP_FILE $DEST_PATH\n"; |
| 403 | + shellScript = "set -e\n\nSOURCE_DIR=$HOME/.aws-amplify/amplify-ios/testconfiguration\nDESTINATION_DIR=\"$SOURCE_ROOT\"\n\nif [ -d \"$AMPLIFY_CONFIGURATION_PATH\" ]; then\n echo \"Found AMPLIFY_CONFIGURATION_PATH - copying\"\n mkdir -p \"$DESTINATION_DIR\"\n ditto \"$AMPLIFY_CONFIGURATION_PATH\" \"$DESTINATION_DIR\"\n exit 0\nfi\n\nif [ ! -d \"$SOURCE_DIR\" ]; then\n echo \"error: Test configuration directory does not exist: ${SOURCE_DIR}\" && exit 1\nfi\n\nmkdir -p \"$DESTINATION_DIR\"\n\nif [ ! -f \"$SOURCE_DIR/AWSPredictionsPluginIntegrationTests-amplifyconfiguration.json\" ]; then\n echo \"error: Missing AWSPredictionsPluginIntegrationTests-amplifyconfiguration.json from: ${SOURCE_DIR}\" && exit 1\nfi\n\nditto \"$SOURCE_DIR/AWSPredictionsPluginIntegrationTests-amplifyconfiguration.json\" \"$DESTINATION_DIR/amplifyconfiguration.json\"\n"; |
| 404 | + showEnvVarsInLog = 0; |
392 | 405 | };
|
393 | 406 | /* End PBXShellScriptBuildPhase section */
|
394 | 407 |
|
|
0 commit comments