From 25cfb68779f326be91d3cf6fd92a1530f87b5eda Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Wed, 2 Dec 2015 13:19:40 -0800 Subject: [PATCH] Remove use of explicit target dependencies The target dependencies are discovered implicitly, and removing the use of explicitly defined dependencies actually resolved a very odd bug with Xcode when building ReactExample.app for a device. --- RealmJS.xcodeproj/project.pbxproj | 26 ------------------- .../ReactExample.xcodeproj/project.pbxproj | 26 ------------------- .../ios/ReactTests.xcodeproj/project.pbxproj | 13 ---------- 3 files changed, 65 deletions(-) diff --git a/RealmJS.xcodeproj/project.pbxproj b/RealmJS.xcodeproj/project.pbxproj index 9d4f8a60..22d136b1 100644 --- a/RealmJS.xcodeproj/project.pbxproj +++ b/RealmJS.xcodeproj/project.pbxproj @@ -130,13 +130,6 @@ remoteGlobalIDString = 00E356EE1AD99517003FC87E; remoteInfo = RealmReactTests; }; - 02B29A2F1B7CF7ED008A7E6B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 02B58CA81AE99CEB009B348C /* Project object */; - proxyType = 1; - remoteGlobalIDString = 02B58CB01AE99CEC009B348C; - remoteInfo = RealmJS; - }; 02B58CBE1AE99CEC009B348C /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 02B58CA81AE99CEB009B348C /* Project object */; @@ -158,13 +151,6 @@ remoteGlobalIDString = E2DDD18B1BE69404002CE867; remoteInfo = "GCDWebServers (tvOS)"; }; - 02D0F2D41C037C1700B4FC45 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 02A3C7841BC4317A00B1A7BE /* GCDWebServer.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = CEE28CEE1AE0051F00F4023C; - remoteInfo = "GCDWebServers (iOS)"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -503,8 +489,6 @@ buildRules = ( ); dependencies = ( - 02D0F2D51C037C1700B4FC45 /* PBXTargetDependency */, - 02B29A301B7CF7ED008A7E6B /* PBXTargetDependency */, ); name = RealmReact; productName = RealmReact; @@ -760,21 +744,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 02B29A301B7CF7ED008A7E6B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 02B58CB01AE99CEC009B348C /* RealmJS */; - targetProxy = 02B29A2F1B7CF7ED008A7E6B /* PBXContainerItemProxy */; - }; 02B58CBF1AE99CEC009B348C /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 02B58CB01AE99CEC009B348C /* RealmJS */; targetProxy = 02B58CBE1AE99CEC009B348C /* PBXContainerItemProxy */; }; - 02D0F2D51C037C1700B4FC45 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "GCDWebServers (iOS)"; - targetProxy = 02D0F2D41C037C1700B4FC45 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ diff --git a/examples/ReactExample/ReactExample.xcodeproj/project.pbxproj b/examples/ReactExample/ReactExample.xcodeproj/project.pbxproj index f4bec5bf..6a81162c 100644 --- a/examples/ReactExample/ReactExample.xcodeproj/project.pbxproj +++ b/examples/ReactExample/ReactExample.xcodeproj/project.pbxproj @@ -126,20 +126,6 @@ remoteGlobalIDString = 58B5119B1A9E6C1200147676; remoteInfo = RCTText; }; - F636F6E21BCDB72D0023F35C /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 0270BC9E1B7D04D700010E03 /* RealmJS.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 02B29A151B7CF7C9008A7E6B; - remoteInfo = RealmReact; - }; - F6EA29001BDEEC4B00ECDC7B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 83CBBA2D1A601D0E00E9B192; - remoteInfo = React; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -396,8 +382,6 @@ buildRules = ( ); dependencies = ( - F6EA29011BDEEC4B00ECDC7B /* PBXTargetDependency */, - F636F6E31BCDB72D0023F35C /* PBXTargetDependency */, ); name = ReactExample; productName = "Hello World"; @@ -640,16 +624,6 @@ target = 13B07F861A680F5B00A75B9A /* ReactExample */; targetProxy = 0277984B1BBB2F1000C96559 /* PBXContainerItemProxy */; }; - F636F6E31BCDB72D0023F35C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RealmReact; - targetProxy = F636F6E21BCDB72D0023F35C /* PBXContainerItemProxy */; - }; - F6EA29011BDEEC4B00ECDC7B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = React; - targetProxy = F6EA29001BDEEC4B00ECDC7B /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ diff --git a/tests/react-test-app/ios/ReactTests.xcodeproj/project.pbxproj b/tests/react-test-app/ios/ReactTests.xcodeproj/project.pbxproj index 4427af65..92a183aa 100644 --- a/tests/react-test-app/ios/ReactTests.xcodeproj/project.pbxproj +++ b/tests/react-test-app/ios/ReactTests.xcodeproj/project.pbxproj @@ -127,13 +127,6 @@ remoteGlobalIDString = 58B5119B1A9E6C1200147676; remoteInfo = RCTText; }; - F6F405B71BCE55FB00A1E24F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 027799061BBF3BB700C96559 /* RealmJS.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 02B29A151B7CF7C9008A7E6B; - remoteInfo = RealmReact; - }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -382,7 +375,6 @@ buildRules = ( ); dependencies = ( - F6F405B81BCE55FB00A1E24F /* PBXTargetDependency */, ); name = ReactTestApp; productName = "Hello World"; @@ -626,11 +618,6 @@ target = 13B07F861A680F5B00A75B9A /* ReactTestApp */; targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; }; - F6F405B81BCE55FB00A1E24F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RealmReact; - targetProxy = F6F405B71BCE55FB00A1E24F /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */