Failing to build on Flutter iOS - Auth0.framework not found

I am failing to push out iOS releases since a day ago. I have tried reverting changes to my codebase but still not winning. This is the error I keep getting:

" rsync --delete -av --filter P .*.??? --links --filter “- CVS/” --filter “- .svn/” --filter “- .git/” --filter “- .hg/” --filter “- Headers” --filter “- PrivateHeaders” --filter “- Modules”
“…/…/…/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Auth0.framework”
“/Users/tawandabrandon/Library/Developer/Xcode/DerivedData/Runner-gdlibqwsrsbzsvbspfdqzrakfifz/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks”
building file list … rsync: link_stat “/Users/tawandabrandon/GitHub/platform/ios/…/…/…/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Auth0.framework” failed: No such file or directory (2)
done"

Has anyone encountered this? my flutter doctor shows no errors.

1 Like

@tawanda it’s been happening the same to us, here is the error while trying to ‘archive’:

mkdir -p /Users/myself/Library/Developer/Xcode/DerivedData/Runner-etqkegphieovxlcstmdltkrelooo/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Runner.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Auth0.framework" "/Users/myself/Library/Developer/Xcode/DerivedData/Runner-etqkegphieovxlcstmdltkrelooo/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks"
building file list ... rsync: link_stat "/Users/myself/Desktop/appname/ios/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Auth0.framework" failed: No such file or directory (2)
done

sent 29 bytes  received 20 bytes  98.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

while if I force to run the release app I get:

dyld[768]: Library not loaded: @rpath/Auth0.framework/Auth0
  Referenced from: <5F1E2318-7408-3B5E-B9CB-524E5E2EBF0D> /private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Runner
  Reason: tried: '/usr/lib/swift/Auth0.framework/Auth0' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Auth0.framework/Auth0' (no such file), '/private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Frameworks/Auth0.framework/Auth0' (no such file), '/private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Frameworks/Auth0.framework/Auth0' (no such file), '/private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Frameworks/Auth0.framework/Auth0' (no such file), '/usr/lib/swift/Auth0.framework/Auth0' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Auth0.framework/Auth0' (no such file), '/private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Frameworks/Auth0.framework/Auth0' (no such file), '/private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Frameworks/Auth0.framework/Auth0' (no such file), '/private/var/containers/Bundle/Application/72925508-6FEC-43DD-BC4B-C5D408F245E4/Runner.app/Frameworks/Auth0.framework/Auth0' (no such file), '/System/Library/Frameworks/Auth0.framework/Auth0' (no such file, not in dyld cache)

@tawanda found a solution?

Found a solution it’s apparently an issue with XCode 14.3, here you can find a hot fix: