Skip to content

Commit 317296e

Browse files
committed
Moving location of XMPPFramework, and renaming with "Sample_" so multiple files with the same name are not seen by the compiler.
1 parent c0f4251 commit 317296e

File tree

2 files changed

+45
-9
lines changed

2 files changed

+45
-9
lines changed

Core/XMPPFramework.h Sample_XMPPFramework.h

+43-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//
22
// This file is designed to be customized by YOU.
33
//
4+
// Copy this file and rename it to "XMPPFramework.h". Then add it to your project.
45
// As you pick and choose which parts of the framework you need for your application, add them to this header file.
56
//
67
// Various modules available within the framework optionally interact with each other.
@@ -16,24 +17,63 @@
1617
// And they can automatically take advantage of it.
1718
//
1819

19-
2020
// CUSTOMIZE ME !
21-
//
2221
// THIS HEADER FILE SHOULD BE TAILORED TO MATCH YOUR APPLICATION.
2322

23+
// The following is standard:
2424

2525
#import "XMPP.h"
26+
27+
// List the modules you're using here:
28+
// (the following may not be a complete list)
2629

27-
// List the modules you're using here.
30+
//#import "XMPPBandwidthMonitor.h"
2831
//
32+
//#import "XMPPCoreDataStorage.h"
33+
//
2934
//#import "XMPPReconnect.h"
35+
//
3036
//#import "XMPPRoster.h"
37+
//#import "XMPPRosterMemoryStorage.h"
38+
//#import "XMPPRosterCoreDataStorage.h"
39+
//
40+
//#import "XMPPJabberRPCModule.h"
41+
//#import "XMPPIQ+JabberRPC.h"
42+
//#import "XMPPIQ+JabberRPCResponse.h"
43+
//
44+
//#import "XMPPPrivacy.h"
45+
//
46+
//#import "XMPPMUC.h"
47+
//#import "XMPPRoom.h"
48+
//#import "XMPPRoomMemoryStorage.h"
49+
//#import "XMPPRoomCoreDataStorage.h"
50+
//#import "XMPPRoomHybridStorage.h"
51+
//
3152
//#import "XMPPvCardTempModule.h"
53+
//#import "XMPPvCardCoreDataStorage.h"
54+
//
3255
//#import "XMPPPubSub.h"
56+
//
57+
//#import "TURNSocket.h"
58+
//
59+
//#import "XMPPDateTimeProfiles.h"
60+
//#import "NSDate+XMPPDateTimeProfiles.h"
61+
//
62+
//#import "XMPPMessage+XEP_0085.h"
63+
//
3364
//#import "XMPPTransports.h"
65+
//
3466
//#import "XMPPCapabilities.h"
67+
//#import "XMPPCapabilitiesCoreDataStorage.h"
68+
//
3569
//#import "XMPPvCardAvatarModule.h"
70+
//
71+
//#import "XMPPMessage+XEP_0184.h"
72+
//
3673
//#import "XMPPPing.h"
3774
//#import "XMPPAutoPing.h"
75+
//
3876
//#import "XMPPTime.h"
3977
//#import "XMPPAutoTime.h"
78+
//
79+
//#import "XMPPElement+Delay.h"

Xcode/DesktopXMPP/XMPPStream.xcodeproj/project.pbxproj

+2-6
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@
289289
DCA614EE1250034B00C75522 /* XMPPDateTimeProfiles.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = XMPPDateTimeProfiles.m; path = "../../Extensions/XEP-0082/XMPPDateTimeProfiles.m"; sourceTree = SOURCE_ROOT; };
290290
DCA6151E1250069F00C75522 /* XMPPTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMPPTime.h; path = "../../Extensions/XEP-0202/XMPPTime.h"; sourceTree = SOURCE_ROOT; };
291291
DCA6151F1250069F00C75522 /* XMPPTime.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = XMPPTime.m; path = "../../Extensions/XEP-0202/XMPPTime.m"; sourceTree = SOURCE_ROOT; };
292+
DCB9D56915C208F30063935D /* XMPPFramework.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMPPFramework.h; sourceTree = "<group>"; };
292293
DCC220F31492E37C00736DC1 /* XMPPRoomCoreDataStorage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMPPRoomCoreDataStorage.h; path = CoreDataStorage/XMPPRoomCoreDataStorage.h; sourceTree = "<group>"; };
293294
DCC220F41492E37C00736DC1 /* XMPPRoomCoreDataStorage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = XMPPRoomCoreDataStorage.m; path = CoreDataStorage/XMPPRoomCoreDataStorage.m; sourceTree = "<group>"; };
294295
DCC220F81492E58200736DC1 /* XMPPRoom.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = XMPPRoom.xcdatamodel; sourceTree = "<group>"; };
@@ -322,7 +323,6 @@
322323
DCE0257B1340087A007448E1 /* XMPPvCardTempTel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMPPvCardTempTel.m; sourceTree = "<group>"; };
323324
DCE1125E1406F52D007A2A46 /* XMPPAutoTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMPPAutoTime.h; path = "../../Extensions/XEP-0202/XMPPAutoTime.h"; sourceTree = "<group>"; };
324325
DCE1125F1406F52D007A2A46 /* XMPPAutoTime.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = XMPPAutoTime.m; path = "../../Extensions/XEP-0202/XMPPAutoTime.m"; sourceTree = "<group>"; };
325-
DCE11263140834D5007A2A46 /* XMPPFramework.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMPPFramework.h; sourceTree = "<group>"; };
326326
DCF825930D748DC000BFABDE /* RequestController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RequestController.h; sourceTree = "<group>"; };
327327
DCF825940D748DC000BFABDE /* RequestController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RequestController.m; sourceTree = "<group>"; };
328328
DCF825F30D749A5100BFABDE /* ChatController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChatController.h; sourceTree = "<group>"; };
@@ -925,7 +925,7 @@
925925
DCCE55760BDC8EC8000E2798 /* XMPP */ = {
926926
isa = PBXGroup;
927927
children = (
928-
DCE11263140834D5007A2A46 /* XMPPFramework.h */,
928+
DCB9D56915C208F30063935D /* XMPPFramework.h */,
929929
DC30E699153E099A001B9E6D /* Authentication */,
930930
DCB9BBF30DDCEE6B002DA335 /* Categories */,
931931
DC8BA2F51141B9B40031C1F6 /* Core */,
@@ -1242,7 +1242,6 @@
12421242
"$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)",
12431243
);
12441244
GCC_DYNAMIC_NO_PIC = NO;
1245-
GCC_MODEL_TUNING = G5;
12461245
GCC_OPTIMIZATION_LEVEL = 0;
12471246
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
12481247
INFOPLIST_FILE = Info.plist;
@@ -1266,7 +1265,6 @@
12661265
"$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)",
12671266
);
12681267
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
1269-
GCC_MODEL_TUNING = G5;
12701268
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
12711269
INFOPLIST_FILE = Info.plist;
12721270
LIBRARY_SEARCH_PATHS = (
@@ -1294,7 +1292,6 @@
12941292
HEADER_SEARCH_PATHS = /usr/include/libxml2;
12951293
MACOSX_DEPLOYMENT_TARGET = "";
12961294
ONLY_ACTIVE_ARCH = YES;
1297-
OTHER_CFLAGS = "-Wno-arc-performSelector-leaks";
12981295
SDKROOT = macosx;
12991296
};
13001297
name = Debug;
@@ -1312,7 +1309,6 @@
13121309
GCC_WARN_UNUSED_VARIABLE = YES;
13131310
HEADER_SEARCH_PATHS = /usr/include/libxml2;
13141311
MACOSX_DEPLOYMENT_TARGET = "";
1315-
OTHER_CFLAGS = "-Wno-arc-performSelector-leaks";
13161312
SDKROOT = macosx;
13171313
};
13181314
name = Release;

0 commit comments

Comments
 (0)