Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

upgrade xcode14 error build: Dependency for P1:target-

enter image description here

Does anyone have the same problem?how to fix it? thanks.

like image 257
ht_ Avatar asked May 29 '26 21:05

ht_


2 Answers

We found this error because we used a colon : in the project's name. Can recreate the error by creating a new Xcode project and naming it anything with a colon : included. Then try to run it on simulator.

like image 83
Wade Sellers Avatar answered May 31 '26 15:05

Wade Sellers


The old project previously had SWIFT_SWIFT3_OBJC_INFERENCE set in buildSettings. Delete this configuration and the project will run normally

like image 31
ht_ Avatar answered May 31 '26 14:05

ht_



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!