GithubHelp home page GithubHelp logo

Comments (8)

tareksabry1337 avatar tareksabry1337 commented on July 17, 2024 2

I have TesnorFlowLiteSwift out, Check it out using this link, It shouldn't have any code signing issues

from tensorflowliteswift.

kewlbear avatar kewlbear commented on July 17, 2024 1

So the issue seems related to https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format. I tried various workarounds but can not get CodeDirectory v=20400 for TensorFlowLiteC frameworks.

from tensorflowliteswift.

tareksabry1337 avatar tareksabry1337 commented on July 17, 2024 1

@kewlbear I was able to fix the code-signing shenanigans in TensorFlowLiteC / TensorFlowLiteCCoreML, I have created a repository that has SPM support for TensorFlowLiteC / TensorFlowLiteCCoreML, here's the link for that I'm eventually going to create TensorFlowLiteSwift as well that mirrors the current releases on TensorFlowLiteC, but one step at time.

from tensorflowliteswift.

kewlbear avatar kewlbear commented on July 17, 2024

Have you seen this? https://developer.apple.com/forums/thread/679182

from tensorflowliteswift.

tomekfab avatar tomekfab commented on July 17, 2024

Yup, I did. I've spent a good amount of time trying to research and resolve this before I created this issue. I've tried adding other dependencies to our project via SPM and none of the other caused this problem except this one, I'm not very fluent in SPM since this is the first time I use it, but I was looking into artifacts in Derived Data and saw that when adding TensorFlowLiteSwift to our project a TensorFlowLiteC.xcframework is created in artifacts, when I added it directly to our project it was automatically added with option Embed & Sign and I had the same issue, only when I changed it to Do Not Embed I was able to run our app on device. Not sure if there's anything to make out of this information but I thought it might be relevant somehow

from tensorflowliteswift.

tabqwertz avatar tabqwertz commented on July 17, 2024

Any updates on this? Thanks!

from tensorflowliteswift.

ardyanrizki avatar ardyanrizki commented on July 17, 2024

I got a similar issue. Any updates?

from tensorflowliteswift.

justbcuz avatar justbcuz commented on July 17, 2024

Same issue, building with Xcode 15.2 to iPhone 13 Pro Max running 17.1.2

Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    DVTErrorCreationDateKey = "2024-01-17 22:10:56 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
    NSURL = "file:///Users/e132740/Library/Developer/Xcode/DerivedData/FaceDetector-bceouumziwzbfpayidvtgaoooytm/Build/Products/Debug-iphoneos/FaceDetector.app/";
}
--
“FaceDetector” Needs to Be Updated
Domain: IXUserPresentableErrorDomain
Code: 17
Failure Reason: The developer of this app needs to update it to work with this version of iOS.
Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.bi1KAJ/extracted/FaceDetector.app/Frameworks/TensorFlowLiteCMetal.framework : 0xe8008029 (The code signature version is no longer supported.)
--
Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.bi1KAJ/extracted/FaceDetector.app/Frameworks/TensorFlowLiteCMetal.framework : 0xe8008029 (The code signature version is no longer supported.)
Domain: MIInstallerErrorDomain
Code: 13
User Info: {
    FunctionName = "+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]";
    LegacyErrorString = ApplicationVerificationFailed;
    LibMISErrorNumber = "-402620375";
    SourceFileLine = 78;
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone14,3";
    "device_osBuild" = "17.1.2 (21B101)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.40.14.100.2";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 3349;
    "operation_errorCode" = 17;
    "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3002.IXUserPresentableErrorDomain";
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.2";
    "sdk_osVersion" = "17.2";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 13.6 (Build 22G120)
Xcode 15.2 (22503) (Build 15C500b)
Timestamp: 2024-01-17T16:10:56-06:00```

from tensorflowliteswift.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.