tring build app ios, but throws error below

Before posting your question, make sure you’ve read the documentation for both EAS Build & Submit.

If your Android or iOS build is failing- make sure you do your own research on the error message first before posting (this will give you a better understanding, and you might even find that someone else has already solved the issue!) It is not up to the Expo team to debug your project or build.

In your post, please share:

  • Whether you are bare or managed workflow
  • Your eas-cli version >= 4.1.2
  • What you have tried so far
› Packaging expo-image Pods/SDWebImageWebPCoder » libSDWebImageWebPCoder.a

622

› Compiling expo-image Pods/SDWebImageSVGCoder » SDImageSVGCoder.m

623

› Compiling expo-image Pods/SDWebImageAVIFCoder » SDWebImageAVIFCoder-dummy.m

624

› Compiling expo-image Pods/SDWebImageAVIFCoder » SDImageAVIFCoder.m

625

› Packaging expo-image Pods/SDWebImageSVGCoder » libSDWebImageSVGCoder.a

626

› Compiling expo-image Pods/SDWebImageAVIFCoder » Conversion.m

627

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:158:28)

  156 |     state->biasY = (state->yuvRange == AVIF_RANGE_LIMITED) ? (float)(16 << (state->yuvDepth - 8)) : 0.0f;
  157 |     state->biasUV = (float)(1 << (state->yuvDepth - 1));
> 158 |     state->biasA = (image->alphaRange == AVIF_RANGE_LIMITED) ? (float)(16 << (state->yuvDepth - 8)) : 0.0f;
      |                            ^ no member named 'alphaRange' in 'struct avi
  159 |     state->rangeY = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
  160 |     state->rangeUV = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (224 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
  161 |     state->rangeA = (float)((image->alphaRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);

628

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:158:12)

  156 |     state->biasY = (state->yuvRange == AVIF_RANGE_LIMITED) ? (float)(16 << (state->yuvDepth - 8)) : 0.0f;
  157 |     state->biasUV = (float)(1 << (state->yuvDepth - 1));
> 158 |     state->biasA = (image->alphaRange == AVIF_RANGE_LIMITED) ? (float)(16 << (state->yuvDepth - 8)) : 0.0f;
      |            ^ no member named 'biasA' in 'struct avifReformatState'; did you mean 'biasY'?
  159 |     state->rangeY = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
  160 |     state->rangeUV = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (224 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
  161 |     state->rangeA = (float)((image->alphaRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);

629

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:161:37)

  159 |     state->rangeY = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
  160 |     state->rangeUV = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (224 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
> 161 |     state->rangeA = (float)((image->alphaRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
      |                                     ^ no member named 'alphaRange' in 'struct avifImage'; did you mean 'alphaPlane'?
  162 | 
  163 |     uint32_t cpCount = 1 << image->depth;
  164 |     if (state->mode == AVIF_REFORMAT_MODE_IDENTITY) {

630

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:161:12)

  159 |     state->rangeY = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
  160 |     state->rangeUV = (float)((state->yuvRange == AVIF_RANGE_LIMITED) ? (224 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
> 161 |     state->rangeA = (float)((image->alphaRange == AVIF_RANGE_LIMITED) ? (219 << (state->yuvDepth - 8)) : state->yuvMaxChannel);
      |            ^ no member named 'rangeA' in 'struct avifReformatState'; did you mean 'rangeY'?
  162 | 
  163 |     uint32_t cpCount = 1 << image->depth;
  164 |     if (state->mode == AVIF_REFORMAT_MODE_IDENTITY) {

631

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:570:18)

  568 |     if(hasAlpha) { // alpha
  569 |         vImage_Buffer alphaBuffer = {0};
> 570 |         if(avif->alphaRange == AVIF_RANGE_LIMITED) {
      |                  ^ no member named 'alphaRange' in 'struct avifImage'; did you mean 'alphaPlane'?
  571 |             float* floatAlphaBufferData = NULL;
  572 |             floatAlphaBufferData = calloc(avif->width * avif->height, sizeof(float));
  573 |             scaledAlphaBufferData = calloc(avif->width * avif->height, sizeof(uint8_t));

632

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:865:22)

  863 |         float rangeMax = 0.0f;
  864 |         if(avif->depth == 10) {
> 865 |             if(avif->alphaRange == AVIF_RANGE_LIMITED) {
      |                      ^ no member named 'alphaRange' in 'struct avifImage'; did you mean 'alphaPlane'?
  866 |                 offset = 64.0f;
  867 |                 rangeMax = 940.0f;
  868 |             } else {

633

❌  (ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m:873:22)

  871 |             }
  872 |         } else if(avif->depth == 12) {
> 873 |             if(avif->alphaRange == AVIF_RANGE_LIMITED) {
      |                      ^ no member named 'alphaRange' in 'struct avifImage'; did you mean 'alphaPlane'?
  874 |                 offset = 256.0f;
  875 |                 rangeMax = 3760.0f;
  876 |             } else {

634

    Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'DrGray' from project 'DrGray')

635

    Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'DrGray' from project 'DrGray')

636

    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')

637

▸ ** ARCHIVE FAILED **

638

▸ The following build commands failed:

639

▸ 	CompileC /Users/expo/Library/Developer/Xcode/DerivedData/DrGray-hhmvlsyevijdsacywsegkdenpwrf/Build/Intermediates.noindex/ArchiveIntermediates/DrGray/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SDWebImageAVIFCoder.build/Objects-normal/arm64/Conversion.o /Users/expo/workingdir/build/ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'SDWebImageAVIFCoder' from project 'Pods')

640

▸ (1 failure)

641

** ARCHIVE FAILED **

642


643


644

The following build commands failed:

645

	CompileC /Users/expo/Library/Developer/Xcode/DerivedData/DrGray-hhmvlsyevijdsacywsegkdenpwrf/Build/Intermediates.noindex/ArchiveIntermediates/DrGray/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/SDWebImageAVIFCoder.build/Objects-normal/arm64/Conversion.o /Users/expo/workingdir/build/ios/Pods/SDWebImageAVIFCoder/SDWebImageAVIFCoder/Classes/Conversion.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'SDWebImageAVIFCoder' from project 'Pods')

646

(1 failure)

647

Exit status: 65

648


649

+-------------+-------------------------+

650

|           Build environment           |

651

+-------------+-------------------------+

652

| xcode_path  | /Applications/Xcode.app |

653

| gym_version | 2.211.0                 |

654

| sdk         | iPhoneOS16.2.sdk        |

655

+-------------+-------------------------+

656


657

Looks like fastlane ran into a build/archive error with your project

658

It's hard to tell what's causing the error, so we wrote some guides on how

659

to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/

660

Before submitting an issue on GitHub, please follow the guide above and make

661

sure your project is set up correctly.

662

fastlane uses `xcodebuild` commands to generate your binary, you can see the

663

the full commands printed out in yellow in the above log.

664

Make sure to inspect the output above, as usually you'll find more error information there

665


666

[stderr]

[!] Error building the application - see the log above

667

Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

Clean up credentials

1s

Fail build