|
37 | 37 | 37AE7ACA29A70CE900C45FF6 /* whisper.h in Headers */ = {isa = PBXBuildFile; fileRef = 37AE7AB129A5AAD400C45FF6 /* whisper.h */; };
|
38 | 38 | 37B2997D29F9756F00971690 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = 37B2997C29F9756F00971690 /* Sparkle */; };
|
39 | 39 | 37B2997F29F9757700971690 /* Sparkle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37B2997E29F9757700971690 /* Sparkle.swift */; };
|
40 |
| - 37B2998729F97C5D00971690 /* libSDL2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 37B2998429F97C1000971690 /* libSDL2.a */; }; |
41 | 40 | 37B3A50629CE15AC0029821F /* OpenAIEndpoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37B3A4FD29CE15AC0029821F /* OpenAIEndpoint.swift */; };
|
42 | 41 | 37B3A50729CE15AC0029821F /* OpenAISwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37B3A4FE29CE15AC0029821F /* OpenAISwift.swift */; };
|
43 | 42 | 37B3A51C29CE16330029821F /* ImageGeneration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37B3A51629CE16330029821F /* ImageGeneration.swift */; };
|
|
170 | 169 | 37AE7AC529A6E9C400C45FF6 /* stream.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = stream.cpp; sourceTree = "<group>"; };
|
171 | 170 | 37AE7AC729A6EC2F00C45FF6 /* stream.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = stream.h; sourceTree = "<group>"; };
|
172 | 171 | 37B2997E29F9757700971690 /* Sparkle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sparkle.swift; sourceTree = "<group>"; };
|
173 |
| - 37B2998429F97C1000971690 /* libSDL2.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSDL2.a; path = /opt/homebrew/lib/libSDL2.a; sourceTree = "<absolute>"; }; |
174 | 172 | 37B3A4FD29CE15AC0029821F /* OpenAIEndpoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OpenAIEndpoint.swift; sourceTree = "<group>"; };
|
175 | 173 | 37B3A4FE29CE15AC0029821F /* OpenAISwift.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OpenAISwift.swift; sourceTree = "<group>"; };
|
176 | 174 | 37B3A51629CE16330029821F /* ImageGeneration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageGeneration.swift; sourceTree = "<group>"; };
|
|
213 | 211 | isa = PBXFrameworksBuildPhase;
|
214 | 212 | buildActionMask = 2147483647;
|
215 | 213 | files = (
|
216 |
| - 37B2998729F97C5D00971690 /* libSDL2.a in Frameworks */, |
217 | 214 | 376437AE29A75B2C00297AC6 /* Accelerate.framework in Frameworks */,
|
218 | 215 | );
|
219 | 216 | runOnlyForDeploymentPostprocessing = 0;
|
|
231 | 228 | 376437AC29A75B2C00297AC6 /* Frameworks */ = {
|
232 | 229 | isa = PBXGroup;
|
233 | 230 | children = (
|
234 |
| - 37B2998429F97C1000971690 /* libSDL2.a */, |
235 | 231 | 376437AD29A75B2C00297AC6 /* Accelerate.framework */,
|
236 | 232 | );
|
237 | 233 | name = Frameworks;
|
|
678 | 674 | isa = XCBuildConfiguration;
|
679 | 675 | buildSettings = {
|
680 | 676 | ALWAYS_SEARCH_USER_PATHS = NO;
|
| 677 | + ARCHS = arm64; |
681 | 678 | CLANG_ANALYZER_NONNULL = YES;
|
682 | 679 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
683 | 680 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
|
727 | 724 | MACOSX_DEPLOYMENT_TARGET = 13.1;
|
728 | 725 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
729 | 726 | MTL_FAST_MATH = YES;
|
730 |
| - ONLY_ACTIVE_ARCH = YES; |
731 | 727 | SDKROOT = macosx;
|
732 | 728 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
733 | 729 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
738 | 734 | isa = XCBuildConfiguration;
|
739 | 735 | buildSettings = {
|
740 | 736 | ALWAYS_SEARCH_USER_PATHS = NO;
|
| 737 | + ARCHS = arm64; |
741 | 738 | CLANG_ANALYZER_NONNULL = YES;
|
742 | 739 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
743 | 740 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
|
782 | 779 | MACOSX_DEPLOYMENT_TARGET = 13.1;
|
783 | 780 | MTL_ENABLE_DEBUG_INFO = NO;
|
784 | 781 | MTL_FAST_MATH = YES;
|
785 |
| - ONLY_ACTIVE_ARCH = YES; |
786 | 782 | SDKROOT = macosx;
|
787 | 783 | SWIFT_COMPILATION_MODE = wholemodule;
|
788 | 784 | SWIFT_OPTIMIZATION_LEVEL = "-O";
|
|
862 | 858 | DYLIB_CURRENT_VERSION = 1;
|
863 | 859 | DYLIB_INSTALL_NAME_BASE = "@rpath";
|
864 | 860 | GENERATE_INFOPLIST_FILE = YES;
|
865 |
| - HEADER_SEARCH_PATHS = /opt/homebrew/include/SDL2; |
| 861 | + HEADER_SEARCH_PATHS = ( |
| 862 | + /opt/homebrew/include/SDL2, |
| 863 | + /usr/local/include/SDL2, |
| 864 | + ); |
866 | 865 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
867 | 866 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
868 | 867 | LD_RUNPATH_SEARCH_PATHS = (
|
869 | 868 | "$(inherited)",
|
870 | 869 | "@executable_path/../Frameworks",
|
871 | 870 | "@loader_path/Frameworks",
|
872 | 871 | );
|
873 |
| - LIBRARY_SEARCH_PATHS = /opt/homebrew/lib; |
874 | 872 | MARKETING_VERSION = 1.0;
|
875 | 873 | OTHER_CFLAGS = (
|
876 | 874 | "-D_THREAD_SAFE",
|
877 | 875 | "-DGGML_USE_ACCELERATE",
|
878 | 876 | );
|
| 877 | + OTHER_LDFLAGS = ( |
| 878 | + /opt/homebrew/lib/libSDL2.a, |
| 879 | + "-l", |
| 880 | + iconv, |
| 881 | + "-weak_framework", |
| 882 | + CoreHaptics, |
| 883 | + "-weak_framework", |
| 884 | + GameController, |
| 885 | + "-weak_framework", |
| 886 | + ForceFeedback, |
| 887 | + "-weak_framework", |
| 888 | + Carbon, |
| 889 | + "-weak_framework", |
| 890 | + AppKit, |
| 891 | + ); |
879 | 892 | PRODUCT_BUNDLE_IDENTIFIER = org.phrack.LibWhisper;
|
880 | 893 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
|
881 | 894 | SKIP_INSTALL = YES;
|
|
900 | 913 | DYLIB_CURRENT_VERSION = 1;
|
901 | 914 | DYLIB_INSTALL_NAME_BASE = "@rpath";
|
902 | 915 | GENERATE_INFOPLIST_FILE = YES;
|
903 |
| - HEADER_SEARCH_PATHS = /opt/homebrew/include/SDL2; |
| 916 | + HEADER_SEARCH_PATHS = ( |
| 917 | + /opt/homebrew/include/SDL2, |
| 918 | + /usr/local/include/SDL2, |
| 919 | + ); |
904 | 920 | INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
905 | 921 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
906 | 922 | LD_RUNPATH_SEARCH_PATHS = (
|
907 | 923 | "$(inherited)",
|
908 | 924 | "@executable_path/../Frameworks",
|
909 | 925 | "@loader_path/Frameworks",
|
910 | 926 | );
|
911 |
| - LIBRARY_SEARCH_PATHS = /opt/homebrew/lib; |
912 | 927 | MARKETING_VERSION = 1.0;
|
913 | 928 | OTHER_CFLAGS = (
|
914 | 929 | "-D_THREAD_SAFE",
|
915 | 930 | "-DGGML_USE_ACCELERATE",
|
916 | 931 | );
|
| 932 | + OTHER_LDFLAGS = ( |
| 933 | + /opt/homebrew/lib/libSDL2.a, |
| 934 | + "-l", |
| 935 | + iconv, |
| 936 | + "-weak_framework", |
| 937 | + CoreHaptics, |
| 938 | + "-weak_framework", |
| 939 | + GameController, |
| 940 | + "-weak_framework", |
| 941 | + ForceFeedback, |
| 942 | + "-weak_framework", |
| 943 | + Carbon, |
| 944 | + "-weak_framework", |
| 945 | + AppKit, |
| 946 | + ); |
917 | 947 | PRODUCT_BUNDLE_IDENTIFIER = org.phrack.LibWhisper;
|
918 | 948 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
|
919 | 949 | SKIP_INSTALL = YES;
|
|
0 commit comments