Ios 椰荚罐头';重命名后,我无法识别目标
我一直在使用cocoapod来放置东西,但在我重命名了整个xcode项目之后,当我尝试放置lottie时,cocoapod无法重新识别我重命名的目标,我不知道如何用新的替换目标 这个错误显示在终端中Ios 椰荚罐头';重命名后,我无法识别目标,ios,swift,xcode,cocoapods,Ios,Swift,Xcode,Cocoapods,我一直在使用cocoapod来放置东西,但在我重命名了整个xcode项目之后,当我尝试放置lottie时,cocoapod无法重新识别我重命名的目标,我不知道如何用新的替换目标 这个错误显示在终端中 [!] Unable to find a target named `Infinity Math`, did find `Infinity Math.temp_caseinsensitive_rename`, `Infinity Math.temp_caseinsensitive_renameTes
[!] Unable to find a target named `Infinity Math`, did find `Infinity Math.temp_caseinsensitive_rename`, `Infinity Math.temp_caseinsensitive_renameTests`, and `Infinity Math.temp_caseinsensitive_renameUITests`.
我的吊舱文件
platform :ios, '12.0'
target 'Infinity Math' do
use_frameworks!
pod 'UITextField+Shake', '~> 1.2'
pod 'SPAlert'
pod 'CBFlashyTabBarController'
pod 'Spring', :git => 'https://github.com/MengTo/Spring.git'
pod 'lottie-ios'
target 'InfinityMathTests' do
inherit! :search_paths
end
target 'InfinityMathUITests' do
inherit! :search_paths
end
end
下一步该怎么做才能装入新的pod?为pod文件中的目标指定与Xcode中显示的相同的名称:
target 'Infinity Math' do
target 'Infinity MathTests' do
target 'Infinity MathUITests' do
我已通过将目标重命名为错误中的目标来修复它
InfinityMath.temp\u不区分大小写\u重命名
,
InfinityMath.temp\u不区分大小写\u重命名测试
,InfinityMath.temp\u不区分大小写\u重命名测试
这很奇怪我已经将xcode中的所有名称更改为InfinityMath,但是发生了相同的错误
[!]无法找到名为“InfinityMath”的目标,找到了“InfinityMath.temp\u CaseSensitive\u rename”,“InfinityMath.temp\u CaseSensitive\u renameTests”,和“InfinityMath.temp\u CaseSensitive\u renameUITests”。
我已将目标名称更改为xcode中的名称