Closed ilammy closed 4 years ago
If we are not building macOS targets then the framework has not been created and we not should go ahead with creating symlinks in it. Check whether the framework directory is there, if it’s not then don’t attempt to create symlinks.
This allows to build OpenSSL, say, only for iOS:
./build-libssl.sh --targets="ios-cross-armv7" ./create-openssl-framework.sh dynamic
without failing on skipped macOS framework.
If we are not building macOS targets then the framework has not been created and we not should go ahead with creating symlinks in it. Check whether the framework directory is there, if it’s not then don’t attempt to create symlinks.
This allows to build OpenSSL, say, only for iOS:
without failing on skipped macOS framework.