(iOS/tvOS): IOS/tvOS build fixes:

- change bundle identifier to match that used in the official releases
- remove code signature assignment
- add a minimal assets.zip so that one can build and run without having to be required to go thru the online updater
- add the tvOS core directory
This commit is contained in:
Yoshi Sugawara 2019-09-14 12:59:16 -07:00
parent 753be84ae0
commit c24caa8f48
5 changed files with 18 additions and 16 deletions

1
.gitignore vendored
View File

@ -129,7 +129,6 @@ wiiu/wut/elf2rpl/elf2rpl
pkg/apple/iOS/build/
pkg/apple/build/
pkg/apple/tvOS/modules/
ui/drivers/qt/moc_*
ui/drivers/moc_*

View File

@ -85,7 +85,7 @@
696012F119F3389A006A1088 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
69D31DE31A547EC800EF4C92 /* iOS/Resources/Media.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = iOS/Resources/Media.xcassets; sourceTree = SOURCE_ROOT; };
83EB675F19EEAF050096F441 /* iOS/modules */ = {isa = PBXFileReference; lastKnownFileType = folder; path = iOS/modules; sourceTree = SOURCE_ROOT; };
9204BE2B1D319EF300BD49DB /* RetroArchiOS11.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RetroArchiOS11.app; sourceTree = BUILT_PRODUCTS_DIR; };
9204BE2B1D319EF300BD49DB /* RetroArch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RetroArch.app; sourceTree = BUILT_PRODUCTS_DIR; };
9222F1FE2314BA7C0097C0FD /* assets.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = assets.zip; sourceTree = "<group>"; };
9222F2082315DAD50097C0FD /* Launch Screen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = "Launch Screen.storyboard"; sourceTree = "<group>"; };
9222F20A2315DD3D0097C0FD /* retroarch_logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = retroarch_logo.png; sourceTree = "<group>"; };
@ -301,7 +301,7 @@
96AFAE2616C1D4EA009DE44C /* Products */ = {
isa = PBXGroup;
children = (
9204BE2B1D319EF300BD49DB /* RetroArchiOS11.app */,
9204BE2B1D319EF300BD49DB /* RetroArch.app */,
926C77D721FD1E6500103EDE /* RetroArchTV.app */,
);
name = Products;
@ -378,7 +378,7 @@
);
name = RetroArchiOS11;
productName = RetroArch;
productReference = 9204BE2B1D319EF300BD49DB /* RetroArchiOS11.app */;
productReference = 9204BE2B1D319EF300BD49DB /* RetroArch.app */;
productType = "com.apple.product-type.application";
};
926C77D621FD1E6500103EDE /* RetroArchTV */ = {
@ -413,7 +413,6 @@
};
926C77D621FD1E6500103EDE = {
CreatedOnToolsVersion = 10.1;
DevelopmentTeam = R72X3BF4KE;
ProvisioningStyle = Automatic;
};
};
@ -642,8 +641,8 @@
"-DHAVE_BTSTACK",
"-DHAVE_KEYMAPPER",
);
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchiOS11;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.dist.RetroArchiOS11;
PRODUCT_NAME = RetroArch;
PROVISIONING_PROFILE = "";
VALID_ARCHS = "armv7 arm64";
WARNING_CFLAGS = "-Wno-invalid-source-encoding";
@ -733,8 +732,8 @@
"-DHAVE_BTSTACK",
"-DHAVE_KEYMAPPER",
);
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchiOS11;
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.dist.RetroArchiOS11;
PRODUCT_NAME = RetroArch;
PROVISIONING_PROFILE = "";
VALID_ARCHS = "armv7 arm64";
WARNING_CFLAGS = "-Wno-invalid-source-encoding";
@ -745,7 +744,7 @@
926C77E721FD1E6700103EDE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@ -774,7 +773,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = R72X3BF4KE;
DEVELOPMENT_TEAM = "";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
@ -850,7 +849,7 @@
"-DHAVE_BTSTACK",
"-DHAVE_KEYMAPPER",
);
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchTV;
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.dist.RetroArchTV;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = appletvos;
@ -862,7 +861,7 @@
926C77E821FD1E6700103EDE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@ -891,7 +890,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = R72X3BF4KE;
DEVELOPMENT_TEAM = "";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
@ -969,7 +968,7 @@
"-DHAVE_BTSTACK",
"-DHAVE_KEYMAPPER",
);
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchTV;
PRODUCT_BUNDLE_IDENTIFIER = com.libretro.dist.RetroArchTV;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = appletvos;

BIN
pkg/apple/assets.zip Normal file

Binary file not shown.

View File

@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>RetroArch</string>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>

4
pkg/apple/tvOS/modules/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore