Skip to content

Commit e4a9483

Browse files
committed
Xcode 15 project updates and use ruby 3.3.0
1 parent c7933a7 commit e4a9483

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

ext/xcode/libxml-ruby.xcodeproj/project.pbxproj

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
C7A776E12BA00A4900768F25 /* libruby.3.3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C7A776E02BA00A4900768F25 /* libruby.3.3.dylib */; };
1011
C7F2B59E2B4B608E004E0A86 /* libxml_ruby.h in Headers */ = {isa = PBXBuildFile; fileRef = C7F2B59D2B4B608E004E0A86 /* libxml_ruby.h */; };
1112
C7F2B5A62B4B610C004E0A86 /* ruby_libxml.h in Headers */ = {isa = PBXBuildFile; fileRef = C7F2B5542B4B5AEE004E0A86 /* ruby_libxml.h */; };
1213
C7F2B5A72B4B610C004E0A86 /* ruby_xml_attr_decl.h in Headers */ = {isa = PBXBuildFile; fileRef = C7F2B5642B4B5AEE004E0A86 /* ruby_xml_attr_decl.h */; };
@@ -82,7 +83,6 @@
8283
C7F2B5EE2B4B636C004E0A86 /* ruby_xml_xpath.c in Sources */ = {isa = PBXBuildFile; fileRef = C7F2B5402B4B5AED004E0A86 /* ruby_xml_xpath.c */; };
8384
C7F2B5EF2B4B636C004E0A86 /* ruby_xml.c in Sources */ = {isa = PBXBuildFile; fileRef = C7F2B53A2B4B5AED004E0A86 /* ruby_xml.c */; };
8485
C7F2B5F12B4B63BA004E0A86 /* libxml2.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C7F2B5F02B4B63BA004E0A86 /* libxml2.2.dylib */; };
85-
C7F2B5F22B4B63E4004E0A86 /* libruby.3.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C7F2B5922B4B5D38004E0A86 /* libruby.3.2.dylib */; };
8686
/* End PBXBuildFile section */
8787

8888
/* Begin PBXCopyFilesBuildPhase section */
@@ -99,6 +99,7 @@
9999
/* End PBXCopyFilesBuildPhase section */
100100

101101
/* Begin PBXFileReference section */
102+
C7A776E02BA00A4900768F25 /* libruby.3.3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libruby.3.3.dylib; path = ../../../../Cellar/ruby/3.3.0/lib/libruby.3.3.dylib; sourceTree = "<group>"; };
102103
C7F2B51F2B4B5AEC004E0A86 /* ruby_xml_parser.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ruby_xml_parser.c; path = ../libxml/ruby_xml_parser.c; sourceTree = "<group>"; };
103104
C7F2B5202B4B5AEC004E0A86 /* ruby_xml_namespace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ruby_xml_namespace.h; path = ../libxml/ruby_xml_namespace.h; sourceTree = "<group>"; };
104105
C7F2B5212B4B5AEC004E0A86 /* ruby_xml_attr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ruby_xml_attr.c; path = ../libxml/ruby_xml_attr.c; sourceTree = "<group>"; };
@@ -183,7 +184,7 @@
183184
isa = PBXFrameworksBuildPhase;
184185
buildActionMask = 2147483647;
185186
files = (
186-
C7F2B5F22B4B63E4004E0A86 /* libruby.3.2.dylib in Frameworks */,
187+
C7A776E12BA00A4900768F25 /* libruby.3.3.dylib in Frameworks */,
187188
C7F2B5F12B4B63BA004E0A86 /* libxml2.2.dylib in Frameworks */,
188189
);
189190
runOnlyForDeploymentPostprocessing = 0;
@@ -283,6 +284,7 @@
283284
C7F2B5912B4B5D38004E0A86 /* Frameworks */ = {
284285
isa = PBXGroup;
285286
children = (
287+
C7A776E02BA00A4900768F25 /* libruby.3.3.dylib */,
286288
C7F2B5F02B4B63BA004E0A86 /* libxml2.2.dylib */,
287289
C7F2B5922B4B5D38004E0A86 /* libruby.3.2.dylib */,
288290
);
@@ -373,7 +375,7 @@
373375
isa = PBXProject;
374376
attributes = {
375377
BuildIndependentTargetsInParallel = 1;
376-
LastUpgradeCheck = 1510;
378+
LastUpgradeCheck = 1530;
377379
TargetAttributes = {
378380
C7F2B59A2B4B608E004E0A86 = {
379381
CreatedOnToolsVersion = 15.1;
@@ -479,6 +481,7 @@
479481
CLANG_WARN_UNREACHABLE_CODE = YES;
480482
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
481483
COPY_PHASE_STRIP = NO;
484+
DEAD_CODE_STRIPPING = YES;
482485
DEBUG_INFORMATION_FORMAT = dwarf;
483486
ENABLE_STRICT_OBJC_MSGSEND = YES;
484487
ENABLE_TESTABILITY = YES;
@@ -499,9 +502,8 @@
499502
GCC_WARN_UNUSED_FUNCTION = YES;
500503
GCC_WARN_UNUSED_VARIABLE = YES;
501504
HEADER_SEARCH_PATHS = (
502-
"/usr/local/opt/ruby/include/ruby-3.2.0",
503-
"/usr/local/opt/ruby/include/ruby-3.2.0/x86_64-darwin23",
504-
/usr/local/opt/libxml2/include,
505+
"/usr/local/opt/ruby/include/ruby-3.3.0",
506+
"/usr/local/opt/ruby/include/ruby-3.3.0/x86_64-darwin23",
505507
);
506508
LIBRARY_SEARCH_PATHS = "";
507509
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
@@ -547,6 +549,7 @@
547549
CLANG_WARN_UNREACHABLE_CODE = YES;
548550
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
549551
COPY_PHASE_STRIP = NO;
552+
DEAD_CODE_STRIPPING = YES;
550553
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
551554
ENABLE_NS_ASSERTIONS = NO;
552555
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -561,9 +564,8 @@
561564
GCC_WARN_UNUSED_FUNCTION = YES;
562565
GCC_WARN_UNUSED_VARIABLE = YES;
563566
HEADER_SEARCH_PATHS = (
564-
"/usr/local/opt/ruby/include/ruby-3.2.0",
565-
"/usr/local/opt/ruby/include/ruby-3.2.0/x86_64-darwin23",
566-
/usr/local/opt/libxml2/include,
567+
"/usr/local/opt/ruby/include/ruby-3.3.0",
568+
"/usr/local/opt/ruby/include/ruby-3.3.0/x86_64-darwin23",
567569
);
568570
LIBRARY_SEARCH_PATHS = "";
569571
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
@@ -578,11 +580,13 @@
578580
isa = XCBuildConfiguration;
579581
buildSettings = {
580582
CODE_SIGN_STYLE = Automatic;
583+
DEAD_CODE_STRIPPING = YES;
581584
EXECUTABLE_EXTENSION = bundle;
582585
LIBRARY_SEARCH_PATHS = (
583586
"$(inherited)",
584587
/usr/local/Cellar/libxml2/2.12.3/lib,
585588
/usr/local/Cellar/ruby/3.2.2_1/lib,
589+
/usr/local/Cellar/ruby/3.3.0/lib,
586590
);
587591
PRODUCT_NAME = "$(TARGET_NAME)";
588592
SKIP_INSTALL = YES;
@@ -593,11 +597,13 @@
593597
isa = XCBuildConfiguration;
594598
buildSettings = {
595599
CODE_SIGN_STYLE = Automatic;
600+
DEAD_CODE_STRIPPING = YES;
596601
EXECUTABLE_EXTENSION = bundle;
597602
LIBRARY_SEARCH_PATHS = (
598603
"$(inherited)",
599604
/usr/local/Cellar/libxml2/2.12.3/lib,
600605
/usr/local/Cellar/ruby/3.2.2_1/lib,
606+
/usr/local/Cellar/ruby/3.3.0/lib,
601607
);
602608
PRODUCT_NAME = "$(TARGET_NAME)";
603609
SKIP_INSTALL = YES;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

ext/xcode/libxml-ruby.xcodeproj/xcshareddata/xcschemes/libxml-ruby.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1510"
3+
LastUpgradeVersion = "1530"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -15,7 +15,7 @@
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
1717
BlueprintIdentifier = "C7F2B59A2B4B608E004E0A86"
18-
BuildableName = "liblibxml_ruby.dylib"
18+
BuildableName = "libxml_ruby.bundle"
1919
BlueprintName = "libxml_ruby"
2020
ReferencedContainer = "container:libxml-ruby.xcodeproj">
2121
</BuildableReference>
@@ -64,7 +64,7 @@
6464
<BuildableReference
6565
BuildableIdentifier = "primary"
6666
BlueprintIdentifier = "C7F2B59A2B4B608E004E0A86"
67-
BuildableName = "liblibxml_ruby.dylib"
67+
BuildableName = "libxml_ruby.bundle"
6868
BlueprintName = "libxml_ruby"
6969
ReferencedContainer = "container:libxml-ruby.xcodeproj">
7070
</BuildableReference>

0 commit comments

Comments
 (0)