docs

TOP(About this memo)) > 一覧(Flutter) > iOSでビルドされる構成

FlutterのDebug/Profile/Release と iOSのConfigulations

ios/ディレクトリの構成

ios/Flutter

CocoaPods, プラグイン

Target(ios/Runner)

Workspace, Project

トラブルシュート

project.pbxprojの内容

フォルダ構造(PBXGroup)

/* Begin PBXGroup section */
		/* RunnerTests */ = {
			/* RunnerTests.swift */
		};
        /* CocoaPodsを利用している場合 */
        /* Frameworks */ = {
			isa = PBXGroup;
			children = (
				/* Pods_Runner.framework */,
			);
			name = Frameworks;
			sourceTree = "<group>";
		};
		/* Flutter */ = {
			isa = PBXGroup;
			children = (
				/* AppFrameworkInfo.plist */,
				/* Debug.xcconfig */,
				/* Release.xcconfig */,
				/* Generated.xcconfig */,
			);
			name = Flutter;
			sourceTree = "<group>";
		};
		(mainGroup) = {
			isa = PBXGroup;
			children = (
				/* Flutter */,
				/* Runner */,
				/* Products */,
				/* RunnerTests */,
			);
			sourceTree = "<group>";
		};
		/* Products */ = {
			isa = PBXGroup;
			children = (
				/* Runner.app */,
				/* RunnerTests.xctest */,
			);
			name = Products;
			sourceTree = "<group>";
		};
		/* Runner */ = {
			isa = PBXGroup;
			children = (
				/* Main.storyboard */,
				/* Assets.xcassets */,
				/* LaunchScreen.storyboard */,
				/* Info.plist */,
				/* GeneratedPluginRegistrant.h */,
				/* GeneratedPluginRegistrant.m */,
				/* AppDelegate.swift */,
				/* Runner-Bridging-Header.h */,
			);
			path = Runner;
			sourceTree = "<group>";
		};
/* End PBXGroup section */

Project

/* Begin PBXProject section */
		/* Project object */ = {
			isa = PBXProject;
			/* ... */
			compatibilityVersion = "Xcode 9.3";
            /* ... */
            mainGroup = (mainGroup);
			/* ... */
			targets = (
				/* Runner */,
				/* RunnerTests */,
			);
		};
/* End PBXProject section */

ビルドフェーズ

/* Begin PBXCopyFilesBuildPhase section */
		/* Embed Frameworks */ = {
			/* ... */
            files = () /* 空になっていた。何が入る? */
            /* ... */
		};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFrameworksBuildPhase section */
		/* Frameworks */ = {
			/* Pods_Runner.framework in Frameworks */,
            /* CocoaPodsを利用している場合のみ。 */
		};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXResourcesBuildPhase section */
		/* Resources */ = {
			/* ... */
		};
		/* Resources */ = {
			/* ... */
			files = (
				 /* LaunchScreen.storyboard in Resources */,
				 /* AppFrameworkInfo.plist in Resources */,
				 /* Assets.xcassets in Resources */,
				 /* Main.storyboard in Resources */,
			);
			runOnlyForDeploymentPostprocessing = 0;
		};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
		/* Thin Binary */ = {
			/* ... */
			files = (
			);
			inputPaths = (
				"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
			);
			/* ... */
			outputPaths = (
			);
			/* ... */
			shellPath = /bin/sh;
			shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
		};
		/* Run Script */ = {
			/* ... */
			files = (
			);
			inputPaths = (
			);
			name = "Run Script";
			outputPaths = (
			);
			/* ... */
			shellPath = /bin/sh;
			shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
		};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
		/* Sources */ = {
			/* ... */
			files = (
				/* RunnerTests.swift in Sources */,
			);
            /* ... */
		};
		/* Sources */ = {
			/* ... */
            files = (
				/* AppDelegate.swift in Sources */,
				/* GeneratedPluginRegistrant.m in Sources */,
			);
            /* ... */
		};
/* End PBXSourcesBuildPhase section */

/* Begin PBXNativeTarget section */
		/* RunnerTests */ = {
			/* ... */
            buildPhases = (
				/* Sources */,
				/* Resources */,
			);
		};
		/* Runner */ = {
			/* ... */
            buildPhases = (
				/* Run Script */,
				/* Sources */,
				/* Frameworks */,
				/* Resources */,
				/* Embed Frameworks */,
				/* Thin Binary */,
			);
			/* ... */
		};
/* End PBXNativeTarget section */

buildSettings

/* Begin XCConfigurationList section */
		/* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				/* Debug */,
				/* Release */,
				/* Profile */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;
		};
		/* Build configuration list for PBXProject "Runner" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				/* Debug */,
				/* Release */,
				/* Profile */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;
		};
		/* Build configuration list for PBXNativeTarget "Runner" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				/* Debug */,
				/* Release */,
				/* Profile */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;
		};
/* End XCConfigurationList section */

/* Begin XCBuildConfiguration section */
		/* Profile */ = {
            isa = XCBuildConfiguration;
			buildSettings = {
                /* ... */
            };
			name = Profile;
		};
        /* Profile */ = {
			isa = XCBuildConfiguration;
			baseConfigurationReference = /* Release.xcconfig */;
			buildSettings = {
                /* ... */
            }
            name = Profile;
        };
        /* Debug */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				/* ... */
			};
			name = Debug;
		};
		/* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				 /* ... */
			};
			name = Release;
		};
		/* Profile */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				/* ... */
			};
			name = Profile;
		};
		/* Debug */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				/* ... */
			};
			name = Debug;
		};
		/* Release */ = {
			isa = XCBuildConfiguration;
			buildSettings = {
				/* ... */
			};
			name = Release;
		};
		/* Debug */ = {
			isa = XCBuildConfiguration;
			baseConfigurationReference = /* Debug.xcconfig */;
			buildSettings = {
				/* ... */
			};
			name = Debug;
		};
		/* Release */ = {
			isa = XCBuildConfiguration;
			baseConfigurationReference = /* Release.xcconfig */;
			buildSettings = {
				/* ... */
			};
			name = Release;
		};
/* End XCBuildConfiguration section */

全体

// !$*UTF8*$!
{
	archiveVersion = 1;
	classes = {
	};
	objectVersion = 54;
	objects = {

/* Begin PBXBuildFile section */
    /* GeneratedPluginRegistrant.m in Sources */
    /* RunnerTests.swift in Sources */ 
    /* AppFrameworkInfo.plist in Resources */
    /* AppDelegate.swift in Sources */ 
    /* Main.storyboard in Resources */
    /* Assets.xcassets in Resources */
    /* LaunchScreen.storyboard in Resources */
    /* Pods_Runner.framework in Frameworks */ /* CocoaPodsを利用している場合 */
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
		/* ... */
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
		/* ... */
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
        /* GeneratedPluginRegistrant.h */
        /* GeneratedPluginRegistrant.m */
        /* Pods_Runner.framework */ /* CocoaPodsを利用している場合 */
        /* RunnerTests.swift */
        /* RunnerTests.xctest */
        /* AppFrameworkInfo.plist */
        /* Runner-Bridging-Header.h */
        /* AppDelegate.swift */
        /* Debug.xcconfig */
        /* Release.xcconfig */
        /* Generated.xcconfig */
        /* Runner.app */
        /* Base */
        /* Assets.xcassets */
        /* Base */
        /* Info.plist */
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
	    /* ... */
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
		/* ... */
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
		/* ... */
/* End PBXNativeTarget section */

/* Begin PBXProject section */
		/* ... */
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
		/* ... */
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
		/* ... */
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
		/* ... */
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
    /* ... */
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
		/* Main.storyboard */ = {
			/* ... */
		};
		/* LaunchScreen.storyboard */ = {
			isa = PBXVariantGroup;
			/* ... */
		};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
		 /* ... */
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
    /* ... */
/* End XCConfigurationList section */
    };
	rootObject = /* Project object */;
}