+
Skip to content

"Error 'DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead' in Xcode 15 beta 5" #12012

Closed
@CrazyFanFan

Description

@CrazyFanFan

Report

What did you do?

Build with Xcode15-beta5 after pod install

What did you expect to happen?

Build success.

What happened instead?

Xcode report error:

DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead (in target 'TARGET' from project 'PROJECT')

CocoaPods Environment

Stack

   CocoaPods : 1.12.1
        Ruby : ruby 3.2.2 (2023-03-30 revision e51014f9c0) +YJIT [arm64-darwin22]
    RubyGems : 3.4.10
        Host : macOS 14.0 (23A5301g)
       Xcode : 15.0 (15A5209g)
         Git : git version 2.41.0
Ruby lib dir : /Users/kkk/.rbenv/versions/3.2.2/lib
Repositories : byted-ee-pods_specs - git - git@code.byted.org:ee/pods_specs.git @ 4654662f2693a5c75747137b9ce9a69ee0336fb1

               byted-ios_library-douyin_binary_repo - git - git@code.byted.org:iOS_Library/douyin_binary_repo.git @ 357091377191269087afeecb2d1288bb79cbc66b

               byted-ios_library-douyin_source_repo - git - git@code.byted.org:iOS_Library/douyin_source_repo.git @ 59efb57b9f2d4806657d87f36dda8c900a099f2c

               byted-ios_library-lark_binary_repo - git - git@code.byted.org:iOS_Library/lark_binary_repo.git @ 1820980a9e885c62345ce4b32bcaf21431f6950f

               byted-ios_library-lark_source_repo - git - git@code.byted.org:iOS_Library/lark_source_repo.git @ cbe896b0a9c9c81ea805a57f89c7444ff78ef924

               byted-ios_library-privatethird_binary_repo - git - git@code.byted.org:iOS_Library/privatethird_binary_repo.git @ 8154f8f18e8b8f6037a00fe561cbd57d478f79be

               byted-ios_library-privatethird_source_repo - git - git@code.byted.org:iOS_Library/privatethird_source_repo.git @ 4bb3b9e87aa1b1e5c44687abeebdb96dc882f55d

               byted-ios_library-publicthird_binary_repo - git - git@code.byted.org:iOS_Library/publicthird_binary_repo.git @ 0d2c930e3f0050f65c9e93bebbfbbb94920f22ab

               byted-ios_library-publicthird_source_repo - git - git@code.byted.org:iOS_Library/publicthird_source_repo.git @ 8231f4396071dd6f36044b63ca1f178e2d5c443c

               byted-ios_library-toutiao_binary_repo - git - git@code.byted.org:iOS_Library/toutiao_binary_repo.git @ 3c358125faa07442cfac67e4e2dcd02ba94bbb28

               byted-ios_library-toutiao_source_repo - git - git@code.byted.org:iOS_Library/toutiao_source_repo.git @ b223d06b6bed4bd96ad7991fc5b010eebd2586a5

               byted-lark-pod_master_fork - git - git@code.byted.org:lark/pod_master_fork.git @ 26ec71f2bf79ac2082f8ad50931b31d4a9fd5f19

               byted-ttvideo-ttvideo-pods - git - git@code.byted.org:TTVideo/ttvideo-pods.git @ 054c0da8067c00dc5dda69b3a8589df908145bca

               byted-ugc-awereleasebinaryspecs - git - git@code.byted.org:ugc/AWEReleaseBinarySpecs.git @ 90e1503bb927b17a0cb3ad57a6e648a41a597c86

               byted-ugc-awespecs - git - git@code.byted.org:ugc/AWESpecs.git @ fbaa37a6995b8c0aea49cae099daf444d65db45f

               byted-ugc-ugcspecs - git - git@code.byted.org:ugc/UGCSpecs.git @ 484065c17166b26193f2fb1a15fb4b8a41c0989e

               trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /Users/kkk/.rbenv/versions/3.2.2/bin/pod

Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile

# Uncomment the next line to define a global platform for your project
 platform :ios, '12.0'

target 'Foo' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks! :linkage => :dynamic

  # Pods for Foo
  pod 'Sodium', :path => "./Sodium"
end

Project that demonstrates the issue

Foo.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载