Reintroduce Xcode project

It's just a wrapper around the makefile. I use it to develop in Xcode (because not having an IDE is cringe and I would rather use the IDE I just spent 20 hours downloading instead of not.)
This commit is contained in:
Eilionoir Tunnicliff committed 2023-04-25 14:22:19 -04:00
1 parent 04f2fa566c
commit a90d088f57
4 files changed
+144 -3

No files matched your search

+3 -1
View File
@@ -6,6 +6,8 @@
/Natives/PojavLauncher
/Natives/build
.DS_Store
/pojavlauncher.xcodeproj
/PojavLauncher.xcodeproj/xcshareddata/*
/PojavLauncher.xcodeproj/xcuserdata/*
/PojavLauncher.xcodeproj/project.xcworkspace/*
/depends
/Natives/config.h
+2 -2
View File
@@ -193,7 +193,7 @@ ifndef SDKPATH
$(error You need to specify SDKPATH to the path of iPhoneOS.sdk. The SDK version should be 14.0 or newer.)
endif
all: clean native java jre extras package dsym
all: clean native java jre assets payload package dsym
help:
echo 'Makefile to compile PojavLauncher'
@@ -340,7 +340,7 @@ deploy:
package: payload
echo '[PojavLauncher v$(VERSION)] package - start'
if [ '$(TEAMID)' != '-1' ] && [ '$(SIGNING_TEAMID)' != '-1' ] && [ '$(PROVISIONING)' != '-1' ] && [ '$(DETECTPLAT)' = 'Darwin']; then \
if [ '$(TEAMID)' != '-1' ] && [ '$(SIGNING_TEAMID)' != '-1' ] && [ '$(PROVISIONING)' != '-1' ] && [ '$(DETECTPLAT)' = 'Darwin' ]; then \
printf '<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n<dict>\n <key>application-identifier</key>\n <string>$(TEAMID).net.kdt.pojavlauncher</string>\n <key>com.apple.developer.team-identifier</key>\n <string>$(TEAMID)</string>\n <key>get-task-allow</key>\n <true/>\n <key>keychain-access-groups</key>\n <array>\n <string>$(TEAMID).*</string>\n <string>com.apple.token</string>\n </array>\n</dict>\n</plist>' > entitlements.codesign.xml; \
$(MAKE) codesign; \
rm -rf entitlements.codesign.xml; \
Binary file not shown.
+139
View File
@@ -0,0 +1,139 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objects = {
/* Begin PBXFileReference section */
054957CB2986E91000EFD4CE /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
054957CC2986E91000EFD4CE /* .gitmodules */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitmodules; sourceTree = "<group>"; };
054957CD2986E91000EFD4CE /* entitlements.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = entitlements.xml; sourceTree = "<group>"; };
054957CE2986E91000EFD4CE /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = "<group>"; };
054957CF2986E91000EFD4CE /* .gitignore */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitignore; sourceTree = "<group>"; };
054957D02986E91000EFD4CE /* Natives */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Natives; sourceTree = "<group>"; };
054957D12986E91000EFD4CE /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
054957D22986E91000EFD4CE /* crowdin.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.yaml; path = crowdin.yml; sourceTree = "<group>"; };
054957D32986E91000EFD4CE /* JavaApp */ = {isa = PBXFileReference; lastKnownFileType = folder; path = JavaApp; sourceTree = "<group>"; };
054957D42986E91000EFD4CE /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXGroup section */
054957C02986E8DC00EFD4CE = {
isa = PBXGroup;
children = (
054957CE2986E91000EFD4CE /* .github */,
054957CF2986E91000EFD4CE /* .gitignore */,
054957CC2986E91000EFD4CE /* .gitmodules */,
054957D22986E91000EFD4CE /* crowdin.yml */,
054957CD2986E91000EFD4CE /* entitlements.xml */,
054957D32986E91000EFD4CE /* JavaApp */,
054957D42986E91000EFD4CE /* LICENSE */,
054957CB2986E91000EFD4CE /* Makefile */,
054957D02986E91000EFD4CE /* Natives */,
054957D12986E91000EFD4CE /* README.md */,
);
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXLegacyTarget section */
054957C52986E8DC00EFD4CE /* PojavLauncher */ = {
isa = PBXLegacyTarget;
buildArgumentsString = "$(ACTION)";
buildConfigurationList = 054957C82986E8DC00EFD4CE /* Build configuration list for PBXLegacyTarget "PojavLauncher" */;
buildPhases = (
);
buildToolPath = /opt/homebrew/bin/gmake;
dependencies = (
);
name = PojavLauncher;
passBuildSettingsInEnvironment = 1;
productName = PojavLauncher;
};
/* End PBXLegacyTarget section */
/* Begin PBXProject section */
054957C12986E8DC00EFD4CE /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastUpgradeCheck = 1420;
TargetAttributes = {
054957C52986E8DC00EFD4CE = {
CreatedOnToolsVersion = 14.2;
};
};
};
buildConfigurationList = 054957C42986E8DC00EFD4CE /* Build configuration list for PBXProject "PojavLauncher" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 054957C02986E8DC00EFD4CE;
projectDirPath = "";
projectRoot = "";
targets = (
054957C52986E8DC00EFD4CE /* PojavLauncher */,
);
};
/* End PBXProject section */
/* Begin XCBuildConfiguration section */
054957C62986E8DC00EFD4CE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
PATH = "${PATH}:/opt/procursus/bin:/opt/procursus/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/local/sbin";
RELEASE = 0;
};
name = Debug;
};
054957C72986E8DC00EFD4CE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PATH = "${PATH}:/opt/procursus/bin:/opt/procursus/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/local/sbin";
RELEASE = 1;
};
name = Release;
};
054957C92986E8DC00EFD4CE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Debug;
};
054957CA2986E8DC00EFD4CE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
054957C42986E8DC00EFD4CE /* Build configuration list for PBXProject "PojavLauncher" */ = {
isa = XCConfigurationList;
buildConfigurations = (
054957C62986E8DC00EFD4CE /* Debug */,
054957C72986E8DC00EFD4CE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
054957C82986E8DC00EFD4CE /* Build configuration list for PBXLegacyTarget "PojavLauncher" */ = {
isa = XCConfigurationList;
buildConfigurations = (
054957C92986E8DC00EFD4CE /* Debug */,
054957CA2986E8DC00EFD4CE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 054957C12986E8DC00EFD4CE /* Project object */;
}