react-native-sound icon indicating copy to clipboard operation
react-native-sound copied to clipboard

Failue when archiving

Open LCD344 opened this issue 7 years ago • 5 comments

"react-native": "0.54.2", "react-native-sound": "^0.10.9",

Platform: iOS

Whenever I try to archive my app in xcode to upload it I get the following error: clang: error: no such file or directory: '/Users/user134811/Library/Developer/Xcode/DerivedData/RedPager-fiwbsrampqardnfiqojruokxexdf/Build/Intermediates.noindex/ArchiveIntermediates/RedPager/BuildProductsPath/Release-iphoneos/libRNSound.a'

React-native-sound linked then installed manually when that failed. The app builds and run when I do build it normally, it is specifically the archiving that fails. I also see that then file exists there but in a different place: /Users/user134811/Library/Developer/Xcode/DerivedData/RedPager-fiwbsrampqardnfiqojruokxexdf/Build/Intermediates.noindex/ArchiveIntermediates/RedPager/BuildProductsPath/Release-iphoneos/RNSound/libRNSound.a

I have been trying different things for 4 hours now... did anyone else get this? are there any solutions?

Thanks!

LCD344 avatar May 05 '18 21:05 LCD344

I have the same problem. 👎

Carlosp16 avatar Jun 19 '18 15:06 Carlosp16

What version of xcode are you using? @LCD344

mfranceschit avatar Jun 19 '18 15:06 mfranceschit

Solved @LCD344 : When you make the manual linking on Build Phases -> Link Binary With Libraries you can choose between the Pod File of React Native Sound and the file of React Native Sound located on Node Modules. To solve this you can use the file of CocoaPods.

Carlosp16 avatar Jun 20 '18 14:06 Carlosp16

I actually went totally a different way rebuilding the whole project without cocoapods. as they seem to mess many things up.

Thanks for the help though. :)

LCD344 avatar Jun 20 '18 23:06 LCD344

I'm having a similar issue when attempting to build my iOS app on Bitrise. Any solutions out there?

jtich avatar May 14 '20 03:05 jtich