Skip to content

Commit 1b7c541

Browse files
Perform recommended update to .pbxproj
XCode suggests `ENABLE_TESTABILITY`, and updates to `PRODUCT_BUNDLE_IDENTIFIER`
1 parent b89c188 commit 1b7c541

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Validator.xcodeproj/project.pbxproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
isa = PBXProject;
224224
attributes = {
225225
LastSwiftMigration = 0700;
226-
LastUpgradeCheck = 0610;
226+
LastUpgradeCheck = 0700;
227227
ORGANIZATIONNAME = jpotts18;
228228
TargetAttributes = {
229229
62D1AE161A1E6D4400E4DFF8 = {
@@ -356,6 +356,7 @@
356356
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
357357
COPY_PHASE_STRIP = NO;
358358
ENABLE_STRICT_OBJC_MSGSEND = YES;
359+
ENABLE_TESTABILITY = YES;
359360
GCC_C_LANGUAGE_STANDARD = gnu99;
360361
GCC_DYNAMIC_NO_PIC = NO;
361362
GCC_OPTIMIZATION_LEVEL = 0;
@@ -419,6 +420,7 @@
419420
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
420421
INFOPLIST_FILE = Validator/Info.plist;
421422
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
423+
PRODUCT_BUNDLE_IDENTIFIER = "me.jeffpotter.$(PRODUCT_NAME:rfc1034identifier)";
422424
PRODUCT_NAME = "$(TARGET_NAME)";
423425
};
424426
name = Debug;
@@ -429,6 +431,7 @@
429431
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
430432
INFOPLIST_FILE = Validator/Info.plist;
431433
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
434+
PRODUCT_BUNDLE_IDENTIFIER = "me.jeffpotter.$(PRODUCT_NAME:rfc1034identifier)";
432435
PRODUCT_NAME = "$(TARGET_NAME)";
433436
};
434437
name = Release;
@@ -447,6 +450,7 @@
447450
);
448451
INFOPLIST_FILE = ValidatorTests/Info.plist;
449452
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
453+
PRODUCT_BUNDLE_IDENTIFIER = "me.jeffpotter.$(PRODUCT_NAME:rfc1034identifier)";
450454
PRODUCT_NAME = "$(TARGET_NAME)";
451455
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Validator.app/Validator";
452456
};
@@ -462,6 +466,7 @@
462466
);
463467
INFOPLIST_FILE = ValidatorTests/Info.plist;
464468
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
469+
PRODUCT_BUNDLE_IDENTIFIER = "me.jeffpotter.$(PRODUCT_NAME:rfc1034identifier)";
465470
PRODUCT_NAME = "$(TARGET_NAME)";
466471
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Validator.app/Validator";
467472
};

Validator/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>me.jeffpotter.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

ValidatorTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>me.jeffpotter.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

0 commit comments

Comments
 (0)