Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting issue for native app swift **DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead** #12075

Open
MKDhakad opened this issue Sep 28, 2023 · 2 comments

Comments

@MKDhakad
Copy link

I have upgrade my Xcode to version 15.0 and got the issue before the i was 14.2 and its was working fine.

DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

My podfile like that below code

platform :ios, '12.2'

target 'Chilll' do
use_frameworks!

pod 'ObjectMapper'
pod 'ReachabilitySwift'
pod 'SwiftEventBus'
pod 'IQKeyboardManagerSwift'
pod 'Lightbox'
pod 'Toast-Swift'
pod 'TOCropViewController'
pod 'ActiveLabel'
pod 'SideMenu'
pod 'DropDown'
pod 'FirebaseMessaging'
pod 'Firebase/DynamicLinks'
pod 'AppCenter'
pod 'AppCenter/Analytics'
pod 'AppCenter/Crashes'
pod 'AppCenter/Distribute'
pod 'TwilioVideo'
pod 'Alamofire'
pod 'SDWebImage'
pod 'UIActivityIndicator-for-SDWebImage'
pod 'Cosmos'
pod 'AzureSpatialAnchors', '2.13.0'
pod 'ADAL'
pod 'Socket.IO-Client-Swift'

end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.2'
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
end

Screenshot 2023-09-28 at 8 52 34 AM
@DikeyKing
Copy link

Upgrade your pod version to v1.13.0

See Xcode 15 Beta 5 fix: Fix build failed due to DT_TOOLCHAIN_DIR for detail

@crsantos
Copy link

1.13.0 has a dependency issue with active_support, please see this post for a temporary workaround

#12098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants