I'm only started work with ios and react native through xcodebuild and command line.I tried build code fro create ipa file from code. How I understudy my first step it's created archive - xcarchive. MacOS 10 Xcode 10 Xcode built and made archive without problems.
xcodebuild -sdk iphoneos -configuration Release -workspace /Users/mobile.xcworkspace -destination id=my_id -derivedDataPath build -scheme mobile -UseNewBuildSystem=NO -CODE_SING_IDENTITY='iPhone Distribution' -PROVISIONING_PROFILE=p_profile -json archive -archivePath $PWD/build/xcarchive
As result my build hangs after rows
bundle: Copying 23 asset files
bundle: Done copying assets.
all time, I tried a lot of variants commands