Skip to content

Commit

Permalink
Merged TwitterSharedExtensionUI and TwitterKit
Browse files Browse the repository at this point in the history
- The original project struture had TwitterShareExtensionUI as a separate xcode project that was nested within TwitterKit. This leads to a lot of linking issues when trying to compile a framework. Since we are deprecating TwitterKit, we no longer need to worry about merging this code from the iOS Codebase anymore so it is easier and more stable to combine the source files for simpler and more manageable project structure overall.
  • Loading branch information
Rajul Arora committed Jul 13, 2018
1 parent 0d81099 commit a15390f
Show file tree
Hide file tree
Showing 107 changed files with 7,719 additions and 483 deletions.
19 changes: 6 additions & 13 deletions DemoApp/DemoApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
/* Begin PBXBuildFile section */
191FF0FFCC8156460546E43A /* Pods_DemoApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E13E2EBAF8AC955FF850B86 /* Pods_DemoApp.framework */; };
2001BA381FA0EF0F0074EA67 /* Config.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2001BA371FA0EF0F0074EA67 /* Config.xcconfig */; };
204B09911FB29FA600C8841C /* libTwitterShareExtensionUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 204B09921FB29FA600C8841C /* libTwitterShareExtensionUI.a */; };
20ABD1D71F0188DD00DCA2E0 /* TweetCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20ABD1D61F0188DC00DCA2E0 /* TweetCollectionViewController.swift */; };
3733E29E1EA8276800E95681 /* TwitterShareExtensionUIResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3733E29D1EA8276800E95681 /* TwitterShareExtensionUIResources.bundle */; };
377340651ECA3D080065FFE0 /* DeletedTweet.json in Resources */ = {isa = PBXBuildFile; fileRef = 377340641ECA3D080065FFE0 /* DeletedTweet.json */; };
377783891E96AF1700BC4830 /* TwitterKitResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 377783881E96AF1700BC4830 /* TwitterKitResources.bundle */; };
3777838B1E96AFD500BC4830 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3777838A1E96AFD500BC4830 /* Images.xcassets */; };
Expand Down Expand Up @@ -51,6 +49,7 @@
AA34AC7E1FA3A0B7009EA9EB /* DemoCollectionViewDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA34AC7D1FA3A0B7009EA9EB /* DemoCollectionViewDataSource.swift */; };
AA34AC801FA3A5F1009EA9EB /* DemoCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA34AC7F1FA3A5F1009EA9EB /* DemoCollectionViewController.swift */; };
AA34AC821FA3A80D009EA9EB /* ComplexTweetDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA34AC811FA3A80D009EA9EB /* ComplexTweetDemo.swift */; };
AA3E099620119D4000792255 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA3E099520119D3F00792255 /* MapKit.framework */; };
AA6E37681FA3D529009137EC /* TimelineDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA6E37671FA3D529009137EC /* TimelineDemo.swift */; };
AA6E376F1FA79CEB009137EC /* UIViewControllerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA6E376E1FA79CEB009137EC /* UIViewControllerExtensions.swift */; };
AA6E37771FA7BB0D009137EC /* TwitterSessionCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA6E37761FA7BB0D009137EC /* TwitterSessionCollectionViewCell.swift */; };
Expand Down Expand Up @@ -182,9 +181,6 @@
/* Begin PBXFileReference section */
0E13E2EBAF8AC955FF850B86 /* Pods_DemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2001BA371FA0EF0F0074EA67 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Config.xcconfig; path = ../Config.xcconfig; sourceTree = "<group>"; };
20357E431FB28652000E20FE /* libTwitterShareExtensionUI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libTwitterShareExtensionUI.a; sourceTree = BUILT_PRODUCTS_DIR; };
20357E451FB2866F000E20FE /* libTwitterShareExtensionUI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libTwitterShareExtensionUI.a; sourceTree = BUILT_PRODUCTS_DIR; };
204B09921FB29FA600C8841C /* libTwitterShareExtensionUI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libTwitterShareExtensionUI.a; sourceTree = BUILT_PRODUCTS_DIR; };
20ABD1D61F0188DC00DCA2E0 /* TweetCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TweetCollectionViewController.swift; sourceTree = "<group>"; };
3733E29D1EA8276800E95681 /* TwitterShareExtensionUIResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = TwitterShareExtensionUIResources.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
377340641ECA3D080065FFE0 /* DeletedTweet.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = DeletedTweet.json; sourceTree = "<group>"; };
Expand Down Expand Up @@ -232,6 +228,7 @@
AA34AC7D1FA3A0B7009EA9EB /* DemoCollectionViewDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoCollectionViewDataSource.swift; sourceTree = "<group>"; };
AA34AC7F1FA3A5F1009EA9EB /* DemoCollectionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoCollectionViewController.swift; sourceTree = "<group>"; };
AA34AC811FA3A80D009EA9EB /* ComplexTweetDemo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComplexTweetDemo.swift; sourceTree = "<group>"; };
AA3E099520119D3F00792255 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; };
AA6E37671FA3D529009137EC /* TimelineDemo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimelineDemo.swift; sourceTree = "<group>"; };
AA6E376E1FA79CEB009137EC /* UIViewControllerExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIViewControllerExtensions.swift; sourceTree = "<group>"; };
AA6E37761FA7BB0D009137EC /* TwitterSessionCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TwitterSessionCollectionViewCell.swift; sourceTree = "<group>"; };
Expand All @@ -256,7 +253,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
204B09911FB29FA600C8841C /* libTwitterShareExtensionUI.a in Frameworks */,
AA3E099620119D4000792255 /* MapKit.framework in Frameworks */,
AAEE1AFF1FACCC8300F11160 /* SafariServices.framework in Frameworks */,
379A6D4C1E95B7D100625984 /* libTwitterKit.a in Frameworks */,
377941651E96DBCF0049A022 /* DCIntrospect_ARC.framework in Frameworks */,
Expand Down Expand Up @@ -359,7 +356,7 @@
children = (
379A6D321E95B77C00625984 /* libTwitterKit.a */,
379A6D341E95B77C00625984 /* TwitterKitTests.xctest */,
379A6D361E95B77C00625984 /* .framework */,
379A6D361E95B77C00625984 /* TwitterKit.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -378,9 +375,7 @@
A7BC0A74110949C5A64504DE /* Frameworks */ = {
isa = PBXGroup;
children = (
204B09921FB29FA600C8841C /* libTwitterShareExtensionUI.a */,
20357E451FB2866F000E20FE /* libTwitterShareExtensionUI.a */,
20357E431FB28652000E20FE /* libTwitterShareExtensionUI.a */,
AA3E099520119D3F00792255 /* MapKit.framework */,
AAEE1AF81FACCC8300F11160 /* SafariServices.framework */,
377941601E96DBCF0049A022 /* DCIntrospect_ARC.framework */,
377941611E96DBCF0049A022 /* DZNEmptyDataSet.framework */,
Expand Down Expand Up @@ -625,10 +620,9 @@
remoteRef = 379A6D331E95B77C00625984 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
379A6D361E95B77C00625984 /* .framework */ = {
379A6D361E95B77C00625984 /* TwitterKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
name = .framework;
path = TwitterKit.framework;
remoteRef = 379A6D351E95B77C00625984 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
Expand All @@ -640,7 +634,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3733E29E1EA8276800E95681 /* TwitterShareExtensionUIResources.bundle in Resources */,
377783891E96AF1700BC4830 /* TwitterKitResources.bundle in Resources */,
379A6CBD1E95B47300625984 /* LaunchScreen.storyboard in Resources */,
2001BA381FA0EF0F0074EA67 /* Config.xcconfig in Resources */,
Expand Down
5 changes: 3 additions & 2 deletions TwitterCore/TwitterCore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,15 @@
9DF52D941ABB58DE004345D0 /* TWTRAPIErrorCode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF52D921ABB58DE004345D0 /* TWTRAPIErrorCode.h */; settings = {ATTRIBUTES = (Public, ); }; };
9DF52D951ABB58DE004345D0 /* TWTRAPIErrorCode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF52D921ABB58DE004345D0 /* TWTRAPIErrorCode.h */; settings = {ATTRIBUTES = (Public, ); }; };
9DF52D961ABB58DE004345D0 /* TWTRAPIErrorCode.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF52D931ABB58DE004345D0 /* TWTRAPIErrorCode.m */; };
9DF52D9B1ABB67F6004345D0 /* TWTRColorUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF52D991ABB67F6004345D0 /* TWTRColorUtil.h */; settings = {ATTRIBUTES = (Private, ); }; };
9DF52D9C1ABB67F6004345D0 /* TWTRColorUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF52D991ABB67F6004345D0 /* TWTRColorUtil.h */; settings = {ATTRIBUTES = (Private, ); }; };
9DF52D9B1ABB67F6004345D0 /* TWTRColorUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF52D991ABB67F6004345D0 /* TWTRColorUtil.h */; settings = {ATTRIBUTES = (Public, ); }; };
9DF52D9D1ABB67F6004345D0 /* TWTRColorUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF52D9A1ABB67F6004345D0 /* TWTRColorUtil.m */; };
9DF52DA01ABB6B1F004345D0 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF52D9F1ABB6B1F004345D0 /* CoreGraphics.framework */; };
9DF52DA11ABB6B23004345D0 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF52D9F1ABB6B1F004345D0 /* CoreGraphics.framework */; };
9DF52DA21ABB6B27004345D0 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF52D9F1ABB6B1F004345D0 /* CoreGraphics.framework */; };
AA0B5FD41F857EFC00B7D1DA /* TWTRSecItemWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = AA0B5FD01F857E0900B7D1DA /* TWTRSecItemWrapper.h */; settings = {ATTRIBUTES = (Private, ); }; };
AA0B5FD51F857F0000B7D1DA /* TWTRSecItemWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = AA0B5FD01F857E0900B7D1DA /* TWTRSecItemWrapper.h */; settings = {ATTRIBUTES = (Private, ); }; };
AA0B5FD61F857F0F00B7D1DA /* TWTRSecItemWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = AA0B5FD11F857E0900B7D1DA /* TWTRSecItemWrapper.m */; };
AA3E09982011A09D00792255 /* TWTRColorUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF52D991ABB67F6004345D0 /* TWTRColorUtil.h */; settings = {ATTRIBUTES = (Public, ); }; };
AA684F7E1F900BA600C66F98 /* TWTRAuthenticator_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = AA684F7D1F900BA600C66F98 /* TWTRAuthenticator_Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
AA684F7F1F900BA600C66F98 /* TWTRAuthenticator_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = AA684F7D1F900BA600C66F98 /* TWTRAuthenticator_Private.h */; };
AA684F811F900D1800C66F98 /* TWTRKeychainWrapper_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = AA684F801F900D1800C66F98 /* TWTRKeychainWrapper_Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
Expand Down Expand Up @@ -1221,6 +1221,7 @@
9DA224771B30F22E00743222 /* TwitterAppAPIClient+Subclasses.h in Headers */,
DBEEBCCE1B61549F00DE872D /* TWTRSessionMigrating.h in Headers */,
9D30C5541ACE316E00D0B1FA /* TWTRX509Certificate.h in Headers */,
AA3E09982011A09D00792255 /* TWTRColorUtil.h in Headers */,
9DF52D5F1ABA911A004345D0 /* TWTRUtils.h in Headers */,
3D761C941B6062B100CCB795 /* TWTRNetworkSessionProvider_Private.h in Headers */,
3D5B0C7D1B9D3D350079A6F6 /* TWTRSession_Private.h in Headers */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
This header is private to the Twitter Core SDK and not exposed for public SDK consumption
*/

// TODO: this is temporary. clean up after refactoring scribe layer
#import <TwitterCore/TWTRSessionStore.h>

@class TWTRAuthConfig;
Expand Down
Loading

0 comments on commit a15390f

Please sign in to comment.