From 4967fd45bf691fe83c1bc8cfeba3cc9d3a211eec Mon Sep 17 00:00:00 2001 From: Karl Stenerud Date: Fri, 8 Sep 2023 12:43:05 +0100 Subject: [PATCH 1/3] Fix ld: warning: ignoring duplicate libraries: '-lc++' --- Bugsnag.xcodeproj/project.pbxproj | 28 ++------------- Package.swift | 2 -- .../objective-c-ios.xcodeproj/project.pbxproj | 10 ------ .../objective-c-osx.xcodeproj/project.pbxproj | 4 --- .../swift-ios.xcodeproj/project.pbxproj | 4 --- .../project.pbxproj | 34 ++++++++++--------- 6 files changed, 20 insertions(+), 62 deletions(-) diff --git a/Bugsnag.xcodeproj/project.pbxproj b/Bugsnag.xcodeproj/project.pbxproj index 2907142e6..5f3175405 100644 --- a/Bugsnag.xcodeproj/project.pbxproj +++ b/Bugsnag.xcodeproj/project.pbxproj @@ -1087,8 +1087,6 @@ CBBDE9BF280069B20070DCD3 /* BSG_KSString.c in Sources */ = {isa = PBXBuildFile; fileRef = 008969242486DAD000DC48C2 /* BSG_KSString.c */; }; CBBDE9C0280069B20070DCD3 /* BSG_KSMach_x86_32.c in Sources */ = {isa = PBXBuildFile; fileRef = 008969032486DAD000DC48C2 /* BSG_KSMach_x86_32.c */; }; CBBDE9C2280069B20070DCD3 /* BSG_KSMach_Arm64.c in Sources */ = {isa = PBXBuildFile; fileRef = 008969172486DAD000DC48C2 /* BSG_KSMach_Arm64.c */; }; - CBBDE9C4280069D10070DCD3 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = CBBDE9C3280069D10070DCD3 /* libc++.tbd */; }; - CBBDE9C6280069D90070DCD3 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = CBBDE9C5280069D90070DCD3 /* libz.tbd */; }; CBCAF6FA25A457F90095771F /* BSGFileLocations.h in Headers */ = {isa = PBXBuildFile; fileRef = CBCAF6F825A457F90095771F /* BSGFileLocations.h */; }; CBCAF6FB25A457F90095771F /* BSGFileLocations.h in Headers */ = {isa = PBXBuildFile; fileRef = CBCAF6F825A457F90095771F /* BSGFileLocations.h */; }; CBCAF6FC25A457F90095771F /* BSGFileLocations.h in Headers */ = {isa = PBXBuildFile; fileRef = CBCAF6F825A457F90095771F /* BSGFileLocations.h */; }; @@ -1178,16 +1176,10 @@ E746291C248907E500F92D67 /* BSG_KSCrashC.c in Sources */ = {isa = PBXBuildFile; fileRef = 0089694B2486DAD000DC48C2 /* BSG_KSCrashC.c */; }; E746292524890BFE00F92D67 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292424890BFE00F92D67 /* Foundation.framework */; }; E746292724890C1100F92D67 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292624890C1100F92D67 /* SystemConfiguration.framework */; }; - E746292924890C1500F92D67 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292824890C1500F92D67 /* libc++.tbd */; }; - E746292B24890C1A00F92D67 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292A24890C1A00F92D67 /* libz.tbd */; }; E746292D24890C3300F92D67 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292C24890C3300F92D67 /* Foundation.framework */; }; E746292F24890C3900F92D67 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292E24890C3900F92D67 /* SystemConfiguration.framework */; }; - E746293224890C5200F92D67 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E746293124890C4300F92D67 /* libz.tbd */; }; - E746293324890C5700F92D67 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E746293024890C3D00F92D67 /* libc++.tbd */; }; E746293524890C6500F92D67 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746293424890C6500F92D67 /* Foundation.framework */; }; E746293724890C6B00F92D67 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746293624890C6B00F92D67 /* SystemConfiguration.framework */; }; - E746293924890C7400F92D67 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E746293824890C7000F92D67 /* libc++.tbd */; }; - E746293B24890C7E00F92D67 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E746293A24890C7900F92D67 /* libz.tbd */; }; E746293C24890C9F00F92D67 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292424890BFE00F92D67 /* Foundation.framework */; }; E746293D24890CA400F92D67 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E746292624890C1100F92D67 /* SystemConfiguration.framework */; }; /* End PBXBuildFile section */ @@ -1632,8 +1624,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E746292B24890C1A00F92D67 /* libz.tbd in Frameworks */, - E746292924890C1500F92D67 /* libc++.tbd in Frameworks */, E746292724890C1100F92D67 /* SystemConfiguration.framework in Frameworks */, E746292524890BFE00F92D67 /* Foundation.framework in Frameworks */, CBEC89382A4AC8520088A3CE /* UIKit.framework in Frameworks */, @@ -1653,8 +1643,6 @@ buildActionMask = 2147483647; files = ( E746292F24890C3900F92D67 /* SystemConfiguration.framework in Frameworks */, - E746293224890C5200F92D67 /* libz.tbd in Frameworks */, - E746293324890C5700F92D67 /* libc++.tbd in Frameworks */, E746292D24890C3300F92D67 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1671,8 +1659,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E746293924890C7400F92D67 /* libc++.tbd in Frameworks */, - E746293B24890C7E00F92D67 /* libz.tbd in Frameworks */, E746293724890C6B00F92D67 /* SystemConfiguration.framework in Frameworks */, E746293524890C6500F92D67 /* Foundation.framework in Frameworks */, ); @@ -1707,8 +1693,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - CBBDE9C6280069D90070DCD3 /* libz.tbd in Frameworks */, - CBBDE9C4280069D10070DCD3 /* libc++.tbd in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3916,11 +3900,7 @@ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = ( - "-lc++", - "-lz", - "-ObjC", - ); + OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = com.bugsnag.Bugsnag; PRODUCT_NAME = Bugsnag; RUN_CLANG_STATIC_ANALYZER = YES; @@ -3958,11 +3938,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; - OTHER_LDFLAGS = ( - "-lc++", - "-lz", - "-ObjC", - ); + OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = com.bugsnag.Bugsnag; PRODUCT_NAME = Bugsnag; RUN_CLANG_STATIC_ANALYZER = YES; diff --git a/Package.swift b/Package.swift index 86289ee10..53e3579c1 100644 --- a/Package.swift +++ b/Package.swift @@ -39,8 +39,6 @@ let package = Package( .headerSearchPath("Storage"), ], linkerSettings: [ - .linkedLibrary("z"), - .linkedLibrary("c++"), ] ), .target( diff --git a/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj b/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj index a913c7d0f..c6099240b 100644 --- a/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj +++ b/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj @@ -12,12 +12,8 @@ 0159747126BBE92D003BD715 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0159746F26BBE92D003BD715 /* LaunchScreen.storyboard */; }; 01B9390826BBE17C00208C39 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 01B9390726BBE17C00208C39 /* Assets.xcassets */; }; 19B2907F523540B1194E89AC /* libPods-objective-c-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AE12FD2EC7D212FA4CE8C14 /* libPods-objective-c-ios.a */; }; - 8A4882E2224BCC130035B94C /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8A4882E1224BCC130035B94C /* WebKit.framework */; }; 8A4882E5224BCD5D0035B94C /* OutOfMemoryController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A4882E4224BCD5D0035B94C /* OutOfMemoryController.m */; }; A1F5109B249A5C4000AFF4DE /* CxxException.mm in Sources */ = {isa = PBXBuildFile; fileRef = A1F51099249A5C4000AFF4DE /* CxxException.mm */; }; - F40B874B16AA233500676BB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F40B874A16AA233500676BB2 /* UIKit.framework */; }; - F40B874D16AA233500676BB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F40B874C16AA233500676BB2 /* Foundation.framework */; }; - F40B874F16AA233500676BB2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F40B874E16AA233500676BB2 /* CoreGraphics.framework */; }; F40B875716AA233500676BB2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F40B875616AA233500676BB2 /* main.m */; }; F40B875B16AA233500676BB2 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F40B875A16AA233500676BB2 /* AppDelegate.m */; }; F40B876416AA233500676BB2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F40B876216AA233500676BB2 /* Main.storyboard */; }; @@ -63,10 +59,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 8A4882E2224BCC130035B94C /* WebKit.framework in Frameworks */, - F40B874B16AA233500676BB2 /* UIKit.framework in Frameworks */, - F40B874D16AA233500676BB2 /* Foundation.framework in Frameworks */, - F40B874F16AA233500676BB2 /* CoreGraphics.framework in Frameworks */, 19B2907F523540B1194E89AC /* libPods-objective-c-ios.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -403,7 +395,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 30DA6BFF87D698AA4E0F2AF4 /* Pods-objective-c-ios.debug.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -429,7 +420,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 369E8CF8CBEF9563CE2A1E09 /* Pods-objective-c-ios.release.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj b/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj index 3cdad9dc2..5e5d7855e 100644 --- a/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj +++ b/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj @@ -15,8 +15,6 @@ 93BE1CE01B62CC360016380C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 93BE1CDE1B62CC360016380C /* Main.storyboard */; }; 93CF94F81B66B09300D1558C /* CustomApplication.m in Sources */ = {isa = PBXBuildFile; fileRef = 93CF94F71B66B09300D1558C /* CustomApplication.m */; }; D237D8A707A739A4034FF767 /* libPods-objective-c-osx.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 54B9582E2984563C0F07C26D /* libPods-objective-c-osx.a */; }; - E76616EE1F4E43CC0094CECF /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E76616ED1F4E43CC0094CECF /* libc++.tbd */; }; - E76616F01F4E43D10094CECF /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E76616EF1F4E43D10094CECF /* libz.tbd */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -44,8 +42,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E76616F01F4E43D10094CECF /* libz.tbd in Frameworks */, - E76616EE1F4E43CC0094CECF /* libc++.tbd in Frameworks */, D237D8A707A739A4034FF767 /* libPods-objective-c-osx.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj b/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj index 13e6d8216..6cd326a7b 100644 --- a/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj +++ b/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj @@ -18,8 +18,6 @@ D175F4C51ACDBD81009AFFB7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D175F4C41ACDBD81009AFFB7 /* Assets.xcassets */; }; D175F4DF1ACDBEFA009AFFB7 /* AnotherClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = D175F4DE1ACDBEFA009AFFB7 /* AnotherClass.swift */; }; D175F4E21ACDBFD9009AFFB7 /* AnObjCClass.mm in Sources */ = {isa = PBXBuildFile; fileRef = D175F4E11ACDBFD9009AFFB7 /* AnObjCClass.mm */; }; - E75E62DF1F4CE1D8000C44C0 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E75E62DE1F4CE1D8000C44C0 /* libc++.tbd */; }; - E75E62E11F4CE1DD000C44C0 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E75E62E01F4CE1DD000C44C0 /* libz.tbd */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -52,8 +50,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E75E62E11F4CE1DD000C44C0 /* libz.tbd in Frameworks */, - E75E62DF1F4CE1D8000C44C0 /* libc++.tbd in Frameworks */, 99E0BFB5118D8734EE28789F /* Pods_swift_ios.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj b/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj index 3b4881ec1..e7bfb245c 100644 --- a/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj +++ b/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj @@ -3,20 +3,21 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ 011E212326BC3208006903C3 /* AnotherClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 011E211E26BC3208006903C3 /* AnotherClass.swift */; }; 011E212526BC3208006903C3 /* AnObjCClass.mm in Sources */ = {isa = PBXBuildFile; fileRef = 011E212026BC3208006903C3 /* AnObjCClass.mm */; }; 01E53F7A26C12EAF003AD7BB /* OutOfMemoryController.m in Sources */ = {isa = PBXBuildFile; fileRef = 01E53F7926C12EAF003AD7BB /* OutOfMemoryController.m */; }; + 09E57CB02AAB45D40053F4E3 /* Bugsnag in Frameworks */ = {isa = PBXBuildFile; productRef = 09E57CAF2AAB45D40053F4E3 /* Bugsnag */; }; + 09E57CB22AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 09E57CB12AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin */; }; 3A837DC024AA48DE00A54700 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A837DBF24AA48DE00A54700 /* AppDelegate.swift */; }; 3A837DC224AA48DE00A54700 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A837DC124AA48DE00A54700 /* SceneDelegate.swift */; }; 3A837DC424AA48DE00A54700 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A837DC324AA48DE00A54700 /* ViewController.swift */; }; 3A837DC724AA48DE00A54700 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3A837DC524AA48DE00A54700 /* Main.storyboard */; }; 3A837DC924AA48DF00A54700 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3A837DC824AA48DF00A54700 /* Assets.xcassets */; }; 3A837DCC24AA48DF00A54700 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3A837DCA24AA48DF00A54700 /* LaunchScreen.storyboard */; }; - 3A837DD524AA4A0E00A54700 /* Bugsnag in Frameworks */ = {isa = PBXBuildFile; productRef = 3A837DD424AA4A0E00A54700 /* Bugsnag */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -41,7 +42,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3A837DD524AA4A0E00A54700 /* Bugsnag in Frameworks */, + 09E57CB22AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin in Frameworks */, + 09E57CB02AAB45D40053F4E3 /* Bugsnag in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -101,7 +103,8 @@ ); name = "swift-package-manager"; packageProductDependencies = ( - 3A837DD424AA4A0E00A54700 /* Bugsnag */, + 09E57CAF2AAB45D40053F4E3 /* Bugsnag */, + 09E57CB12AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin */, ); productName = "swift-package-manager"; productReference = 3A837DBC24AA48DE00A54700 /* swift-package-manager.app */; @@ -133,7 +136,7 @@ ); mainGroup = 3A837DB324AA48DE00A54700; packageReferences = ( - 3A837DD324AA4A0E00A54700 /* XCRemoteSwiftPackageReference "bugsnag-cocoa" */, + 09E57CAE2AAB45D40053F4E3 /* XCLocalSwiftPackageReference "../.." */, ); productRefGroup = 3A837DBD24AA48DE00A54700 /* Products */; projectDirPath = ""; @@ -373,23 +376,22 @@ }; /* End XCConfigurationList section */ -/* Begin XCRemoteSwiftPackageReference section */ - 3A837DD324AA4A0E00A54700 /* XCRemoteSwiftPackageReference "bugsnag-cocoa" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/bugsnag/bugsnag-cocoa.git"; - requirement = { - branch = master; - kind = branch; - }; +/* Begin XCLocalSwiftPackageReference section */ + 09E57CAE2AAB45D40053F4E3 /* XCLocalSwiftPackageReference "../.." */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ../..; }; -/* End XCRemoteSwiftPackageReference section */ +/* End XCLocalSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ - 3A837DD424AA4A0E00A54700 /* Bugsnag */ = { + 09E57CAF2AAB45D40053F4E3 /* Bugsnag */ = { isa = XCSwiftPackageProductDependency; - package = 3A837DD324AA4A0E00A54700 /* XCRemoteSwiftPackageReference "bugsnag-cocoa" */; productName = Bugsnag; }; + 09E57CB12AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin */ = { + isa = XCSwiftPackageProductDependency; + productName = BugsnagNetworkRequestPlugin; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 3A837DB424AA48DE00A54700 /* Project object */; From a55f6e183c4e9c69089c1e5bc221033418b3c70a Mon Sep 17 00:00:00 2001 From: Karl Stenerud Date: Mon, 11 Sep 2023 10:05:01 +0100 Subject: [PATCH 2/3] Remove CLANG_CXX_LIBRARY --- Bugsnag.xcodeproj/project.pbxproj | 18 --------------- .../project.pbxproj | 2 -- .../objective-c-ios.xcodeproj/project.pbxproj | 19 ---------------- .../objective-c-osx.xcodeproj/project.pbxproj | 6 ----- .../swift-ios.xcodeproj/project.pbxproj | 6 ----- .../project.pbxproj | 22 +++++++++---------- .../swiftui/swiftui.xcodeproj/project.pbxproj | 4 +--- .../ios/iOSTestApp.xcodeproj/project.pbxproj | 2 -- .../project.pbxproj | 2 -- .../macOSTestApp.xcodeproj/project.pbxproj | 2 -- 10 files changed, 11 insertions(+), 72 deletions(-) diff --git a/Bugsnag.xcodeproj/project.pbxproj b/Bugsnag.xcodeproj/project.pbxproj index 5f3175405..509c355d5 100644 --- a/Bugsnag.xcodeproj/project.pbxproj +++ b/Bugsnag.xcodeproj/project.pbxproj @@ -1582,8 +1582,6 @@ CBB0928B2519F891007698BC /* BugsnagSystemState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BugsnagSystemState.h; sourceTree = ""; }; CBBDE8F8280067AB0070DCD3 /* Bugsnag.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bugsnag.framework; sourceTree = BUILT_PRODUCTS_DIR; }; CBBDE901280067AB0070DCD3 /* Bugsnag-watchOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Bugsnag-watchOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - CBBDE9C3280069D10070DCD3 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk/usr/lib/libc++.tbd"; sourceTree = DEVELOPER_DIR; }; - CBBDE9C5280069D90070DCD3 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; CBBDE9C7280069E40070DCD3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/WatchOS.platform/Developer/SDKs/WatchOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; CBCAF6F825A457F90095771F /* BSGFileLocations.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BSGFileLocations.h; sourceTree = ""; }; CBCAF6F925A457F90095771F /* BSGFileLocations.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BSGFileLocations.m; sourceTree = ""; }; @@ -1607,16 +1605,10 @@ E701FAAE2490EFE8008D842F /* ConfigurationApiValidationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ConfigurationApiValidationTest.m; sourceTree = ""; }; E746292424890BFE00F92D67 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; E746292624890C1100F92D67 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; - E746292824890C1500F92D67 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; - E746292A24890C1A00F92D67 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; E746292C24890C3300F92D67 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; E746292E24890C3900F92D67 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; - E746293024890C3D00F92D67 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libc++.tbd"; sourceTree = DEVELOPER_DIR; }; - E746293124890C4300F92D67 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; E746293424890C6500F92D67 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.4.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; E746293624890C6B00F92D67 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.4.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; - E746293824890C7000F92D67 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.4.sdk/usr/lib/libc++.tbd"; sourceTree = DEVELOPER_DIR; }; - E746293A24890C7900F92D67 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.4.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -2234,19 +2226,11 @@ children = ( CBEC89372A4AC8520088A3CE /* UIKit.framework */, CBBDE9C7280069E40070DCD3 /* Foundation.framework */, - CBBDE9C5280069D90070DCD3 /* libz.tbd */, - CBBDE9C3280069D10070DCD3 /* libc++.tbd */, 01A617842733D15C00024A0B /* BugsnagNetworkRequestPlugin.framework */, - E746293A24890C7900F92D67 /* libz.tbd */, - E746293824890C7000F92D67 /* libc++.tbd */, E746293624890C6B00F92D67 /* SystemConfiguration.framework */, E746293424890C6500F92D67 /* Foundation.framework */, - E746293124890C4300F92D67 /* libz.tbd */, - E746293024890C3D00F92D67 /* libc++.tbd */, E746292E24890C3900F92D67 /* SystemConfiguration.framework */, E746292C24890C3300F92D67 /* Foundation.framework */, - E746292A24890C1A00F92D67 /* libz.tbd */, - E746292824890C1500F92D67 /* libc++.tbd */, E746292624890C1100F92D67 /* SystemConfiguration.framework */, E746292424890BFE00F92D67 /* Foundation.framework */, ); @@ -3875,7 +3859,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; @@ -3920,7 +3903,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; diff --git a/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.xcodeproj/project.pbxproj b/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.xcodeproj/project.pbxproj index fff8a89fe..4b6635ebd 100644 --- a/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.xcodeproj/project.pbxproj +++ b/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.xcodeproj/project.pbxproj @@ -1058,7 +1058,6 @@ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; @@ -1158,7 +1157,6 @@ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; diff --git a/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj b/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj index c6099240b..bcb17b513 100644 --- a/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj +++ b/examples/objective-c-ios/objective-c-ios.xcodeproj/project.pbxproj @@ -36,10 +36,6 @@ A1F51099249A5C4000AFF4DE /* CxxException.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CxxException.mm; sourceTree = ""; }; A1F5109A249A5C4000AFF4DE /* CxxException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CxxException.h; sourceTree = ""; }; E7989EEC1F33619D007C37A4 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; - E7EC04121F4CC87300C2E9D5 /* libc++.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libc++.1.dylib"; path = "../../../../../../usr/lib/libc++.1.dylib"; sourceTree = ""; }; - E7EC04131F4CC87300C2E9D5 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.1.dylib; path = ../../../../../../usr/lib/libz.1.dylib; sourceTree = ""; }; - E7EC041C1F4CCA5500C2E9D5 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; - E7EC041E1F4CCA5B00C2E9D5 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; F2E14F3E5A46514C8F874A58 /* Pods-Bugsnag Test App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Bugsnag Test App.release.xcconfig"; path = "Pods/Target Support Files/Pods-Bugsnag Test App/Pods-Bugsnag Test App.release.xcconfig"; sourceTree = ""; }; F40B874616AA233500676BB2 /* objective-c-ios.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "objective-c-ios.app"; sourceTree = BUILT_PRODUCTS_DIR; }; F40B874A16AA233500676BB2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; @@ -100,10 +96,6 @@ isa = PBXGroup; children = ( 8A4882E1224BCC130035B94C /* WebKit.framework */, - E7EC041E1F4CCA5B00C2E9D5 /* libc++.tbd */, - E7EC041C1F4CCA5500C2E9D5 /* libz.tbd */, - E7EC04121F4CC87300C2E9D5 /* libc++.1.dylib */, - E7EC04131F4CC87300C2E9D5 /* libz.1.dylib */, E7989EEC1F33619D007C37A4 /* SystemConfiguration.framework */, F40B874A16AA233500676BB2 /* UIKit.framework */, F40B874C16AA233500676BB2 /* Foundation.framework */, @@ -292,7 +284,6 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; @@ -336,7 +327,6 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -347,7 +337,6 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; @@ -384,8 +373,6 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0; OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -400,7 +387,6 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = YES; DEVELOPMENT_TEAM = 372ZUL2ZB7; - ENABLE_BITCODE = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_SYMBOLS_PRIVATE_EXTERN = YES; INFOPLIST_FILE = "objective-c-ios/Info.plist"; @@ -408,10 +394,8 @@ PRODUCT_BUNDLE_IDENTIFIER = "com.bugsnag.examples.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; - SEPARATE_STRIP = YES; STRIP_INSTALLED_PRODUCT = YES; SUPPORTS_MACCATALYST = YES; - SWIFT_VERSION = 4.0; WRAPPER_EXTENSION = app; }; name = Debug; @@ -425,17 +409,14 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEPLOYMENT_POSTPROCESSING = YES; DEVELOPMENT_TEAM = 372ZUL2ZB7; - ENABLE_BITCODE = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = "objective-c-ios/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; PRODUCT_BUNDLE_IDENTIFIER = "com.bugsnag.examples.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; - SEPARATE_STRIP = YES; STRIP_INSTALLED_PRODUCT = YES; SUPPORTS_MACCATALYST = YES; - SWIFT_VERSION = 4.0; WRAPPER_EXTENSION = app; }; name = Release; diff --git a/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj b/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj index 5e5d7855e..a3a03d78f 100644 --- a/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj +++ b/examples/objective-c-osx/objective-c-osx.xcodeproj/project.pbxproj @@ -32,8 +32,6 @@ 93BE1CDF1B62CC360016380C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 93CF94F61B66B09300D1558C /* CustomApplication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomApplication.h; sourceTree = ""; }; 93CF94F71B66B09300D1558C /* CustomApplication.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CustomApplication.m; sourceTree = ""; }; - E76616ED1F4E43CC0094CECF /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; - E76616EF1F4E43D10094CECF /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; F830779A7F2A813CA88B426B /* Pods-objective-c-osx.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-objective-c-osx.debug.xcconfig"; path = "Pods/Target Support Files/Pods-objective-c-osx/Pods-objective-c-osx.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -52,8 +50,6 @@ 237A9755E6B64C219CB26705 /* Frameworks */ = { isa = PBXGroup; children = ( - E76616EF1F4E43D10094CECF /* libz.tbd */, - E76616ED1F4E43CC0094CECF /* libc++.tbd */, 54B9582E2984563C0F07C26D /* libPods-objective-c-osx.a */, ); name = Frameworks; @@ -248,7 +244,6 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; @@ -302,7 +297,6 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; diff --git a/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj b/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj index 6cd326a7b..dbbad3c99 100644 --- a/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj +++ b/examples/swift-ios/swift-ios.xcodeproj/project.pbxproj @@ -41,8 +41,6 @@ D175F4DE1ACDBEFA009AFFB7 /* AnotherClass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnotherClass.swift; sourceTree = ""; }; D175F4E01ACDBFD9009AFFB7 /* AnObjCClass.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnObjCClass.h; sourceTree = ""; }; D175F4E11ACDBFD9009AFFB7 /* AnObjCClass.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AnObjCClass.mm; sourceTree = ""; }; - E75E62DE1F4CE1D8000C44C0 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; - E75E62E01F4CE1DD000C44C0 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -110,8 +108,6 @@ FD51012AA06FE025CCC45C93 /* Frameworks */ = { isa = PBXGroup; children = ( - E75E62E01F4CE1DD000C44C0 /* libz.tbd */, - E75E62DE1F4CE1D8000C44C0 /* libc++.tbd */, 2C150B6F7F4565C76CCBBFE1 /* Pods_swift_ios.framework */, ); name = Frameworks; @@ -288,7 +284,6 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; @@ -345,7 +340,6 @@ ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; diff --git a/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj b/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj index e7bfb245c..01502287d 100644 --- a/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj +++ b/examples/swift-package-manager/swift-package-manager.xcodeproj/project.pbxproj @@ -10,8 +10,8 @@ 011E212326BC3208006903C3 /* AnotherClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 011E211E26BC3208006903C3 /* AnotherClass.swift */; }; 011E212526BC3208006903C3 /* AnObjCClass.mm in Sources */ = {isa = PBXBuildFile; fileRef = 011E212026BC3208006903C3 /* AnObjCClass.mm */; }; 01E53F7A26C12EAF003AD7BB /* OutOfMemoryController.m in Sources */ = {isa = PBXBuildFile; fileRef = 01E53F7926C12EAF003AD7BB /* OutOfMemoryController.m */; }; - 09E57CB02AAB45D40053F4E3 /* Bugsnag in Frameworks */ = {isa = PBXBuildFile; productRef = 09E57CAF2AAB45D40053F4E3 /* Bugsnag */; }; - 09E57CB22AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 09E57CB12AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin */; }; + 09A535BC2AAB5B3D0044B96E /* Bugsnag in Frameworks */ = {isa = PBXBuildFile; productRef = 09A535BB2AAB5B3D0044B96E /* Bugsnag */; }; + 09A535BE2AAB5B3D0044B96E /* BugsnagNetworkRequestPlugin in Frameworks */ = {isa = PBXBuildFile; productRef = 09A535BD2AAB5B3D0044B96E /* BugsnagNetworkRequestPlugin */; }; 3A837DC024AA48DE00A54700 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A837DBF24AA48DE00A54700 /* AppDelegate.swift */; }; 3A837DC224AA48DE00A54700 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A837DC124AA48DE00A54700 /* SceneDelegate.swift */; }; 3A837DC424AA48DE00A54700 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A837DC324AA48DE00A54700 /* ViewController.swift */; }; @@ -42,8 +42,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 09E57CB22AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin in Frameworks */, - 09E57CB02AAB45D40053F4E3 /* Bugsnag in Frameworks */, + 09A535BE2AAB5B3D0044B96E /* BugsnagNetworkRequestPlugin in Frameworks */, + 09A535BC2AAB5B3D0044B96E /* Bugsnag in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -103,8 +103,8 @@ ); name = "swift-package-manager"; packageProductDependencies = ( - 09E57CAF2AAB45D40053F4E3 /* Bugsnag */, - 09E57CB12AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin */, + 09A535BB2AAB5B3D0044B96E /* Bugsnag */, + 09A535BD2AAB5B3D0044B96E /* BugsnagNetworkRequestPlugin */, ); productName = "swift-package-manager"; productReference = 3A837DBC24AA48DE00A54700 /* swift-package-manager.app */; @@ -136,7 +136,7 @@ ); mainGroup = 3A837DB324AA48DE00A54700; packageReferences = ( - 09E57CAE2AAB45D40053F4E3 /* XCLocalSwiftPackageReference "../.." */, + 09A535BA2AAB5B3D0044B96E /* XCLocalSwiftPackageReference "../.." */, ); productRefGroup = 3A837DBD24AA48DE00A54700 /* Products */; projectDirPath = ""; @@ -203,7 +203,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; @@ -264,7 +263,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; @@ -377,18 +375,18 @@ /* End XCConfigurationList section */ /* Begin XCLocalSwiftPackageReference section */ - 09E57CAE2AAB45D40053F4E3 /* XCLocalSwiftPackageReference "../.." */ = { + 09A535BA2AAB5B3D0044B96E /* XCLocalSwiftPackageReference "../.." */ = { isa = XCLocalSwiftPackageReference; relativePath = ../..; }; /* End XCLocalSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ - 09E57CAF2AAB45D40053F4E3 /* Bugsnag */ = { + 09A535BB2AAB5B3D0044B96E /* Bugsnag */ = { isa = XCSwiftPackageProductDependency; productName = Bugsnag; }; - 09E57CB12AAB45D40053F4E3 /* BugsnagNetworkRequestPlugin */ = { + 09A535BD2AAB5B3D0044B96E /* BugsnagNetworkRequestPlugin */ = { isa = XCSwiftPackageProductDependency; productName = BugsnagNetworkRequestPlugin; }; diff --git a/examples/swiftui/swiftui.xcodeproj/project.pbxproj b/examples/swiftui/swiftui.xcodeproj/project.pbxproj index d071da248..bc215a069 100644 --- a/examples/swiftui/swiftui.xcodeproj/project.pbxproj +++ b/examples/swiftui/swiftui.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -376,7 +376,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; @@ -435,7 +434,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; diff --git a/features/fixtures/ios/iOSTestApp.xcodeproj/project.pbxproj b/features/fixtures/ios/iOSTestApp.xcodeproj/project.pbxproj index af196dd77..0022f716a 100644 --- a/features/fixtures/ios/iOSTestApp.xcodeproj/project.pbxproj +++ b/features/fixtures/ios/iOSTestApp.xcodeproj/project.pbxproj @@ -989,7 +989,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; @@ -1047,7 +1046,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; diff --git a/features/fixtures/macos-stress-test/BugsnagStressTest.xcodeproj/project.pbxproj b/features/fixtures/macos-stress-test/BugsnagStressTest.xcodeproj/project.pbxproj index 0262721da..88817748e 100644 --- a/features/fixtures/macos-stress-test/BugsnagStressTest.xcodeproj/project.pbxproj +++ b/features/fixtures/macos-stress-test/BugsnagStressTest.xcodeproj/project.pbxproj @@ -182,7 +182,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; @@ -242,7 +241,6 @@ CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; diff --git a/features/fixtures/macos/macOSTestApp.xcodeproj/project.pbxproj b/features/fixtures/macos/macOSTestApp.xcodeproj/project.pbxproj index 4bba25555..f78806d27 100644 --- a/features/fixtures/macos/macOSTestApp.xcodeproj/project.pbxproj +++ b/features/fixtures/macos/macOSTestApp.xcodeproj/project.pbxproj @@ -994,7 +994,6 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; @@ -1052,7 +1051,6 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; From 740059c19ccf20d4114b9209c55ceca07b74e00a Mon Sep 17 00:00:00 2001 From: Karl Stenerud Date: Wed, 15 Nov 2023 11:36:30 +0100 Subject: [PATCH 3/3] Remove c++ and zlib from podspec file. Note: This breaks macos. DO NOT MERGE. --- Bugsnag.podspec.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/Bugsnag.podspec.json b/Bugsnag.podspec.json index a4018ecd8..560415d38 100644 --- a/Bugsnag.podspec.json +++ b/Bugsnag.podspec.json @@ -41,9 +41,6 @@ "compiler_flags": [ "-fvisibility=hidden" ], - "libraries": [ - "c++", "z" - ], "platforms": { "ios": "9.0", "osx": "10.11",