Search code examples
xcodeios-simulator

Application won't start on simulators in Xcode 12


Please tell me, after upgrading to Xcode 12, simulators stopped running

There was an error 'in /Users/.../Pods/MobileVLCKit.framework/MobileVLCKit(VLCEmbeddedDialogProvider.o), building for iOS Simulator, but linking in object file built for iOS, file' /Users/.../Pods/MobileVLCKit /MobileVLCKit.framework/MobileVLCKit 'for architecture arm64'

I found on the Internet a solution to add arm64 to Excluded Architectures using the Any iOS Simulator SDK option, which I did.

Then the same error was only with the i386 architecture, I added it to the exceptions as well (for project purposes and Pods purposes)

Then the same thing with x86_64, added it too

After that the error 'Build input file cannot be found' came out /Users/...Library/Developer/Xcode/DerivedData/SWSTB-asdgdfgbgfbg.../Build/Products/Release-iphonesimulator/MYNAME.app/MYNAME'

I tried to clean DerivedData, but after that either the error was repeated

I don't know how to solve it

It runs fine on a real device, the problem is only with simulators

Updated Xcode to 12.01, updated cocoapods, updated mobilevlckit, error persists


Solution

    • Remove /Library/Developer (the one from root), or rename it and relaunch your Xcode.

    or

    • cmd + shift + opt + k

    or

    • pod update