Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS build crash #322

Closed
1 task done
serolgames opened this issue Dec 4, 2024 · 3 comments · Fixed by #324
Closed
1 task done

IOS build crash #322

serolgames opened this issue Dec 4, 2024 · 3 comments · Fixed by #324

Comments

@serolgames
Copy link

Hello, today I wanted to build my app. I'm using eas with expo, I get the following error :

❌ (node_modules/react-native-compressor/ios/Video/NextLevelSessionExporter.swift:376:69)

374 | for audioTrack in audioTracks {
375 | let mediaSubtypes = audioTrack.formatDescriptions.filter { CMFormatDescriptionGetMediaType($0 as! CMFormatDescription) == kCMMediaType_Audio }.map { CMFormatDescriptionGetMediaSubType($0 as! CMFormatDescription) }

376 | for mediaSubtype in mediaSubtypes where mediaSubtype != kAudioFormatAPAC {
| ^ cannot find 'kAudioFormatAPAC' in scope
377 | audioTracksToUse.append(audioTrack)
378 | }
379 | }

It's quite an urgent issue to solve

Platform

  • iOS

React Native Version

0.74.5

React Native Compressor Version

0.10.1

@gaearon
Copy link

gaearon commented Dec 5, 2024

I suppose maybe it'll get fixed by upgrading Xcode to 16?

gaearon added a commit to bluesky-social/social-app that referenced this issue Dec 5, 2024
This version isn't building for me due to numandev1/react-native-compressor#322.
@gibbz-one
Copy link

Same error here with Expo 51 and Xcode 15.4

@numandev1
Copy link
Owner

can you check 1.10.2 version?

gaearon added a commit to bluesky-social/social-app that referenced this issue Dec 6, 2024
* package upgrades

* upgrade system ui

* update patches

* rename patch

* rm

* use .set/.set

* resolve yarnlock

* fix accidentally removed package

* fix use permissions hook

* fix some type errors

* type fixes

* more tweaking

* clean

* Discard changes to src/screens/Onboarding/StepProfile/index.tsx

* oops

* fix splash

* use ios/android in config

* Fix tests

* add back patch

* add to rn patch

* fullscreen?

* Revert "add to rn patch"

This reverts commit 4716d2c.

* try this

* test with revert

* test

* maybe this

* fix config

* Bump @react-native-picker/picker

* Bump some packages

* Rm unused

* Update lockfile

* Rename expo-notifications+0.29.8.patch.md to expo-notifications+0.29.10.patch.md

* Update react-native+0.76.3.patch.md

* Update react-native+0.76.3.patch.md

* Inline splash configs

Jumping around the file is annoying and makes it harder to understand how this is structured.

* Start fixing Android splash

* Downgrade compressor

This version isn't building for me due to numandev1/react-native-compressor#322.

* Make Android splash empty for now

* Work around a bug

* Bump the compressor

* Bump again

* Include splash fixes

* Try updating

* No custom Android splash

* Revert to using icons

* welp

* Fix sizes

* Make sizing work

* Bump size

---------

Co-authored-by: Dan Abramov <[email protected]>
Signez pushed a commit to Signez/bsky-social-app that referenced this issue Dec 26, 2024
* package upgrades

* upgrade system ui

* update patches

* rename patch

* rm

* use .set/.set

* resolve yarnlock

* fix accidentally removed package

* fix use permissions hook

* fix some type errors

* type fixes

* more tweaking

* clean

* Discard changes to src/screens/Onboarding/StepProfile/index.tsx

* oops

* fix splash

* use ios/android in config

* Fix tests

* add back patch

* add to rn patch

* fullscreen?

* Revert "add to rn patch"

This reverts commit 4716d2c.

* try this

* test with revert

* test

* maybe this

* fix config

* Bump @react-native-picker/picker

* Bump some packages

* Rm unused

* Update lockfile

* Rename expo-notifications+0.29.8.patch.md to expo-notifications+0.29.10.patch.md

* Update react-native+0.76.3.patch.md

* Update react-native+0.76.3.patch.md

* Inline splash configs

Jumping around the file is annoying and makes it harder to understand how this is structured.

* Start fixing Android splash

* Downgrade compressor

This version isn't building for me due to numandev1/react-native-compressor#322.

* Make Android splash empty for now

* Work around a bug

* Bump the compressor

* Bump again

* Include splash fixes

* Try updating

* No custom Android splash

* Revert to using icons

* welp

* Fix sizes

* Make sizing work

* Bump size

---------

Co-authored-by: Dan Abramov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants