React-native-sound: Failue when archiving

Created on 5 May 2018  路  5Comments  路  Source: zmxv/react-native-sound

"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!

Most helpful comment

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.

All 5 comments

I have the same problem. 馃憥

What version of xcode are you using? @LCD344

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.

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. :)

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

poc7667 picture poc7667  路  4Comments

pawelsas picture pawelsas  路  4Comments

therealproblem picture therealproblem  路  5Comments

tanapats picture tanapats  路  3Comments

viperfx picture viperfx  路  4Comments