Open nzcodarnoc opened 1 year ago
Thank you for this work around. We currently have it in the roadmap to make the Identifier layer pluggable, hopefully fixing this issue. We are still working on the priority for this feature. Will update the issue when this feature is added.
Based on testing just now, this patch is still required for v1.0.0
During the build phase, the application is unable to find the
Identifier.mom
file, causing the build to fail.The error message displayed is:
Resource "/Users/conrad/dev/JNCTN-UX/apps/jnctn-mobile/ios/build/Build/Products/Debug-iphonesimulator/WalletLibrary/WalletLibrary.framework/Identifier.mom" not found. Run 'pod install' to update the copy resources script.
To Reproduce
Steps to reproduce the behavior:
use_frameworks! :linkage => :static
pod install
Expected behavior
The
Identifier.mom
file should be correctly located and the build should succeed without any issues.Workaround
Currently, a workaround for this issue involves adding a new "Run Script" phase in the build phases of the
WalletLibrary
target using apost_install
hook in the Podfile.Here is the script:
This script will copy the Identifier.mom file from its generated location to the expected location, resolving the build error.
This is only a workaround, and the issue should ideally be addressed in the core project so that manual intervention is not required.
Environment
WalletLibrary: 0.0.1-beta.2 OS: macOS 13.4 Xcode version: 14.3 Cocoapods version: 1.11.3