Xcode13 was updated as soon as possible, and the emulator ran iPhone 13 Pro Max very quickly, without any problems. Secretly happy in the heart, is another upgrade without feeling. How naive I was!

Everything is wonderful

Happy to do happy things

Always caught off guard at the end

An error

Upgrade the third party library, repair repair warning, develop new features. Everything was perfect. Then pack and carry test. Mistakes fall out of the sky.

It’s kind of confusing. In Xcode12, everything was fine. It is also normal to run the emulator. See the error isParchmentThird-party libraries.

why

Go to Parchment and check to see if anyone else has problems. Found that”Package.swift must be updated if it’s installed via Swift Package Manager”Is similar to what I encountered. Also offers a temporary solution, but it’s not for me. The last to seeAfter three days of searching for a question, I finally got a clear answer. This pan Xcode to back.Xcode13In the “Known Issues” update,

-   Swift libraries may fail to build for iOS targets that use armv7. (74120874)

    **Workaround**: Increase the platform dependency of the package to `v12` or later.
Copy the code

Knowing there is a problem but also released to cheat people, too not kind.

To solve

1. Download Xcode12

I’ll stick with the old version. It’s the safest.

2. Change the project version to iOS12

It depends on the users of the company’s projects. Most large companies have a minimum supported version of iOS9, so don’t mention this solution to the Leader.

Etc etc.

Wait for Xcode13.1.