We were using the following build xcframework with xcode 14.3.1:
xcodebuild -create-xcframework \
-framework $PROJECT_DIR/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphoneos/myFramework.framework \
-framework $PROJECT_DIR/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphonesimulator/myFramework.framework \
-output $PROJECT_DIR/output/myFramework.xcframework
However with xCode 15, the build fails with the following error:
error: cannot compute path of binary 'Path(str: "[REDACTED]/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/myFramework.framework/myFramework")' relative to that of '[REDACTED]/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphoneos/myFramework.framework'
How can we solve this?