For a react-native project, I am compiling the IOS by running
npx react-native run-ios --configuration Release
it generates an app
file, but then there is no much documentation further in official react documentation. Then I follow the instruction here to generate ipa
file. Then when I upload the ipa
file to transporter for upload, it complains about the provision profile is missing.
I have set the provision profile in Xcode, the question here is that, does following line use the provision profile?
npx react-native run-ios --configuration Release
the reason that I am using react cli instead of Xcode for compiling is due to this linear-gradient library
there has been linking problems with this library, and it complains about
Library not found for -lBVLinearGradient
Originally this problem occurs when I run the react cli release compile and on Xcode as well. but after some unlinking/relinking, it starts to work using react cli but still fail at Xcode. This problem is blocking us to release the app now. So the questions here are now I have a app
file what is the next step to convert it into a ipa
file with provision profile attached? or even better, why is the project have this behaviour that the react cli compile works but not on Xcode, since react cli is just running the Xcode compiler underneath.