Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Sentry.framework instead of Sentry.xcframework #4315

Merged
merged 15 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
env NSUnbufferedIO=YES
xcodebuild
-project Samples/watchOS-Swift/watchOS-Swift.xcodeproj
-scheme "watchOS-Swift WatchKit Extension"
-configuration Debug
CODE_SIGNING_ALLOWED="NO"
build
Expand Down
137 changes: 130 additions & 7 deletions Samples/watchOS-Swift/watchOS-Swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
498CC1A52C9217E20045143E /* Sentry.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 498CC1982C9217D50045143E /* Sentry.framework */; };
7B34280225876DFC00056519 /* Tongariro.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 7B34280125876DFC00056519 /* Tongariro.jpg */; };
7B82C48424C98A93002CA6D1 /* watchOS-Swift WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 7B82C48324C98A93002CA6D1 /* watchOS-Swift WatchKit App.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
7B82C48A24C98A93002CA6D1 /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7B82C48824C98A93002CA6D1 /* Interface.storyboard */; };
Expand All @@ -19,11 +20,59 @@
7B82C4A024C98A95002CA6D1 /* NotificationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B82C49F24C98A95002CA6D1 /* NotificationView.swift */; };
7B82C4A224C98A96002CA6D1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B82C4A124C98A96002CA6D1 /* Assets.xcassets */; };
7B82C4A524C98A96002CA6D1 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B82C4A424C98A96002CA6D1 /* Preview Assets.xcassets */; };
7B82C4C624C993E6002CA6D1 /* Sentry.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B82C4BA24C98CFC002CA6D1 /* Sentry.xcframework */; };
7B82C4C724C993E6002CA6D1 /* Sentry.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7B82C4BA24C98CFC002CA6D1 /* Sentry.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
9273C09E2C89E76B0006FD34 /* Sentry.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9273C09C2C89E76B0006FD34 /* Sentry.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
498CC1972C9217D50045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 63AA759B1EB8AEF500D153DE;
remoteInfo = Sentry;
};
498CC1992C9217D50045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 63AA76651EB8CB2F00D153DE;
remoteInfo = SentryTests;
};
498CC19B2C9217D50045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = D8199DAA29376E9B0074249E;
remoteInfo = SentrySwiftUI;
};
498CC19D2C9217D50045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 8431EFD929B27B1100D8DC56;
remoteInfo = SentryProfilerTests;
};
498CC19F2C9217D50045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 8431F00A29B284F200D8DC56;
remoteInfo = SentryTestUtils;
};
498CC1A12C9217D50045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = D84DAD4D2B17428D003CF120;
remoteInfo = SentryTestUtilsDynamic;
};
498CC1A32C9217DB0045143E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 63AA759A1EB8AEF500D153DE;
remoteInfo = Sentry;
};
7B82C48524C98A93002CA6D1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7B82C47924C98A93002CA6D1 /* Project object */;
Expand Down Expand Up @@ -63,20 +112,21 @@
name = "Embed Watch Content";
runOnlyForDeploymentPostprocessing = 0;
};
7B82C4C824C993E6002CA6D1 /* Embed Frameworks */ = {
9273C09F2C89E76B0006FD34 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
7B82C4C724C993E6002CA6D1 /* Sentry.xcframework in Embed Frameworks */,
9273C09E2C89E76B0006FD34 /* Sentry.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
498CC18E2C9217D50045143E /* Sentry.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Sentry.xcodeproj; path = ../../Sentry.xcodeproj; sourceTree = "<group>"; };
7B34280125876DFC00056519 /* Tongariro.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = Tongariro.jpg; sourceTree = "<group>"; };
7B82C47F24C98A93002CA6D1 /* watchOS-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "watchOS-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; };
7B82C48324C98A93002CA6D1 /* watchOS-Swift WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "watchOS-Swift WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -97,23 +147,38 @@
7B82C4BA24C98CFC002CA6D1 /* Sentry.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Sentry.xcframework; path = libs/Sentry.xcframework; sourceTree = "<group>"; };
7B82C4BF24C99340002CA6D1 /* Sentry.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Sentry.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7B82C4C224C9939A002CA6D1 /* Sentry.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Sentry.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9273C09C2C89E76B0006FD34 /* Sentry.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Sentry.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
7B82C48F24C98A95002CA6D1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
7B82C4C624C993E6002CA6D1 /* Sentry.xcframework in Frameworks */,
498CC1A52C9217E20045143E /* Sentry.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
498CC18F2C9217D50045143E /* Products */ = {
isa = PBXGroup;
children = (
498CC1982C9217D50045143E /* Sentry.framework */,
498CC19A2C9217D50045143E /* SentryTests.xctest */,
498CC19C2C9217D50045143E /* SentrySwiftUI.framework */,
498CC19E2C9217D50045143E /* SentryProfilerTests.xctest */,
498CC1A02C9217D50045143E /* libSentryTestUtils.a */,
498CC1A22C9217D50045143E /* SentryTestUtilsDynamic.framework */,
);
name = Products;
sourceTree = "<group>";
};
7B82C47824C98A93002CA6D1 = {
isa = PBXGroup;
children = (
498CC18E2C9217D50045143E /* Sentry.xcodeproj */,
7B82C48724C98A93002CA6D1 /* watchOS-Swift WatchKit App */,
7B82C49624C98A95002CA6D1 /* watchOS-Swift WatchKit Extension */,
7B82C48024C98A93002CA6D1 /* Products */,
Expand Down Expand Up @@ -169,6 +234,7 @@
7B82C4B524C98AF4002CA6D1 /* Frameworks */ = {
isa = PBXGroup;
children = (
9273C09C2C89E76B0006FD34 /* Sentry.framework */,
7B82C4C224C9939A002CA6D1 /* Sentry.framework */,
7B82C4BF24C99340002CA6D1 /* Sentry.framework */,
7B82C4BA24C98CFC002CA6D1 /* Sentry.xcframework */,
Expand Down Expand Up @@ -221,11 +287,12 @@
7B82C48E24C98A95002CA6D1 /* Sources */,
7B82C48F24C98A95002CA6D1 /* Frameworks */,
7B82C49024C98A95002CA6D1 /* Resources */,
7B82C4C824C993E6002CA6D1 /* Embed Frameworks */,
9273C09F2C89E76B0006FD34 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
498CC1A42C9217DB0045143E /* PBXTargetDependency */,
);
name = "watchOS-Swift WatchKit Extension";
productName = "watchOS-Swift WatchKit Extension";
Expand Down Expand Up @@ -264,6 +331,12 @@
mainGroup = 7B82C47824C98A93002CA6D1;
productRefGroup = 7B82C48024C98A93002CA6D1 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 498CC18F2C9217D50045143E /* Products */;
ProjectRef = 498CC18E2C9217D50045143E /* Sentry.xcodeproj */;
},
);
projectRoot = "";
targets = (
7B82C47E24C98A93002CA6D1 /* watchOS-Swift */,
Expand All @@ -273,6 +346,51 @@
};
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
498CC1982C9217D50045143E /* Sentry.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = Sentry.framework;
remoteRef = 498CC1972C9217D50045143E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
498CC19A2C9217D50045143E /* SentryTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = SentryTests.xctest;
remoteRef = 498CC1992C9217D50045143E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
498CC19C2C9217D50045143E /* SentrySwiftUI.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = SentrySwiftUI.framework;
remoteRef = 498CC19B2C9217D50045143E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
498CC19E2C9217D50045143E /* SentryProfilerTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = SentryProfilerTests.xctest;
remoteRef = 498CC19D2C9217D50045143E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
498CC1A02C9217D50045143E /* libSentryTestUtils.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libSentryTestUtils.a;
remoteRef = 498CC19F2C9217D50045143E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
498CC1A22C9217D50045143E /* SentryTestUtilsDynamic.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = SentryTestUtilsDynamic.framework;
remoteRef = 498CC1A12C9217D50045143E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
7B82C47D24C98A93002CA6D1 /* Resources */ = {
isa = PBXResourcesBuildPhase;
Expand Down Expand Up @@ -318,6 +436,11 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
498CC1A42C9217DB0045143E /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = Sentry;
targetProxy = 498CC1A32C9217DB0045143E /* PBXContainerItemProxy */;
};
7B82C48624C98A93002CA6D1 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7B82C48224C98A93002CA6D1 /* watchOS-Swift WatchKit App */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
allowLocationSimulation = "YES"
notificationPayloadFile = "watchOS-Swift WatchKit Extension/PushNotificationPayload.apns">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1540"
wasCreatedForAppExtension = "YES"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7B82C49124C98A95002CA6D1"
BuildableName = "watchOS-Swift WatchKit Extension.appex"
BlueprintName = "watchOS-Swift WatchKit Extension"
ReferencedContainer = "container:watchOS-Swift.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7B82C48224C98A93002CA6D1"
BuildableName = "watchOS-Swift WatchKit App.app"
BlueprintName = "watchOS-Swift WatchKit App"
ReferencedContainer = "container:watchOS-Swift.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7B82C47E24C98A93002CA6D1"
BuildableName = "watchOS-Swift.app"
BlueprintName = "watchOS-Swift"
ReferencedContainer = "container:watchOS-Swift.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7B82C49124C98A95002CA6D1"
BuildableName = "watchOS-Swift WatchKit Extension.appex"
BlueprintName = "watchOS-Swift WatchKit Extension"
ReferencedContainer = "container:watchOS-Swift.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7B82C49124C98A95002CA6D1"
BuildableName = "watchOS-Swift WatchKit Extension.appex"
BlueprintName = "watchOS-Swift WatchKit Extension"
ReferencedContainer = "container:watchOS-Swift.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
1 change: 0 additions & 1 deletion Sources/Configuration/SDK.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ CLANG_ENABLE_OBJC_ARC = YES
CLANG_ENABLE_MODULES = YES
//OTHER_CFLAGS = -Wall -Wextra -Wpedantic -Wno-gnu-conditional-omitted-operand

ONLY_ACTIVE_ARCH[config=Debug] = YES
denrase marked this conversation as resolved.
Show resolved Hide resolved
GCC_OPTIMIZATION_LEVEL[config=Debug] = 0
COPY_PHASE_STRIP[config=Debug] = NO

Expand Down
Loading