[App] App target setup (#1)

This PR contains the work done to set the `App` target for the **Reviews** project.

Reviewed-on: #1
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit is contained in:
Javier Cicchelli 2024-03-15 23:30:01 +00:00 committed by Javier Cicchelli
parent 0689e72018
commit ff2e931d03
15 changed files with 119 additions and 57 deletions

24
.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
### Swift ###
# Xcode
## User settings
xcuserdata/
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
## Obj-C/Swift specific
*.hmap
## App packaging
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
playground.xcworkspace
### SwiftPM ###
Packages
*.xcodeproj

View File

@ -29,15 +29,13 @@
<key>UISupportedInterfaceOrientations</key> <key>UISupportedInterfaceOrientations</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array> </array>
<key>UISupportedInterfaceOrientations~ipad</key> <key>UISupportedInterfaceOrientations~ipad</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string> <string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array> </array>
</dict> </dict>
</plist> </plist>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>AppStoreReviews.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>

View File

@ -3,7 +3,7 @@
archiveVersion = 1; archiveVersion = 1;
classes = { classes = {
}; };
objectVersion = 50; objectVersion = 63;
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
@ -17,7 +17,7 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
345AD11824C6EDD9004E2EE1 /* AppStoreReviews.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AppStoreReviews.app; sourceTree = BUILT_PRODUCTS_DIR; }; 345AD11824C6EDD9004E2EE1 /* Reviews.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Reviews.app; sourceTree = BUILT_PRODUCTS_DIR; };
345AD11B24C6EDD9004E2EE1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 345AD11B24C6EDD9004E2EE1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
345AD12424C6EDDC004E2EE1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 345AD12424C6EDDC004E2EE1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
345AD12724C6EDDC004E2EE1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 345AD12724C6EDDC004E2EE1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
@ -39,23 +39,25 @@
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
345AD10F24C6EDD9004E2EE1 = { 02DC7F722BA4F8F0000EEEBE /* Resources */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
345AD11A24C6EDD9004E2EE1 /* AppStoreReviews */, 02DC7F762BA4F966000EEEBE /* Catalogs */,
345AD11924C6EDD9004E2EE1 /* Products */, 02DC7F732BA4F92E000EEEBE /* Plists */,
02DC7F752BA4F952000EEEBE /* Storyboards */,
); );
path = Resources;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
345AD11924C6EDD9004E2EE1 /* Products */ = { 02DC7F732BA4F92E000EEEBE /* Plists */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
345AD11824C6EDD9004E2EE1 /* AppStoreReviews.app */, 345AD12924C6EDDC004E2EE1 /* Info.plist */,
); );
name = Products; path = Plists;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
345AD11A24C6EDD9004E2EE1 /* AppStoreReviews */ = { 02DC7F742BA4F93B000EEEBE /* Sources */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
345AD13224C6EE64004E2EE1 /* DetailsViewController.swift */, 345AD13224C6EE64004E2EE1 /* DetailsViewController.swift */,
@ -63,19 +65,57 @@
345AD13124C6EE64004E2EE1 /* Review.swift */, 345AD13124C6EE64004E2EE1 /* Review.swift */,
345AD13024C6EE64004E2EE1 /* ReviewCell.swift */, 345AD13024C6EE64004E2EE1 /* ReviewCell.swift */,
345AD11B24C6EDD9004E2EE1 /* AppDelegate.swift */, 345AD11B24C6EDD9004E2EE1 /* AppDelegate.swift */,
345AD12424C6EDDC004E2EE1 /* Assets.xcassets */,
345AD12624C6EDDC004E2EE1 /* LaunchScreen.storyboard */,
345AD12924C6EDDC004E2EE1 /* Info.plist */,
); );
path = AppStoreReviews; path = Sources;
sourceTree = "<group>";
};
02DC7F752BA4F952000EEEBE /* Storyboards */ = {
isa = PBXGroup;
children = (
345AD12624C6EDDC004E2EE1 /* LaunchScreen.storyboard */,
);
path = Storyboards;
sourceTree = "<group>";
};
02DC7F762BA4F966000EEEBE /* Catalogs */ = {
isa = PBXGroup;
children = (
345AD12424C6EDDC004E2EE1 /* Assets.xcassets */,
);
path = Catalogs;
sourceTree = "<group>";
};
345AD10F24C6EDD9004E2EE1 = {
isa = PBXGroup;
children = (
345AD11A24C6EDD9004E2EE1 /* App */,
345AD11924C6EDD9004E2EE1 /* Products */,
);
sourceTree = "<group>";
};
345AD11924C6EDD9004E2EE1 /* Products */ = {
isa = PBXGroup;
children = (
345AD11824C6EDD9004E2EE1 /* Reviews.app */,
);
name = Products;
sourceTree = "<group>";
};
345AD11A24C6EDD9004E2EE1 /* App */ = {
isa = PBXGroup;
children = (
02DC7F742BA4F93B000EEEBE /* Sources */,
02DC7F722BA4F8F0000EEEBE /* Resources */,
);
path = App;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
345AD11724C6EDD9004E2EE1 /* AppStoreReviews */ = { 345AD11724C6EDD9004E2EE1 /* App */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 345AD12C24C6EDDC004E2EE1 /* Build configuration list for PBXNativeTarget "AppStoreReviews" */; buildConfigurationList = 345AD12C24C6EDDC004E2EE1 /* Build configuration list for PBXNativeTarget "App" */;
buildPhases = ( buildPhases = (
345AD11424C6EDD9004E2EE1 /* Sources */, 345AD11424C6EDD9004E2EE1 /* Sources */,
345AD11524C6EDD9004E2EE1 /* Frameworks */, 345AD11524C6EDD9004E2EE1 /* Frameworks */,
@ -85,9 +125,9 @@
); );
dependencies = ( dependencies = (
); );
name = AppStoreReviews; name = App;
productName = AppStoreReviews; productName = AppStoreReviews;
productReference = 345AD11824C6EDD9004E2EE1 /* AppStoreReviews.app */; productReference = 345AD11824C6EDD9004E2EE1 /* Reviews.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */
@ -98,15 +138,15 @@
attributes = { attributes = {
LastSwiftUpdateCheck = 1160; LastSwiftUpdateCheck = 1160;
LastUpgradeCheck = 1160; LastUpgradeCheck = 1160;
ORGANIZATIONNAME = ING; ORGANIZATIONNAME = "Röck+Cöde";
TargetAttributes = { TargetAttributes = {
345AD11724C6EDD9004E2EE1 = { 345AD11724C6EDD9004E2EE1 = {
CreatedOnToolsVersion = 11.6; CreatedOnToolsVersion = 11.6;
}; };
}; };
}; };
buildConfigurationList = 345AD11324C6EDD9004E2EE1 /* Build configuration list for PBXProject "AppStoreReviews" */; buildConfigurationList = 345AD11324C6EDD9004E2EE1 /* Build configuration list for PBXProject "Reviews" */;
compatibilityVersion = "Xcode 9.3"; compatibilityVersion = "Xcode 15.3";
developmentRegion = en; developmentRegion = en;
hasScannedForEncodings = 0; hasScannedForEncodings = 0;
knownRegions = ( knownRegions = (
@ -118,7 +158,7 @@
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
targets = ( targets = (
345AD11724C6EDD9004E2EE1 /* AppStoreReviews */, 345AD11724C6EDD9004E2EE1 /* App */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
@ -281,15 +321,26 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = AppStoreReviews/Info.plist; CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7FMNM89WKG;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = App/Resources/Plists/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Reviews;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.ing.AppStoreReviews; MARKETING_VERSION = 1.0.0;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_BUNDLE_IDENTIFIER = "com.rock-n-code.assignment.ing.app.reviews";
PRODUCT_NAME = Reviews;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = 1;
}; };
name = Debug; name = Debug;
}; };
@ -298,22 +349,33 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = AppStoreReviews/Info.plist; CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7FMNM89WKG;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = App/Resources/Plists/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Reviews;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.ing.AppStoreReviews; MARKETING_VERSION = 1.0.0;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_BUNDLE_IDENTIFIER = "com.rock-n-code.assignment.ing.app.reviews";
PRODUCT_NAME = Reviews;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = 1;
}; };
name = Release; name = Release;
}; };
/* End XCBuildConfiguration section */ /* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ /* Begin XCConfigurationList section */
345AD11324C6EDD9004E2EE1 /* Build configuration list for PBXProject "AppStoreReviews" */ = { 345AD11324C6EDD9004E2EE1 /* Build configuration list for PBXProject "Reviews" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
345AD12A24C6EDDC004E2EE1 /* Debug */, 345AD12A24C6EDDC004E2EE1 /* Debug */,
@ -322,7 +384,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
345AD12C24C6EDDC004E2EE1 /* Build configuration list for PBXNativeTarget "AppStoreReviews" */ = { 345AD12C24C6EDDC004E2EE1 /* Build configuration list for PBXNativeTarget "App" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
345AD12D24C6EDDC004E2EE1 /* Debug */, 345AD12D24C6EDDC004E2EE1 /* Debug */,