-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
552 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
$(SRCROOT)/Carthage/Build/iOS/Sentry.framework | ||
$(SRCROOT)/Carthage/Build/iOS/Sentry.framework |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Sentry.framework | ||
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Sentry.framework |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
67 changes: 67 additions & 0 deletions
67
Sentry.xcodeproj/xcshareddata/xcschemes/SentryPrivate.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1410" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "D81A3487291D0AC0005A27A9" | ||
BuildableName = "SentryPrivate.framework" | ||
BlueprintName = "SentryPrivate" | ||
ReferencedContainer = "container:Sentry.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "D81A3487291D0AC0005A27A9" | ||
BuildableName = "SentryPrivate.framework" | ||
BlueprintName = "SentryPrivate" | ||
ReferencedContainer = "container:Sentry.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "SentryPrivate" | ||
s.version = "7.30.0" | ||
s.summary = "Sentry Private Library." | ||
s.homepage = "https://github.com/getsentry/sentry-cocoa" | ||
s.license = "mit" | ||
s.authors = "Sentry" | ||
s.source = { :git => "https://github.com/getsentry/sentry-cocoa.git", | ||
:tag => s.version.to_s } | ||
s.social_media_url = 'https://getsentry.com/' | ||
|
||
s.description = <<-DESC | ||
Not for public use. | ||
Common APIs for internal Sentry usage. | ||
DESC | ||
|
||
s.ios.deployment_target = "9.0" | ||
s.osx.deployment_target = "10.10" | ||
s.tvos.deployment_target = "9.0" | ||
s.watchos.deployment_target = "2.0" | ||
s.module_name = "SentryPrivate" | ||
s.frameworks = 'Foundation' | ||
|
||
s.swift_versions = "5.5" | ||
s.watchos.framework = 'WatchKit' | ||
|
||
s.source_files = "Sources/Swift/**/*.{swift}" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
SDKROOT = $(SDKROOT__CARTHAGE_$(CARTHAGE)) // basically, iphoneos (unless «CARTHAGE» == «YES») | ||
// Carthage relies on this assumption, years standing — that SDKROOT is default or explicitly | ||
// set to `macosx` (or equivalent) under the ‘single target, multiple platform’ paradigm | ||
// because of a xcodebuild bug involving the sdk flag and implicit dependency: see «Carthage/Carthage#347». | ||
SDKROOT__CARTHAGE_YES = macosx | ||
// Importantly, the below two lines appease «Xcode.app», and get the UI to show Mac Catalyst destinations. | ||
SDKROOT__CARTHAGE_NO = iphoneos | ||
SDKROOT__CARTHAGE_ = iphoneos | ||
// …in order for ‘single target, multiple platform’ extrapolations to hold true, | ||
// all the above relies on the ability of Xcode GUI, xcodebuild, and Carthage via xcodebuild to | ||
// override «SDKROOT» based on selected destination (particularly for appletv* and watchos* platforms.) | ||
// …if the override behavior ever breaks, expect weird output and the probable need to migrate away from | ||
// the ‘single target, multiple platform’ paradigm. | ||
|
||
// …`SUPPORTED_PLATFORMS`, in service of ‘single target, multiple platform’ extrapolation, must never | ||
// engage in dollar-parentheses syntax — unless that dollar-parentheses basis is | ||
// entirely non-platform–derived, e.g. based upon `XCODE_VERSION_MAJOR`. | ||
// Note: Carthage, unfortunately, as current of v0.34.0 queries rather harshly on the platform values below | ||
// ⋯ quite early in the process, queried values not compiled into Carthage will cause hard errors. | ||
SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator | ||
TARGETED_DEVICE_FAMILY = 1,2,3,4 | ||
SKIP_INSTALL = YES | ||
DEFINES_MODULE = YES | ||
DYLIB_COMPATIBILITY_VERSION = 1 | ||
DYLIB_CURRENT_VERSION = 1 | ||
DYLIB_INSTALL_NAME_BASE = @rpath | ||
MACH_O_TYPE = mh_dylib | ||
FRAMEWORK_VERSION = A | ||
|
||
PRODUCT_NAME = SentryPrivate | ||
CURRENT_PROJECT_VERSION = 7.30.0 | ||
PRODUCT_BUNDLE_IDENTIFIER = io.sentry.SentryPrivate | ||
ALWAYS_SEARCH_USER_PATHS = NO | ||
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 | ||
GCC_OPTIMIZATION_LEVEL[config=Debug] = 0 | ||
COPY_PHASE_STRIP[config=Debug] = NO | ||
|
||
MACOSX_DEPLOYMENT_TARGET = 10.9 | ||
IPHONEOS_DEPLOYMENT_TARGET = 9.0 | ||
WATCHOS_DEPLOYMENT_TARGET = 2.0 | ||
TVOS_DEPLOYMENT_TARGET = 9.0 | ||
|
||
LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks; | ||
LD_RUNPATH_SEARCH_PATHS[sdk=iphone*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks; | ||
LD_RUNPATH_SEARCH_PATHS[sdk=watch*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks; | ||
LD_RUNPATH_SEARCH_PATHS[sdk=appletv*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks; | ||
|
||
OTHER_LDFLAGS[sdk=watch*] = $(inherited) -framework WatchKit | ||
|
||
//SWIFT_INCLUDE_PATHS = $(SRCROOT)/Sources/Sentry | ||
|
||
// SWIFT_VERSION is only recognized by Xcode 8 and higher. | ||
// Prior versions of Xcode support only one Swift version. | ||
// SWIFT_VERSION = 3.1 | ||
|
||
// Although `YES` is the default for iOS targets, command-line output via `xcodebuild -showBuildSettings` | ||
// will not emit this value unless it is explicitly set. | ||
SUPPORTS_MACCATALYST = YES | ||
|
||
CLANG_CXX_LANGUAGE_STANDARD = c++14 | ||
CLANG_CXX_LIBRARY = libc++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef SentrySwift_h | ||
#define SentrySwift_h | ||
|
||
/* | ||
* This is a header to expose Swift code to Objective-C. | ||
* | ||
* Because we use three different package managers | ||
* we need to target the Swift module in different ways. | ||
* | ||
* If the project is being used through SPM, Swift and Objective-C are compiled into separated | ||
* targets, then we use "@import SentrySwift". | ||
* | ||
* CocoaPods combines everything into one target, if the user enables USE_FRAMEWORKS, | ||
* Swift will be available through "#import <Sentry/Sentry-Swift.h>" otherwise "#import | ||
* "Sentry-Swift.h"". | ||
*/ | ||
|
||
@import SentryPrivate; | ||
|
||
#endif |
Oops, something went wrong.