Skip to content

RN-iOS GrowingIO 与 Sentry 冲突 #10

@niulinguo

Description

@niulinguo

% pod cache list

Growing:

  • Version: 2.8.8
    Type: Release
    Spec: /Users/ada/Library/Caches/CocoaPods/Pods/Specs/Release/Growing/2.8.podspec.json
    Pod: /Users/ada/Library/Caches/CocoaPods/Pods/Release/Growing/2.8.8-30f5b
    GrowingCoreKit:
  • Version: 2.8.8
    Type: Release
    Spec: /Users/ada/Library/Caches/CocoaPods/Pods/Specs/Release/GrowingCoreKit/2.8.podspec.json
    Pod: /Users/ada/Library/Caches/CocoaPods/Pods/Release/GrowingCoreKit/2.8.8-6ed13
    Sentry:
  • Version: 4.4.3
    Type: Release
    Spec: /Users/ada/Library/Caches/CocoaPods/Pods/Specs/Release/Sentry/4.4.podspec.json
    Pod: /Users/ada/Library/Caches/CocoaPods/Pods/Release/Sentry/4.4.3-14bdd

错误信息
duplicate symbol '_saveState' in:
/Users/ada/WorkSpace/ada-china/ios/Pods/GrowingCoreKit/GrowingIO-iOS-CoreKit/GrowingCoreKit.framework/GrowingCoreKit(GrowingSentryCrashMonitor_AppState.o)
/Users/ada/Library/Developer/Xcode/DerivedData/Ada-dmeovarojyojmqbxdjmmwnitgzzn/Build/Products/Debug-iphonesimulator/Sentry/libSentry.a(SentryCrashMonitor_AppState.o)
duplicate symbol '_loadState' in:
/Users/ada/WorkSpace/ada-china/ios/Pods/GrowingCoreKit/GrowingIO-iOS-CoreKit/GrowingCoreKit.framework/GrowingCoreKit(GrowingSentryCrashMonitor_AppState.o)
/Users/ada/Library/Developer/Xcode/DerivedData/Ada-dmeovarojyojmqbxdjmmwnitgzzn/Build/Products/Debug-iphonesimulator/Sentry/libSentry.a(SentryCrashMonitor_AppState.o)
duplicate symbol '_cString' in:
/Users/ada/WorkSpace/ada-china/ios/Pods/GrowingCoreKit/GrowingIO-iOS-CoreKit/GrowingCoreKit.framework/GrowingCoreKit(GrowingSentryCrashMonitor_System.o)
/Users/ada/Library/Developer/Xcode/DerivedData/Ada-dmeovarojyojmqbxdjmmwnitgzzn/Build/Products/Debug-iphonesimulator/Sentry/libSentry.a(SentryCrashMonitor_System.o)
duplicate symbol '_defaultMaxEvents' in:
/Users/ada/Library/Developer/Xcode/DerivedData/Ada-dmeovarojyojmqbxdjmmwnitgzzn/Build/Products/Debug-iphonesimulator/Sentry/libSentry.a(SentryFileManager.o)
/Users/ada/WorkSpace/ada-china/ios/Pods/GrowingCoreKit/GrowingIO-iOS-CoreKit/GrowingCoreKit.framework/GrowingCoreKit(GrowingSentryFileManager.o)
duplicate symbol '_defaultMaxBreadcrumbs' in:
/Users/ada/Library/Developer/Xcode/DerivedData/Ada-dmeovarojyojmqbxdjmmwnitgzzn/Build/Products/Debug-iphonesimulator/Sentry/libSentry.a(SentryFileManager.o)
/Users/ada/WorkSpace/ada-china/ios/Pods/GrowingCoreKit/GrowingIO-iOS-CoreKit/GrowingCoreKit.framework/GrowingCoreKit(GrowingSentryFileManager.o)
ld: 5 duplicate symbols for architecture x86_64

我同事电脑上GrowingIO版本是2.8.1,ios打包没有这个问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions