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?
Post
Replies
Boosts
Views
Activity
Hello, I've noticed, that since Xcode 13 my framework classes references are not working. Even though the project compiles and works, the imported framework and it's classes references could not be found, also autocomplete for the methods is not working. The same behavior is for XCFramework and for the "Fat" framework. Any ideas on how to fix it, should the framework be built differently?