0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CompileCエラー対応

Posted at

こんなエラーメッセージが出て困ったら・・・

The following build commands failed:
CompileC
/Users/xxx/xxx/DerivedData/xxx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/PromisesObjC.build/Objects-normal/arm64/FBLPromiseError.o
/Users/xxx/xxx/App/Pods/PromisesObjC/Sources/FBLPromises/FBLPromiseError.m normal
arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'PromisesObjC' from project 'Pods')
CompileC
/Users/xxx/xxx/DerivedData/xxx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/PromisesObjC.build/Objects-normal/arm64/FBLPromise+Validate.o
/Users/xxx/xxx/App/Pods/PromisesObjC/Sources/FBLPromises/FBLPromise+Validate.m
normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'PromisesObjC' from project
'Pods')

(2 failures)

これで解決するらしい

rm -rf ~/Library/Caches/CocoaPods        
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
pod deintegrate
pod setup

今回はcapacitorプロジェクトのせいか、これでは解決しなかったが、
以下にDerivedDataがあったので、これを削除すると解決した。

rm -rf ios/DerivedData
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?