[Solved] dyld: Library not loaded: /System/Library/Frameworks/Network.framework/Network

Question:

Today’s test brought a low version of iPhone. I ran the project with it and reported the following errors
dyld: Library not loaded: /System/Library/Frameworks/Network.framework/Network
Referenced from: /var/containers/Bundle/Application/CD697C3E-135B-4A33-BA7B-D95D33E24070/巨折.app/巨折

Solution:

Follow the prompts and go to Build Phases -> Link Binary With Libraries and add Network.framework

After running it still reports the same error, then you need to go to Link Bnary With Libraries and set Network to Optional.

Read More: