You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装Cocoa Pod失败,提示无法找到目标JustCall

Fixing "Unable to find a target named JustCall" Error

First, let's break down what's happening here—you're hitting this error when running pod install or pod update:

Unable to find a target named JustCall, did find GPUImage and GPUImageFramework

And your Podfile looks like this:

platform :ios, '11.0'
use_frameworks!
target 'JustCall' do
  pod 'TesseractOCRiOS', '4.0.0'
end

Here are the most common fixes to resolve this issue:

  • Double-check your Xcode target name
    The target name in your Podfile must match exactly (including capitalization, spaces, and punctuation) the target name in your Xcode project. Open your .xcodeproj file, look in the left sidebar under "Targets"—if the target is named something slightly different (like justcall with lowercase, or Just Call with a space), update your Podfile to match that exact name.

  • Clean up Pod caches and re-install
    Sometimes old Pod caches can cause mismatches between your Podfile and project targets. Run these commands in your project's root directory (where the Podfile lives):

    pod deintegrate
    pod clean
    pod install
    

    pod deintegrate removes all existing Pod integrations from your project, pod clean clears cached Pod files, and pod install starts fresh.

  • Verify your Xcode project has the JustCall target
    It's possible the JustCall target was accidentally deleted or never created in the first place. Open your Xcode project, go to File > New > Target to create the JustCall target if it's missing, then re-run pod install.

  • Check for conflicting target configurations
    If your project has multiple targets (like the GPUImage ones mentioned in the error), make sure your Podfile isn't accidentally referencing a target that doesn't exist. Double-check that the target 'JustCall' do ... end block is correctly placed and not nested inside another target block.

Give these steps a try—most of the time, it's either a simple name mismatch or a cache issue that's easy to fix!

内容的提问来源于stack exchange,提问作者David Kramf

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 03:55:41