project.pbxproj 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. // !$*UTF8*$!
  2. {
  3. archiveVersion = 1;
  4. classes = {
  5. };
  6. objectVersion = 56;
  7. objects = {
  8. /* Begin PBXBuildFile section */
  9. 542376082B0D9BFB008E6A1C /* ggml-quants.c in Sources */ = {isa = PBXBuildFile; fileRef = 542376072B0D9BFB008E6A1C /* ggml-quants.c */; settings = {COMPILER_FLAGS = "-O3"; }; };
  10. 5423760B2B0D9C4B008E6A1C /* ggml-backend.c in Sources */ = {isa = PBXBuildFile; fileRef = 5423760A2B0D9C4B008E6A1C /* ggml-backend.c */; settings = {COMPILER_FLAGS = "-O3"; }; };
  11. 542EA09D2AC8723900A8AEE9 /* ggml.c in Sources */ = {isa = PBXBuildFile; fileRef = 542EA09B2AC8723900A8AEE9 /* ggml.c */; settings = {COMPILER_FLAGS = "-DGGML_USE_ACCELERATE -DGGML_USE_METAL -DGGML_USE_K_QUANTS -O3"; }; };
  12. 542EA0A02AC8725700A8AEE9 /* ggml-alloc.c in Sources */ = {isa = PBXBuildFile; fileRef = 542EA09F2AC8725700A8AEE9 /* ggml-alloc.c */; settings = {COMPILER_FLAGS = "-O3"; }; };
  13. 542EA0A32AC8729100A8AEE9 /* llama.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 542EA0A12AC8729100A8AEE9 /* llama.cpp */; settings = {COMPILER_FLAGS = "-DGGML_USE_K_QUANTS -DGGML_USE_METAL -O3"; }; };
  14. 549479CB2AC9E16000E0F78B /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 549479CA2AC9E16000E0F78B /* Metal.framework */; };
  15. 549479CD2AC9E42A00E0F78B /* ggml-metal.m in Sources */ = {isa = PBXBuildFile; fileRef = 549479C52AC9E0F200E0F78B /* ggml-metal.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc -DGGML_SWIFT -DGGML_USE_METAL -O3"; }; };
  16. 7FA3D2B32B2EA2F600543F92 /* DownloadButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FA3D2B22B2EA2F600543F92 /* DownloadButton.swift */; };
  17. 8A1C83772AC328BD0096AF73 /* llama_swiftuiApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A1C83762AC328BD0096AF73 /* llama_swiftuiApp.swift */; };
  18. 8A1C83792AC328BD0096AF73 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A1C83782AC328BD0096AF73 /* ContentView.swift */; };
  19. 8A1C837B2AC328BE0096AF73 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8A1C837A2AC328BE0096AF73 /* Assets.xcassets */; };
  20. 8A1C837E2AC328BE0096AF73 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8A1C837D2AC328BE0096AF73 /* Preview Assets.xcassets */; };
  21. 8A39BE0A2AC7601100BFEB40 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8A39BE092AC7601000BFEB40 /* Accelerate.framework */; };
  22. 8A3F84242AC4C891005E2EE8 /* models in Resources */ = {isa = PBXBuildFile; fileRef = 8A3F84232AC4C891005E2EE8 /* models */; };
  23. 8A907F332AC7138A006146EA /* LibLlama.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A907F322AC7134E006146EA /* LibLlama.swift */; };
  24. 8A9F7C4D2AC332EE008AE1EA /* LlamaState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A9F7C4C2AC332EE008AE1EA /* LlamaState.swift */; };
  25. F1FE20E22B465ECA00B45541 /* LoadCustomButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1FE20E12B465EC900B45541 /* LoadCustomButton.swift */; };
  26. F1FE20DC2B465C4500B45541 /* ggml-metal.metal in Resources */ = {isa = PBXBuildFile; fileRef = 549479C82AC9E10B00E0F78B /* ggml-metal.metal */; };
  27. /* End PBXBuildFile section */
  28. /* Begin PBXBuildRule section */
  29. F1FE20DB2B465C2100B45541 /* PBXBuildRule */ = {
  30. isa = PBXBuildRule;
  31. compilerSpec = com.apple.compilers.proxy.script;
  32. fileType = sourcecode.metal;
  33. inputFiles = (
  34. );
  35. isEditable = 1;
  36. outputFiles = (
  37. "${DERIVED_FILES_DIR}/ggml-metal.air",
  38. "${DERIVED_FILES_DIR}/ggml.metallib",
  39. );
  40. script = "# metal\nxcrun metal -c \"${INPUT_FILE_PATH}\" -o \"${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.air\"\nxcrun metallib -o \"${DERIVED_FILES_DIR}/${INPUT_FILE_BASE%-metal}.metallib\" \"${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.air\"\n";
  41. };
  42. /* End PBXBuildRule section */
  43. /* Begin PBXFileReference section */
  44. 542376062B0D9BEA008E6A1C /* ggml-quants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "ggml-quants.h"; path = "../../ggml-quants.h"; sourceTree = "<group>"; };
  45. 542376072B0D9BFB008E6A1C /* ggml-quants.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ggml-quants.c"; path = "../../ggml-quants.c"; sourceTree = "<group>"; };
  46. 542376092B0D9C40008E6A1C /* ggml-backend.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "ggml-backend.h"; path = "../../ggml-backend.h"; sourceTree = "<group>"; };
  47. 5423760A2B0D9C4B008E6A1C /* ggml-backend.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ggml-backend.c"; path = "../../ggml-backend.c"; sourceTree = "<group>"; };
  48. 542EA09B2AC8723900A8AEE9 /* ggml.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ggml.c; path = ../../ggml.c; sourceTree = "<group>"; };
  49. 542EA09C2AC8723900A8AEE9 /* ggml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ggml.h; path = ../../ggml.h; sourceTree = "<group>"; };
  50. 542EA09E2AC8725700A8AEE9 /* ggml-alloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "ggml-alloc.h"; path = "../../ggml-alloc.h"; sourceTree = "<group>"; };
  51. 542EA09F2AC8725700A8AEE9 /* ggml-alloc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ggml-alloc.c"; path = "../../ggml-alloc.c"; sourceTree = "<group>"; };
  52. 542EA0A12AC8729100A8AEE9 /* llama.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = llama.cpp; path = ../../llama.cpp; sourceTree = "<group>"; };
  53. 542EA0A22AC8729100A8AEE9 /* llama.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = llama.h; path = ../../llama.h; sourceTree = "<group>"; };
  54. 549479C52AC9E0F200E0F78B /* ggml-metal.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "ggml-metal.m"; path = "../../ggml-metal.m"; sourceTree = "<group>"; };
  55. 549479C62AC9E0F200E0F78B /* ggml-metal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "ggml-metal.h"; path = "../../ggml-metal.h"; sourceTree = "<group>"; };
  56. 549479C82AC9E10B00E0F78B /* ggml-metal.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; name = "ggml-metal.metal"; path = "../../ggml-metal.metal"; sourceTree = "<group>"; };
  57. 549479CA2AC9E16000E0F78B /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
  58. 7FA3D2B22B2EA2F600543F92 /* DownloadButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DownloadButton.swift; sourceTree = "<group>"; };
  59. 8A08D20A2AC73B1500FE6CD4 /* bridging-header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "bridging-header.h"; sourceTree = "<group>"; };
  60. 8A1C83732AC328BD0096AF73 /* llama.swiftui.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = llama.swiftui.app; sourceTree = BUILT_PRODUCTS_DIR; };
  61. 8A1C83762AC328BD0096AF73 /* llama_swiftuiApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = llama_swiftuiApp.swift; sourceTree = "<group>"; };
  62. 8A1C83782AC328BD0096AF73 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
  63. 8A1C837A2AC328BE0096AF73 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
  64. 8A1C837D2AC328BE0096AF73 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
  65. 8A39BE092AC7601000BFEB40 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
  66. 8A3F84232AC4C891005E2EE8 /* models */ = {isa = PBXFileReference; lastKnownFileType = folder; name = models; path = llama.swiftui/Resources/models; sourceTree = "<group>"; };
  67. 8A907F322AC7134E006146EA /* LibLlama.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LibLlama.swift; sourceTree = "<group>"; };
  68. 8A9F7C4C2AC332EE008AE1EA /* LlamaState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LlamaState.swift; sourceTree = "<group>"; };
  69. F1FE20E12B465EC900B45541 /* LoadCustomButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadCustomButton.swift; sourceTree = "<group>"; };
  70. /* End PBXFileReference section */
  71. /* Begin PBXFrameworksBuildPhase section */
  72. 8A1C83702AC328BD0096AF73 /* Frameworks */ = {
  73. isa = PBXFrameworksBuildPhase;
  74. buildActionMask = 2147483647;
  75. files = (
  76. 549479CB2AC9E16000E0F78B /* Metal.framework in Frameworks */,
  77. 8A39BE0A2AC7601100BFEB40 /* Accelerate.framework in Frameworks */,
  78. );
  79. runOnlyForDeploymentPostprocessing = 0;
  80. };
  81. /* End PBXFrameworksBuildPhase section */
  82. /* Begin PBXGroup section */
  83. 8A08D1F62AC7383900FE6CD4 /* llama.cpp */ = {
  84. isa = PBXGroup;
  85. children = (
  86. 5423760A2B0D9C4B008E6A1C /* ggml-backend.c */,
  87. 542376092B0D9C40008E6A1C /* ggml-backend.h */,
  88. 542376062B0D9BEA008E6A1C /* ggml-quants.h */,
  89. 542376072B0D9BFB008E6A1C /* ggml-quants.c */,
  90. 549479C82AC9E10B00E0F78B /* ggml-metal.metal */,
  91. 549479C62AC9E0F200E0F78B /* ggml-metal.h */,
  92. 549479C52AC9E0F200E0F78B /* ggml-metal.m */,
  93. 542EA09B2AC8723900A8AEE9 /* ggml.c */,
  94. 542EA09C2AC8723900A8AEE9 /* ggml.h */,
  95. 542EA09F2AC8725700A8AEE9 /* ggml-alloc.c */,
  96. 542EA09E2AC8725700A8AEE9 /* ggml-alloc.h */,
  97. 542EA0A12AC8729100A8AEE9 /* llama.cpp */,
  98. 542EA0A22AC8729100A8AEE9 /* llama.h */,
  99. );
  100. name = llama.cpp;
  101. sourceTree = "<group>";
  102. };
  103. 8A1C836A2AC328BD0096AF73 = {
  104. isa = PBXGroup;
  105. children = (
  106. 8A08D1F62AC7383900FE6CD4 /* llama.cpp */,
  107. 8A907F312AC7134E006146EA /* llama.cpp.swift */,
  108. 8A3F84232AC4C891005E2EE8 /* models */,
  109. 8A1C83752AC328BD0096AF73 /* llama.swiftui */,
  110. 8A1C83742AC328BD0096AF73 /* Products */,
  111. 8A39BE082AC7601000BFEB40 /* Frameworks */,
  112. );
  113. sourceTree = "<group>";
  114. };
  115. 8A1C83742AC328BD0096AF73 /* Products */ = {
  116. isa = PBXGroup;
  117. children = (
  118. 8A1C83732AC328BD0096AF73 /* llama.swiftui.app */,
  119. );
  120. name = Products;
  121. sourceTree = "<group>";
  122. };
  123. 8A1C83752AC328BD0096AF73 /* llama.swiftui */ = {
  124. isa = PBXGroup;
  125. children = (
  126. 8A3F84102AC4BD85005E2EE8 /* Resources */,
  127. 8A9F7C4B2AC332DC008AE1EA /* Models */,
  128. 8A9F7C4A2AC332BF008AE1EA /* UI */,
  129. 8A1C83762AC328BD0096AF73 /* llama_swiftuiApp.swift */,
  130. 8A1C837A2AC328BE0096AF73 /* Assets.xcassets */,
  131. 8A1C837C2AC328BE0096AF73 /* Preview Content */,
  132. );
  133. path = llama.swiftui;
  134. sourceTree = "<group>";
  135. };
  136. 8A1C837C2AC328BE0096AF73 /* Preview Content */ = {
  137. isa = PBXGroup;
  138. children = (
  139. 8A1C837D2AC328BE0096AF73 /* Preview Assets.xcassets */,
  140. );
  141. path = "Preview Content";
  142. sourceTree = "<group>";
  143. };
  144. 8A39BE082AC7601000BFEB40 /* Frameworks */ = {
  145. isa = PBXGroup;
  146. children = (
  147. 549479CA2AC9E16000E0F78B /* Metal.framework */,
  148. 8A39BE092AC7601000BFEB40 /* Accelerate.framework */,
  149. );
  150. name = Frameworks;
  151. sourceTree = "<group>";
  152. };
  153. 8A3F84102AC4BD85005E2EE8 /* Resources */ = {
  154. isa = PBXGroup;
  155. children = (
  156. 8A3F84112AC4BD8C005E2EE8 /* models */,
  157. );
  158. path = Resources;
  159. sourceTree = "<group>";
  160. };
  161. 8A3F84112AC4BD8C005E2EE8 /* models */ = {
  162. isa = PBXGroup;
  163. children = (
  164. );
  165. path = models;
  166. sourceTree = "<group>";
  167. };
  168. 8A907F312AC7134E006146EA /* llama.cpp.swift */ = {
  169. isa = PBXGroup;
  170. children = (
  171. 8A08D20A2AC73B1500FE6CD4 /* bridging-header.h */,
  172. 8A907F322AC7134E006146EA /* LibLlama.swift */,
  173. );
  174. path = llama.cpp.swift;
  175. sourceTree = "<group>";
  176. };
  177. 8A9F7C4A2AC332BF008AE1EA /* UI */ = {
  178. isa = PBXGroup;
  179. children = (
  180. 7FA3D2B22B2EA2F600543F92 /* DownloadButton.swift */,
  181. 8A1C83782AC328BD0096AF73 /* ContentView.swift */,
  182. F1FE20E12B465EC900B45541 /* LoadCustomButton.swift */,
  183. );
  184. path = UI;
  185. sourceTree = "<group>";
  186. };
  187. 8A9F7C4B2AC332DC008AE1EA /* Models */ = {
  188. isa = PBXGroup;
  189. children = (
  190. 8A9F7C4C2AC332EE008AE1EA /* LlamaState.swift */,
  191. );
  192. path = Models;
  193. sourceTree = "<group>";
  194. };
  195. /* End PBXGroup section */
  196. /* Begin PBXNativeTarget section */
  197. 8A1C83722AC328BD0096AF73 /* llama.swiftui */ = {
  198. isa = PBXNativeTarget;
  199. buildConfigurationList = 8A1C83812AC328BE0096AF73 /* Build configuration list for PBXNativeTarget "llama.swiftui" */;
  200. buildPhases = (
  201. 8A1C836F2AC328BD0096AF73 /* Sources */,
  202. 8A1C83702AC328BD0096AF73 /* Frameworks */,
  203. 8A1C83712AC328BD0096AF73 /* Resources */,
  204. );
  205. buildRules = (
  206. F1FE20DB2B465C2100B45541 /* PBXBuildRule */,
  207. );
  208. dependencies = (
  209. );
  210. name = llama.swiftui;
  211. packageProductDependencies = (
  212. );
  213. productName = llama.swiftui;
  214. productReference = 8A1C83732AC328BD0096AF73 /* llama.swiftui.app */;
  215. productType = "com.apple.product-type.application";
  216. };
  217. /* End PBXNativeTarget section */
  218. /* Begin PBXProject section */
  219. 8A1C836B2AC328BD0096AF73 /* Project object */ = {
  220. isa = PBXProject;
  221. attributes = {
  222. BuildIndependentTargetsInParallel = 1;
  223. LastSwiftUpdateCheck = 1500;
  224. LastUpgradeCheck = 1500;
  225. TargetAttributes = {
  226. 8A1C83722AC328BD0096AF73 = {
  227. CreatedOnToolsVersion = 15.0;
  228. LastSwiftMigration = 1500;
  229. };
  230. };
  231. };
  232. buildConfigurationList = 8A1C836E2AC328BD0096AF73 /* Build configuration list for PBXProject "llama.swiftui" */;
  233. compatibilityVersion = "Xcode 14.0";
  234. developmentRegion = en;
  235. hasScannedForEncodings = 0;
  236. knownRegions = (
  237. en,
  238. Base,
  239. );
  240. mainGroup = 8A1C836A2AC328BD0096AF73;
  241. packageReferences = (
  242. );
  243. productRefGroup = 8A1C83742AC328BD0096AF73 /* Products */;
  244. projectDirPath = "";
  245. projectRoot = "";
  246. targets = (
  247. 8A1C83722AC328BD0096AF73 /* llama.swiftui */,
  248. );
  249. };
  250. /* End PBXProject section */
  251. /* Begin PBXResourcesBuildPhase section */
  252. 8A1C83712AC328BD0096AF73 /* Resources */ = {
  253. isa = PBXResourcesBuildPhase;
  254. buildActionMask = 2147483647;
  255. files = (
  256. F1FE20DC2B465C4500B45541 /* ggml-metal.metal in Resources */,
  257. 8A3F84242AC4C891005E2EE8 /* models in Resources */,
  258. 8A1C837E2AC328BE0096AF73 /* Preview Assets.xcassets in Resources */,
  259. 8A1C837B2AC328BE0096AF73 /* Assets.xcassets in Resources */,
  260. );
  261. runOnlyForDeploymentPostprocessing = 0;
  262. };
  263. /* End PBXResourcesBuildPhase section */
  264. /* Begin PBXSourcesBuildPhase section */
  265. 8A1C836F2AC328BD0096AF73 /* Sources */ = {
  266. isa = PBXSourcesBuildPhase;
  267. buildActionMask = 2147483647;
  268. files = (
  269. 542376082B0D9BFB008E6A1C /* ggml-quants.c in Sources */,
  270. 549479CD2AC9E42A00E0F78B /* ggml-metal.m in Sources */,
  271. F1FE20E22B465ECA00B45541 /* LoadCustomButton.swift in Sources */,
  272. 542EA09D2AC8723900A8AEE9 /* ggml.c in Sources */,
  273. 8A907F332AC7138A006146EA /* LibLlama.swift in Sources */,
  274. 542EA0A32AC8729100A8AEE9 /* llama.cpp in Sources */,
  275. 8A9F7C4D2AC332EE008AE1EA /* LlamaState.swift in Sources */,
  276. 8A1C83792AC328BD0096AF73 /* ContentView.swift in Sources */,
  277. 8A1C83772AC328BD0096AF73 /* llama_swiftuiApp.swift in Sources */,
  278. 7FA3D2B32B2EA2F600543F92 /* DownloadButton.swift in Sources */,
  279. 542EA0A02AC8725700A8AEE9 /* ggml-alloc.c in Sources */,
  280. 5423760B2B0D9C4B008E6A1C /* ggml-backend.c in Sources */,
  281. );
  282. runOnlyForDeploymentPostprocessing = 0;
  283. };
  284. /* End PBXSourcesBuildPhase section */
  285. /* Begin XCBuildConfiguration section */
  286. 8A1C837F2AC328BE0096AF73 /* Debug */ = {
  287. isa = XCBuildConfiguration;
  288. buildSettings = {
  289. ALWAYS_SEARCH_USER_PATHS = NO;
  290. ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
  291. CLANG_ANALYZER_NONNULL = YES;
  292. CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
  293. CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
  294. CLANG_ENABLE_MODULES = YES;
  295. CLANG_ENABLE_OBJC_ARC = YES;
  296. CLANG_ENABLE_OBJC_WEAK = YES;
  297. CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
  298. CLANG_WARN_BOOL_CONVERSION = YES;
  299. CLANG_WARN_COMMA = YES;
  300. CLANG_WARN_CONSTANT_CONVERSION = YES;
  301. CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
  302. CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  303. CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
  304. CLANG_WARN_EMPTY_BODY = YES;
  305. CLANG_WARN_ENUM_CONVERSION = YES;
  306. CLANG_WARN_INFINITE_RECURSION = YES;
  307. CLANG_WARN_INT_CONVERSION = YES;
  308. CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
  309. CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
  310. CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
  311. CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  312. CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
  313. CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
  314. CLANG_WARN_STRICT_PROTOTYPES = YES;
  315. CLANG_WARN_SUSPICIOUS_MOVE = YES;
  316. CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
  317. CLANG_WARN_UNREACHABLE_CODE = YES;
  318. CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  319. COPY_PHASE_STRIP = NO;
  320. DEBUG_INFORMATION_FORMAT = dwarf;
  321. ENABLE_STRICT_OBJC_MSGSEND = YES;
  322. ENABLE_TESTABILITY = YES;
  323. ENABLE_USER_SCRIPT_SANDBOXING = YES;
  324. GCC_C_LANGUAGE_STANDARD = gnu17;
  325. GCC_DYNAMIC_NO_PIC = NO;
  326. GCC_NO_COMMON_BLOCKS = YES;
  327. GCC_OPTIMIZATION_LEVEL = 0;
  328. GCC_PREPROCESSOR_DEFINITIONS = (
  329. "DEBUG=1",
  330. "$(inherited)",
  331. );
  332. GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  333. GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  334. GCC_WARN_UNDECLARED_SELECTOR = YES;
  335. GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  336. GCC_WARN_UNUSED_FUNCTION = YES;
  337. GCC_WARN_UNUSED_VARIABLE = YES;
  338. IPHONEOS_DEPLOYMENT_TARGET = 17.0;
  339. LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
  340. MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
  341. MTL_FAST_MATH = YES;
  342. ONLY_ACTIVE_ARCH = YES;
  343. SDKROOT = iphoneos;
  344. SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
  345. SWIFT_OPTIMIZATION_LEVEL = "-Onone";
  346. };
  347. name = Debug;
  348. };
  349. 8A1C83802AC328BE0096AF73 /* Release */ = {
  350. isa = XCBuildConfiguration;
  351. buildSettings = {
  352. ALWAYS_SEARCH_USER_PATHS = NO;
  353. ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
  354. CLANG_ANALYZER_NONNULL = YES;
  355. CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
  356. CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
  357. CLANG_ENABLE_MODULES = YES;
  358. CLANG_ENABLE_OBJC_ARC = YES;
  359. CLANG_ENABLE_OBJC_WEAK = YES;
  360. CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
  361. CLANG_WARN_BOOL_CONVERSION = YES;
  362. CLANG_WARN_COMMA = YES;
  363. CLANG_WARN_CONSTANT_CONVERSION = YES;
  364. CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
  365. CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  366. CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
  367. CLANG_WARN_EMPTY_BODY = YES;
  368. CLANG_WARN_ENUM_CONVERSION = YES;
  369. CLANG_WARN_INFINITE_RECURSION = YES;
  370. CLANG_WARN_INT_CONVERSION = YES;
  371. CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
  372. CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
  373. CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
  374. CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  375. CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
  376. CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
  377. CLANG_WARN_STRICT_PROTOTYPES = YES;
  378. CLANG_WARN_SUSPICIOUS_MOVE = YES;
  379. CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
  380. CLANG_WARN_UNREACHABLE_CODE = YES;
  381. CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  382. COPY_PHASE_STRIP = NO;
  383. DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  384. ENABLE_NS_ASSERTIONS = NO;
  385. ENABLE_STRICT_OBJC_MSGSEND = YES;
  386. ENABLE_USER_SCRIPT_SANDBOXING = YES;
  387. GCC_C_LANGUAGE_STANDARD = gnu17;
  388. GCC_NO_COMMON_BLOCKS = YES;
  389. GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  390. GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  391. GCC_WARN_UNDECLARED_SELECTOR = YES;
  392. GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  393. GCC_WARN_UNUSED_FUNCTION = YES;
  394. GCC_WARN_UNUSED_VARIABLE = YES;
  395. IPHONEOS_DEPLOYMENT_TARGET = 17.0;
  396. LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
  397. MTL_ENABLE_DEBUG_INFO = NO;
  398. MTL_FAST_MATH = YES;
  399. SDKROOT = iphoneos;
  400. SWIFT_COMPILATION_MODE = wholemodule;
  401. VALIDATE_PRODUCT = YES;
  402. };
  403. name = Release;
  404. };
  405. 8A1C83822AC328BE0096AF73 /* Debug */ = {
  406. isa = XCBuildConfiguration;
  407. buildSettings = {
  408. ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  409. ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
  410. CLANG_ENABLE_MODULES = YES;
  411. CODE_SIGN_STYLE = Automatic;
  412. CURRENT_PROJECT_VERSION = 1;
  413. DEVELOPMENT_ASSET_PATHS = "\"llama.swiftui/Preview Content\"";
  414. DEVELOPMENT_TEAM = STLSG3FG8Q;
  415. ENABLE_PREVIEWS = YES;
  416. GENERATE_INFOPLIST_FILE = YES;
  417. INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
  418. INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
  419. INFOPLIST_KEY_UILaunchScreen_Generation = YES;
  420. INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
  421. INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
  422. IPHONEOS_DEPLOYMENT_TARGET = 16.0;
  423. LD_RUNPATH_SEARCH_PATHS = (
  424. "$(inherited)",
  425. "@executable_path/Frameworks",
  426. );
  427. MARKETING_VERSION = 1.0;
  428. PRODUCT_BUNDLE_IDENTIFIER = "com.bachittle.llama-swift";
  429. PRODUCT_NAME = "$(TARGET_NAME)";
  430. SWIFT_EMIT_LOC_STRINGS = YES;
  431. SWIFT_OBJC_BRIDGING_HEADER = "llama.cpp.swift/bridging-header.h";
  432. SWIFT_OPTIMIZATION_LEVEL = "-Onone";
  433. SWIFT_VERSION = 5.0;
  434. TARGETED_DEVICE_FAMILY = "1,2";
  435. };
  436. name = Debug;
  437. };
  438. 8A1C83832AC328BE0096AF73 /* Release */ = {
  439. isa = XCBuildConfiguration;
  440. buildSettings = {
  441. ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  442. ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
  443. CLANG_ENABLE_MODULES = YES;
  444. CODE_SIGN_STYLE = Automatic;
  445. CURRENT_PROJECT_VERSION = 1;
  446. DEVELOPMENT_ASSET_PATHS = "\"llama.swiftui/Preview Content\"";
  447. DEVELOPMENT_TEAM = STLSG3FG8Q;
  448. ENABLE_PREVIEWS = YES;
  449. GENERATE_INFOPLIST_FILE = YES;
  450. INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
  451. INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
  452. INFOPLIST_KEY_UILaunchScreen_Generation = YES;
  453. INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
  454. INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
  455. IPHONEOS_DEPLOYMENT_TARGET = 16.0;
  456. LD_RUNPATH_SEARCH_PATHS = (
  457. "$(inherited)",
  458. "@executable_path/Frameworks",
  459. );
  460. MARKETING_VERSION = 1.0;
  461. PRODUCT_BUNDLE_IDENTIFIER = "com.bachittle.llama-swift";
  462. PRODUCT_NAME = "$(TARGET_NAME)";
  463. SWIFT_EMIT_LOC_STRINGS = YES;
  464. SWIFT_OBJC_BRIDGING_HEADER = "llama.cpp.swift/bridging-header.h";
  465. SWIFT_VERSION = 5.0;
  466. TARGETED_DEVICE_FAMILY = "1,2";
  467. };
  468. name = Release;
  469. };
  470. /* End XCBuildConfiguration section */
  471. /* Begin XCConfigurationList section */
  472. 8A1C836E2AC328BD0096AF73 /* Build configuration list for PBXProject "llama.swiftui" */ = {
  473. isa = XCConfigurationList;
  474. buildConfigurations = (
  475. 8A1C837F2AC328BE0096AF73 /* Debug */,
  476. 8A1C83802AC328BE0096AF73 /* Release */,
  477. );
  478. defaultConfigurationIsVisible = 0;
  479. defaultConfigurationName = Release;
  480. };
  481. 8A1C83812AC328BE0096AF73 /* Build configuration list for PBXNativeTarget "llama.swiftui" */ = {
  482. isa = XCConfigurationList;
  483. buildConfigurations = (
  484. 8A1C83822AC328BE0096AF73 /* Debug */,
  485. 8A1C83832AC328BE0096AF73 /* Release */,
  486. );
  487. defaultConfigurationIsVisible = 0;
  488. defaultConfigurationName = Release;
  489. };
  490. /* End XCConfigurationList section */
  491. };
  492. rootObject = 8A1C836B2AC328BD0096AF73 /* Project object */;
  493. }