Skip to content

Commit 7cbb39a

Browse files
authored
Merge pull request #19 from lightsprint09/multi-platform-project
Multi platform project
2 parents a949a17 + ee013a7 commit 7cbb39a

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

HeckelDiff.xcodeproj/project.pbxproj

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,13 @@
160160
TargetAttributes = {
161161
D829E6121DE5039500560BD4 = {
162162
CreatedOnToolsVersion = 8.1;
163-
DevelopmentTeam = 46UKZ786J3;
164163
LastSwiftMigration = 0810;
165-
ProvisioningStyle = Automatic;
164+
ProvisioningStyle = Manual;
166165
};
167166
D829E61B1DE5039500560BD4 = {
168167
CreatedOnToolsVersion = 8.1;
169-
DevelopmentTeam = 46UKZ786J3;
170168
LastSwiftMigration = 0810;
171-
ProvisioningStyle = Automatic;
169+
ProvisioningStyle = Manual;
172170
};
173171
};
174172
};
@@ -283,9 +281,10 @@
283281
MTL_ENABLE_DEBUG_INFO = YES;
284282
ONLY_ACTIVE_ARCH = YES;
285283
SDKROOT = iphoneos;
284+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos watchsimulator watchos appletvsimulator appletvos macosx";
286285
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
287286
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
288-
TARGETED_DEVICE_FAMILY = "1,2";
287+
TARGETED_DEVICE_FAMILY = "1,2,3,4";
289288
VERSIONING_SYSTEM = "apple-generic";
290289
VERSION_INFO_PREFIX = "";
291290
};
@@ -329,8 +328,9 @@
329328
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
330329
MTL_ENABLE_DEBUG_INFO = NO;
331330
SDKROOT = iphoneos;
331+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos watchsimulator watchos appletvsimulator appletvos macosx";
332332
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
333-
TARGETED_DEVICE_FAMILY = "1,2";
333+
TARGETED_DEVICE_FAMILY = "1,2,3,4";
334334
VALIDATE_PRODUCT = YES;
335335
VERSIONING_SYSTEM = "apple-generic";
336336
VERSION_INFO_PREFIX = "";
@@ -342,8 +342,9 @@
342342
buildSettings = {
343343
CLANG_ENABLE_MODULES = YES;
344344
CODE_SIGN_IDENTITY = "";
345+
CODE_SIGN_STYLE = Manual;
345346
DEFINES_MODULE = YES;
346-
DEVELOPMENT_TEAM = 46UKZ786J3;
347+
DEVELOPMENT_TEAM = "";
347348
DYLIB_COMPATIBILITY_VERSION = 1;
348349
DYLIB_CURRENT_VERSION = 1;
349350
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -353,6 +354,7 @@
353354
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
354355
PRODUCT_BUNDLE_IDENTIFIER = com.matiascudich.HeckelDiff;
355356
PRODUCT_NAME = "$(TARGET_NAME)";
357+
PROVISIONING_PROFILE_SPECIFIER = "";
356358
SKIP_INSTALL = YES;
357359
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
358360
SWIFT_VERSION = 3.0;
@@ -364,8 +366,9 @@
364366
buildSettings = {
365367
CLANG_ENABLE_MODULES = YES;
366368
CODE_SIGN_IDENTITY = "";
369+
CODE_SIGN_STYLE = Manual;
367370
DEFINES_MODULE = YES;
368-
DEVELOPMENT_TEAM = 46UKZ786J3;
371+
DEVELOPMENT_TEAM = "";
369372
DYLIB_COMPATIBILITY_VERSION = 1;
370373
DYLIB_CURRENT_VERSION = 1;
371374
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -375,6 +378,7 @@
375378
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
376379
PRODUCT_BUNDLE_IDENTIFIER = com.matiascudich.HeckelDiff;
377380
PRODUCT_NAME = "$(TARGET_NAME)";
381+
PROVISIONING_PROFILE_SPECIFIER = "";
378382
SKIP_INSTALL = YES;
379383
SWIFT_VERSION = 3.0;
380384
};
@@ -385,11 +389,13 @@
385389
buildSettings = {
386390
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
387391
CLANG_ENABLE_MODULES = YES;
388-
DEVELOPMENT_TEAM = 46UKZ786J3;
392+
CODE_SIGN_STYLE = Manual;
393+
DEVELOPMENT_TEAM = "";
389394
INFOPLIST_FILE = Tests/Info.plist;
390395
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
391396
PRODUCT_BUNDLE_IDENTIFIER = com.matiascudich.HeckelDiffTests;
392397
PRODUCT_NAME = "$(TARGET_NAME)";
398+
PROVISIONING_PROFILE_SPECIFIER = "";
393399
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
394400
SWIFT_VERSION = 3.0;
395401
};
@@ -400,11 +406,13 @@
400406
buildSettings = {
401407
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
402408
CLANG_ENABLE_MODULES = YES;
403-
DEVELOPMENT_TEAM = 46UKZ786J3;
409+
CODE_SIGN_STYLE = Manual;
410+
DEVELOPMENT_TEAM = "";
404411
INFOPLIST_FILE = Tests/Info.plist;
405412
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
406413
PRODUCT_BUNDLE_IDENTIFIER = com.matiascudich.HeckelDiffTests;
407414
PRODUCT_NAME = "$(TARGET_NAME)";
415+
PROVISIONING_PROFILE_SPECIFIER = "";
408416
SWIFT_VERSION = 3.0;
409417
};
410418
name = Release;

Source/UICollectionView+Diff.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2016 Matias Cudich. All rights reserved.
77
//
88

9+
#if os(iOS) || os(tvOS)
910
import Foundation
1011
import UIKit
1112

@@ -33,3 +34,4 @@ public extension UICollectionView {
3334
}, completion: completion)
3435
}
3536
}
37+
#endif

Source/UITableView+Diff.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2016 Matias Cudich. All rights reserved.
77
//
88

9+
#if os(iOS) || os(tvOS)
910
import Foundation
1011
import UIKit
1112

@@ -37,3 +38,4 @@ public extension UITableView {
3738
}
3839
}
3940
}
41+
#endif

0 commit comments

Comments
 (0)