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

**URL:** <https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [April 4, 2023, 4:20pm UTC](https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111 "2023-04-04T16:20:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tawanda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tawanda/32/46073_2.png) [@tawanda](https://community.auth0.com/u/tawanda)\
**Post date:** [April 4, 2023, 4:20pm UTC](https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111/1 "2023-04-04T16:20:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![KirkBushman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kirkbushman/32/42643_2.png) [@KirkBushman](https://community.auth0.com/u/KirkBushman)\
**Post date:** [April 8, 2023, 6:11pm UTC](https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111/2 "2023-04-08T18:11:02Z")

</div>

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

```auto
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:

```auto
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)

```

---

<div class="post-metadata">

**Author:** ![KirkBushman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kirkbushman/32/42643_2.png) [@KirkBushman](https://community.auth0.com/u/KirkBushman)\
**Post date:** [April 8, 2023, 6:12pm UTC](https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111/3 "2023-04-08T18:12:14Z")

</div>

@tawanda found a solution?

---

<div class="post-metadata">

**Author:** ![KirkBushman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kirkbushman/32/42643_2.png) [@KirkBushman](https://community.auth0.com/u/KirkBushman)\
**Post date:** [April 8, 2023, 7:21pm UTC](https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111/4 "2023-04-08T19:21:40Z")

</div>

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

> <https://github.com/openid/AppAuth-iOS/issues/759>
>
> \*\*Describe the bug\*\*
> A clear and concise description of what the bug is.
> 
> I r…ecently installed XCode 14.3 Beta to build my Apps for iOS 16.4. I use flutter for development.
> Now i get this error when i try to build the ipa or archieve the app via XCode:
> 
> \`mkdir -p /Users/chris/Library/Developer/Xcode/DerivedData/Runner-hjyvfkwvhrjdsnelaqvdpdxpoyit/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/AppAuth.framework" "/Users/chris/Library/Developer/Xcode/DerivedData/Runner-hjyvfkwvhrjdsnelaqvdpdxpoyit/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks"
> building file list ... rsync: link\_stat "/Users/chris/Downloads/tuduu\_app/ios/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AppAuth.framework" failed: No such file or directory (2)
> done\`
> 
> \*\*To Reproduce\*\*
> Steps to reproduce the behavior:
> 1. Create flutter project with XCode 14.3 Beta installed
> 2. Run 'flutter build ipa' or run Product\>Archieve in XCode
> 
> \*\*Expected behavior\*\*
> The build should run fine and generate the ipa file.
> 
> \*\*Screenshots\*\*
> If applicable, add screenshots to help explain your problem.
> !\[image\](https://user-images.githubusercontent.com/90921702/228348666-5ba5a706-88a4-4a69-9398-34ab86a15044.png)
> 
> \*\*Environment\*\*
> \- Device: \[iPhone 12 \]
> \- OS: \[iOS 16.4 Beta \]
> \- XCode 13.4 Beta

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 14, 2024, 1:06am UTC](https://community.auth0.com/t/failing-to-build-on-flutter-ios-auth0-framework-not-found/104111/5 "2024-11-14T01:06:22Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
