Skip to content

Signing in xcode fails when devtodev imported as git package to UPM on 3.8.5 & 3.9.1 #19

Description

@SuperUnityCoder

Can't reopen old one, so created new issue,

I've tried both versions: 3.8.5 & 3.9.1 and they don't work in XCode when used as UPM.
Error looks same:

Prepare build

SignatureCollection /Users/XXXXX/Library/Developer/Xcode/DerivedData/Unity-iPhone-cielvdlceowxoeeamezlriwcxdkn/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/DTDAnalyticsiOSUnity.xcframework-ios.signature
    cd /Users/XXXXX/Documents/DevToDev391/Unity-iPhone.xcodeproj
    builtin-collectSignature --input /Users/XXXXX/Documents/DevToDev391/Frameworks/com.devtodev.sdk.analytics/Plugins/Analytics/IOS/DTDAnalyticsiOSUnity.xcframework --output /Users/XXXXX/Library/Developer/Xcode/DerivedData/Unity-iPhone-cielvdlceowxoeeamezlriwcxdkn/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/DTDAnalyticsiOSUnity.xcframework-ios.signature --info platform ios --info library iOSUnity.framework

error: signature-collection failed: The operation couldn’t be completed. (XCBUtil.CodeSignatureInfo.Error error 0.)

signature-collection failed: The operation couldn’t be completed. (XCBUtil.CodeSignatureInfo.Error error 0.)

ProcessXCFramework /Users/XXXXX/Documents/DevToDev391/Frameworks/com.devtodev.sdk.analytics/Plugins/Analytics/IOS/DTDAnalyticsiOSUnity.xcframework /Users/XXXXX/Library/Developer/Xcode/DerivedData/Unity-iPhone-cielvdlceowxoeeamezlriwcxdkn/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/iOSUnity.framework ios
    cd /Users/XXXXX/Documents/DevToDev391/Unity-iPhone.xcodeproj
    builtin-process-xcframework --xcframework /Users/XXXXX/Documents/DevToDev391/Frameworks/com.devtodev.sdk.analytics/Plugins/Analytics/IOS/DTDAnalyticsiOSUnity.xcframework --platform ios --target-path /Users/XXXXX/Library/Developer/Xcode/DerivedData/Unity-iPhone-cielvdlceowxoeeamezlriwcxdkn/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos

/Users/XXXXX/Documents/DevToDev391/Frameworks/com.devtodev.sdk.analytics/Plugins/Analytics/IOS/DTDAnalyticsiOSUnity.xcframework:1:1: error: The signature of “DTDAnalyticsiOSUnity.xcframework” cannot be verified.
    note: Codesign verification failed
    note: /Users/XXXXX/Documents/DevToDev391/Frameworks/com.devtodev.sdk.analytics/Plugins/Analytics/IOS/DTDAnalyticsiOSUnity.xcframework: invalid Info.plist (plist or signature have been modified)


/Users/XXXXX/Documents/DevToDev391/Frameworks/com.devtodev.sdk.analytics/Plugins/Analytics/IOS/DTDAnalyticsiOSUnity.xcframework:1:1: The signature of “DTDAnalyticsiOSUnity.xcframework” cannot be verified.

Here are sample unity projects for reproduction:
DevToDev391.zip
DevToDev385.zip

Originally posted by @SuperUnityCoder in #18

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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