You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seem that the Xcode Index System and Build System will change the BUILD_DIR to different value, and the copy-xcframeworks.sh only copy the framework to BUILD_DIR when Build Sytem running.
So the Xcode Index System will could not find the framework.
I change to change the PODS_XCFRAMEWORKS_BUILD_DIR in all xcconfig:
Report
What did you do?
I using a pod with a
xcframework
in its podspec:After pod install, xcode build success, but the xcode index system throw a error:
I check the index log:
-F/Users/username/Library/Developer/Xcode/DerivedData/XX-enbejkwbbrxfrvblkydbbmgjooda/
Index.noindex
/Build/Products/Debug
-iphoneos/XCFrameworkIntermediates/XXXXXAnd the build log:
-F/Users/username/Library/Developer/Xcode/DerivedData/XX-enbejkwbbrxfrvblkydbbmgjooda/Build/Products/
InhuseDebug
-iphoneos/XCFrameworkIntermediates/XXXXXAnd the
xcconfig
:It seem that the Xcode Index System and Build System will change the
BUILD_DIR
to different value, and thecopy-xcframeworks.sh
only copy the framework toBUILD_DIR
when Build Sytem running.So the Xcode Index System will could not find the framework.
I change to change the
PODS_XCFRAMEWORKS_BUILD_DIR
in all xcconfig:( I remove the ${CONFIGURATION}, I don't known why the Index System always use the
Debug
, but there is not aDebug
configuration in my project.)It works both Index System and Build System.
CocoaPods Environment
Stack
Installation Source
Plugins
The text was updated successfully, but these errors were encountered: