-
Notifications
You must be signed in to change notification settings - Fork 4
Description
The BundleFileUpdater uses a Run Script the user has to configure in the project's Build Phases settings (cf. README).
The following part of this script gets the file 'BundleFileUpdater.swift' from the disk:
cat "$PODS_ROOT/BundleFileUpdater/BundleFileUpdater/BundleFileUpdater.swift"
Then environment variable $PODS_ROOT is used here to get the path to the directory of this library. There is no Swift Package equivalent environment variable to get the path to the directory of the packages.
A possible solution:
Users have to copy the file 'BundleFileUpdater.swift' into their project and enter the path into the script using the environment variable $SRCROOT, which is the path to the project directory.
@tinora and I discussed this solution and came to the conclusion that the BundleFileUpdater will currently not be updated to a Swift Package since the solution is not good enough. The BundleFileUpdater will be updated once there is a proper solution for this problem is found, or it remains as one of the only used intern libraries using CocoaPods.
In Apple's Swift feedback forum I have created an associated task & I asked on Stackoverflow an according question to this problem