From fc402bdb035f4a6eb7b89e097a0be6bf85013aff Mon Sep 17 00:00:00 2001 From: "CaptainDario @ MBP M1" Date: Mon, 25 Sep 2023 22:24:51 +0200 Subject: [PATCH] use local library --- .../macos/Runner.xcodeproj/project.pbxproj | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/example/image_classification_mobilenet/macos/Runner.xcodeproj/project.pbxproj b/example/image_classification_mobilenet/macos/Runner.xcodeproj/project.pbxproj index b677244..c8e3521 100644 --- a/example/image_classification_mobilenet/macos/Runner.xcodeproj/project.pbxproj +++ b/example/image_classification_mobilenet/macos/Runner.xcodeproj/project.pbxproj @@ -21,7 +21,9 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - 10F056172A2696440048D4F3 /* libtensorflowlite_c-mac.dylib in Resources */ = {isa = PBXBuildFile; fileRef = 10E8E4A52A2694F40018CAAE /* libtensorflowlite_c-mac.dylib */; }; + 105D5F082AC223060076A08B /* libtensorflowlite_c-mac.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 105D5F072AC223060076A08B /* libtensorflowlite_c-mac.dylib */; settings = {ATTRIBUTES = (Weak, ); }; }; + 105D5F092AC223610076A08B /* libtensorflowlite_c-mac.dylib in Resources */ = {isa = PBXBuildFile; fileRef = 105D5F072AC223060076A08B /* libtensorflowlite_c-mac.dylib */; }; + 105D5F0A2AC223770076A08B /* libtensorflowlite_c-mac.dylib in Bundle Framework */ = {isa = PBXBuildFile; fileRef = 105D5F072AC223060076A08B /* libtensorflowlite_c-mac.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; @@ -56,6 +58,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 105D5F0A2AC223770076A08B /* libtensorflowlite_c-mac.dylib in Bundle Framework */, ); name = "Bundle Framework"; runOnlyForDeploymentPostprocessing = 0; @@ -64,7 +67,7 @@ /* Begin PBXFileReference section */ 0FB2B856D860682951F2A49A /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 10E8E4A52A2694F40018CAAE /* libtensorflowlite_c-mac.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libtensorflowlite_c-mac.dylib"; path = "../../../macos/libtensorflowlite_c-mac.dylib"; sourceTree = ""; }; + 105D5F072AC223060076A08B /* libtensorflowlite_c-mac.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libtensorflowlite_c-mac.dylib"; path = "../blobs/libtensorflowlite_c-mac.dylib"; sourceTree = ""; }; 153BE0E14A4F1559576ECC09 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 2095119E73A3005490617489 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -106,6 +109,7 @@ buildActionMask = 2147483647; files = ( FF0388022F7D3F56E226BACF /* Pods_Runner.framework in Frameworks */, + 105D5F082AC223060076A08B /* libtensorflowlite_c-mac.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -203,7 +207,7 @@ D73912EC22F37F3D000D13A0 /* Frameworks */ = { isa = PBXGroup; children = ( - 10E8E4A52A2694F40018CAAE /* libtensorflowlite_c-mac.dylib */, + 105D5F072AC223060076A08B /* libtensorflowlite_c-mac.dylib */, E25E70E3688CA016D49B049F /* Pods_Runner.framework */, B593F5A9C3A206486E1B735E /* Pods_RunnerTests.framework */, ); @@ -316,9 +320,9 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 10F056172A2696440048D4F3 /* libtensorflowlite_c-mac.dylib in Resources */, 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, + 105D5F092AC223610076A08B /* libtensorflowlite_c-mac.dylib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -578,6 +582,12 @@ "$(inherited)", "@executable_path/../Frameworks", ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}\"", + /usr/lib/swift, + ../blobs/, + ); PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 5.0; }; @@ -704,6 +714,12 @@ "$(inherited)", "@executable_path/../Frameworks", ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}\"", + /usr/lib/swift, + ../blobs/, + ); PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -724,6 +740,12 @@ "$(inherited)", "@executable_path/../Frameworks", ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}\"", + /usr/lib/swift, + ../blobs/, + ); PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 5.0; };