Skip to content

Commit

Permalink
feat: release 0.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
YoloMao committed Sep 19, 2023
1 parent 3386f82 commit fbba3b3
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 82 deletions.
14 changes: 7 additions & 7 deletions CrashMonitor/GrowingAPMCrashMonitor.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>GrowingAPMCrashMonitor.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -17,34 +17,34 @@
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>GrowingAPMCrashMonitor.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>GrowingAPMCrashMonitor.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions GrowingAPM.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ GrowingAPM提供移动端性能采集分析功能,包括崩溃分析、启动

s.subspec 'CrashMonitor' do |monitor|
monitor.vendored_framework = "CrashMonitor/GrowingAPMCrashMonitor.xcframework"
monitor.resource_bundles = {'GrowingAPMCrashMonitor' => ['CrashMonitor/Resources/GrowingAPMCrashMonitor.bundle/PrivacyInfo.xcprivacy']}
monitor.libraries = 'c++', 'z'
monitor.pod_target_xcconfig = { 'GCC_ENABLE_CPP_EXCEPTIONS' => 'YES' }
monitor.dependency 'GrowingAPM/Core'
Expand Down
13 changes: 7 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let package = Package(
name: "GrowingAPM",
targets: [
"GrowingAPMCore",
"GrowingAPMCrashMonitorWrapper",
"GrowingAPMCrashMonitor",
"GrowingAPMUIMonitor",
]
),
Expand All @@ -39,8 +39,8 @@ let package = Package(
targets: ["GrowingAPMCore"]
),
.library(
name: "GrowingAPMCrashMonitorModule",
targets: ["GrowingAPMCrashMonitorWrapper"]
name: "GrowingAPMCrashMonitor",
targets: ["GrowingAPMCrashMonitor"]
),
.library(
name: "GrowingAPMUIMonitor",
Expand All @@ -58,11 +58,12 @@ let package = Package(
// MARK: - GrowingAPM Wrapper

.target(
name: "GrowingAPMCrashMonitorWrapper",
name: "GrowingAPMCrashMonitor",
dependencies: [
"GrowingAPMCrashMonitor",
"GrowingAPMCrashMonitorFramework",
],
path: "SwiftPM-Wrap/GrowingAPMCrashMonitor-Wrapper",
resources: [.copy("Resources/GrowingAPMCrashMonitor.bundle/PrivacyInfo.xcprivacy")],
cxxSettings: [
.define("GCC_ENABLE_CPP_EXCEPTIONS", to: "YES"),
],
Expand All @@ -75,7 +76,7 @@ let package = Package(
// MARK: - GrowingAPM Binary

.binaryTarget(
name: "GrowingAPMCrashMonitor",
name: "GrowingAPMCrashMonitorFramework",
path: "CrashMonitor/GrowingAPMCrashMonitor.xcframework"
),
.binaryTarget(
Expand Down

0 comments on commit fbba3b3

Please sign in to comment.