I just upgraded to Xcode 10, and I suddenly face this error when I try to build, any ideas how to fix it? I tried cleaning derived data, but without any luck.
If you use CocoaPods, click Xcode menu file
-> Workspace Settings
, And click Build system
choice Legacy Build System
If you not use CocoaPods, same of top , select Project Settings
If your app is generating the error related to the multiple .app
files just like mentioned above in question then removing the .plist
files from "Copy bundle Resources" WILL NOT WORK.
If the error is related to .app file then follow the following steps.
Select the Target.
Go to Build Phases
tab.
Output Files
General
Tab in Linked Frameworks and Libraries
that Xcode mentioned in the error.Keep adding these libraries (that Xcode ask through compile errors) in Linked Frameworks and Libraries
until the code compiles successfully.
Hope this helps.
You can try to change the build system to Legacy, File > Workspace Settings > Build System > Legacy Build System.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With